// sanofi header

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 ("#sanofiLeft {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/sanofiTop_left.png',sizingMethod='scale'); height:29px; position:relative; background-repeat:repeat-x; top:35px;}") 
	    document.write ("#sanofiLogo {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/sanofiTop.png',sizingMethod='scale'); width:790px; height:59px; position:relative; top:35px;}") 
	    document.write ("#sanofiRight {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/sanofiTop_right.png',sizingMethod='scale'); height:29px; position:relative; top:35px;}")
	    /*
	    document.write ("#homevoucher {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/voucher_btn.png',sizingMethod='scale'); margin-top:14px; background-repeat:no-repeat; width:265px; height:30px;}")
	    document.write ("#homevoucher a:hover{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+window.root+"images/voucher_btn_over.png',sizingMethod='scale');}")
	    */
	    document.write ("</style>")
}           

else{
	    document.write ("<style>")
	    document.write ("#sanofiLeft { background-image:url("+window.root+"images/sanofiTop_left.png); height:29px; background-repeat:repeat-x; position:relative; background-repeat:repeat-x; top:35px;}") 
	    document.write ("#sanofiLogo { background-image:url("+window.root+"images/sanofiTop.png);background-repeat:no-repeat; width:790px; height:59px; position:relative; top:35px; margin-left:auto; margin-right:auto;}") 
	    document.write ("#sanofiRight { background-image:url("+window.root+"images/sanofiTop_right.png); height:29px; background-repeat:repeat-x; position:relative; top:35px;}") 
	    /*
	    document.write ("#homevoucher { background-image:url("+window.root+"images/voucher_btn.png); width:265px; background-repeat:no-repeat; margin-top:14px; height:30px;}") 
	    document.write ("#homevoucher a:hover{ background-image:url("+window.root+"images/voucher_btn_over.png);}") 
	   */
	    document.write ("</style>")
}           
     




function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


var symptomstext = "<table><tr><td>* Feeling of incomplete bladder emptying<br>* Delay and difficulty in initiating a urinary stream<br>* Stopping and starting while urinating<br>* Weak urinary stream<br>* Dribbling at the end of urination</td><td width=42>&nbsp;</td><td>* Pushing or straining while urinating<br>* Feeling of little warning when the urge of urination develops<br>* Frequent urination with short intervals<br>* Need to urinate during the night<br>* Inability to hold back urine</td></tr></table>";
var uroxatraltext = "UROXATRAL is an alpha1-blocker for the treatment of the signs and symptoms of BPH. And it's only available by prescription from your doctor. BPH is very common. While men younger than 40 are rarely affected, it affects around 50% of men over age 50 and nine out of ten men 70+.<br><br>Unlike some other BPH treatments, UROXATRAL does not shrink the prostate. As an alpha-blocker, UROXATRAL works by relaxing the smooth muscle located at the bladder neck and around the prostate, relieving symptoms and improving urine flow.<br><br>UROXATRAL is a once-daily oral medication that provides relief of the signs and symptoms of BPH regardless of age (51-85) or prostate size.";
var bphtext = "BPH stands for Benign Prostatic Hyperplasia, commonly known as enlarged prostate, found only in males. As men age, the prostate may begin to enlarge. As its size increases, the prostate squeezes the urethra, potentially stopping or slowing the flow of urine and semen. This growth of the prostate may cause symptoms of BPH.<br>";

function textInheader(txt, color) { document.getElementById('textheaderswap').innerHTML = txt;
document.getElementById('textheaderswap').style.color = color;}


function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}   
