// 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/hcp/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/hcp/patients_btn.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/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/hcp/go_btn.png',sizingMethod='scale'); height:22px; width:31px; background-repeat:no-repeat;}")
		/*document.write (".introcontent {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/intro_back.png',sizingMethod='scale'); background-repeat:no-repeat; width:734px; float:left; background-color:#fff9ed; padding:32px 0 0 36px; font-size:12px; line-height:18px;}")*/
		document.write (".introbottom {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/intro_bottom.png',sizingMethod='scale'); height:21px; width:770px; background-repeat:no-repeat;}")
		document.write (".innercontentbottom {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/intro_bottom.png',sizingMethod='scale'); height:21px; width:770px; margin-left:40px; background-repeat:no-repeat;}")
		document.write (".leftcol_top {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/leftcol_top.png',sizingMethod='scale'); height:18px; width:170px; background-repeat:no-repeat;}")
		document.write (".leftcol_bottom {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/leftcol_bottom.png',sizingMethod='scale'); height:22px; width:170px; background-repeat:no-repeat;}")
		document.write (".innercallout_bottom {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/innercallout_bottom.png',sizingMethod='scale');  height:14px; width:160px; background-repeat:no-repeat;}")
		
		/*document.write (".leftnavback {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/navitem.png',sizingMethod='scale');  width:113px; height:23px; background-repeat:no-repeat; padding:12px 0 1px 36px; color:#ab0534;}")
		document.write (".leftnavback_on {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/hcp/navitem_over.png',sizingMethod='scale');  width:113px; height:23px; background-repeat:no-repeat; padding:12px 0 1px 36px; color:#2e3360;}")*/
	    
	    document.write ("</style>")
}           

else{
	    document.write ("<style>")
	    document.write (".logo { background-image:url("+window.root+"images/hcp/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/hcp/patients_btn.png); height:28px; width:157px; background-repeat:no-repeat;}") 
		document.write (".hcp_btn { background-image:url("+window.root+"images/hcp/hcp_btn.png); height:28px; width:157px; background-repeat:no-repeat;}") 
		document.write (".search_btn { background-image:url("+window.root+"images/hcp/go_btn.png); height:22px; width:31px; background-repeat:no-repeat;}") 
		/*document.write (".introcontent { background-image:url("+window.root+"images/hcp/intro_back.png); height:239px; width:770px; background-repeat:no-repeat; margin-left:27px;}") */
		document.write (".introbottom { background-image:url("+window.root+"images/hcp/intro_bottom.png); height:21px; width:770px; background-repeat:no-repeat;}") 
		document.write (".innercontentbottom { background-image:url("+window.root+"images/hcp/intro_bottom.png); height:21px; width:770px; margin-left:40px; background-repeat:no-repeat;}") 
		document.write (".leftcol_top { background-image:url("+window.root+"images/hcp/leftcol_top.png);  height:18px; width:170px; background-repeat:no-repeat;}") 
		document.write (".leftcol_bottom { background-image:url("+window.root+"images/hcp/leftcol_bottom.png);  height:22px; width:170px; background-repeat:no-repeat;}") 
		document.write (".innercallout_bottom { background-image:url("+window.root+"images/hcp/innercallout_bottom.png);  height:14px; width:160px; background-repeat:no-repeat;}") 
		
		/*document.write (".leftnavback { background-image:url("+window.root+"images/hcp/navitem.png);  width:113px; height:23px; background-repeat:no-repeat; padding:12px 0 1px 36px; color:#ab0534;}") 
		document.write (".leftnavback_on { background-image:url("+window.root+"images/hcp/navitem_over.png);  width:113px; height:23px; background-repeat:no-repeat; padding:12px 0 1px 36px; color:#2e3360;}") */
	    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) { //v2.0
  window.open(theURL,winName,features);
}
function closeWin( windowURL ) {
	window.close( windowURL );
}
function openPopUpWindow(url1) {
alert(applicationRoot);
	window.open(applicationRoot + '/hcp/popup/'+ url1, url1, 'width=484,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=1,scrollBars=1,resizable=1');
}