// common
var ua = navigator.userAgent.toLowerCase(); 
this.ua= ua;
this.isIE        = ( (ua.indexOf("msie") != -1) && (ua.indexOf("opera") == -1) && (ua.indexOf("webtv") == -1) ); 
this.versionMinor = parseFloat(navigator.appVersion); 
if (this.isIE && this.versionMinor >= 4) {
	    
	    document.write ("<style>")
	    document.write (".logo {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/gliadel_logo.png',sizingMethod='scale'); height:41px; width:219px; position:relative; left:40px; top:20px; float:left; background-repeat:no-repeat;}") 
		document.write (".patients_btn {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/patients_btn_red.png',sizingMethod='scale'); height:28px; width:157px; background-repeat:no-repeat;}")
		document.write (".hcp_btn {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp_btn.png',sizingMethod='scale'); height:28px; width:157px; background-repeat:no-repeat;}")
		document.write (".search_btn {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/go_btn.png',sizingMethod='scale'); height:22px; width:31px; background-repeat:no-repeat;}")
		/*document.write (".introback {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/intro_back.png',sizingMethod='scale'); height:239px; width:783px; background-repeat:no-repeat; margin-left:107px;}")*/
		document.write (".introbottom {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/intro_bottom.png',sizingMethod='scale'); height:21px; width:783px; background-repeat:no-repeat; margin-left:27px;}")
		document.write (".innersuccessstoriesheader {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/video_inner_png.png',sizingMethod='scale'); height:165px; width:146px; background-repeat:no-repeat; padding:14px 0 0 14px;}")
	    document.write ("</style>")
	    
}           

else{
	    
	    document.write ("<style>")
	    document.write (".logo { background-image:url("+window.root+"images/gliadel_logo.png); height:41px; width:219px; position:relative; left:40px; top:20px; float:left; background-repeat:no-repeat;}") 
		document.write (".patients_btn { background-image:url("+window.root+"images/patients_btn_red.png); height:28px; width:157px; background-repeat:no-repeat;}") 
		document.write (".hcp_btn { background-image:url("+window.root+"images/hcp_btn.png); height:28px; width:157px; background-repeat:no-repeat;}") 
		document.write (".search_btn { background-image:url("+window.root+"images/go_btn.png); height:22px; width:31px; background-repeat:no-repeat;}") 
		/*document.write (".introback { background-image:url("+window.root+"images/intro_back.png); height:239px; width:783px; background-repeat:no-repeat; margin-left:107px;}") */
		document.write (".introbottom { background-image:url("+window.root+"images/intro_bottom.png); height:21px; width:783px; background-repeat:no-repeat; margin-left:27px;}")
		document.write (".innersuccessstoriesheader { background-image:url("+window.root+"images/video_inner_png.png); height:165px; width:146px; background-repeat:no-repeat; padding:14px 0 0 14px;}") 
	    document.write ("</style>")
	    
}             
     
function openWin( windowURL, windowName, windowFeatures) {
     window.open( windowURL, windowName, windowFeatures ) ;
}
function exitSite(destination)
{
	openWin(window.root+'exitsite.aspx?url=' + destination ,'winDisclaimer','scrollbars=no,resizable=yes,width=800,height=350');
}
function openLink(url)
{
	MM_openBrWindow_(url,'winLink','resizable=yes');
}
function MM_openBrWindow_(theURL,winName,features) { 
  window.open(theURL,winName,features);
}