// 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); 
document.write ("<style>")
document.write ("#linkHolder {position:relative; margin:0 auto 0 auto; width:771px; height:1px;}")
document.write ("#SAlink {position:absolute; width:200px; height:40px; right:-65px; top:-25px; cursor:pointer;}")

document.write ("</style>")
if (this.isIE && this.versionMinor >= 4) {
                        document.write ("<style>")
						document.write ("#sanofiLeft {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/sanofiTop_left.png',sizingMethod='scale'); height:29px; position:relative; top:35px  }") 
						document.write ("#sanofiLine {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/sanofiTop1.png',sizingMethod='scale'); width:719px; height:28px; position:relative; top:35px;}")
						document.write ("#sanofiLogo {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/sanofiTop2.png',sizingMethod='scale'); width:236px; height:59px; position:relative; top:35px;}") 
						document.write ("#sanofiRight {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/sanofiTop_right.png',sizingMethod='scale'); height:29px; position:relative; top:35px  }")
                        if(is_ie6)
                        {
                           document.write ("#topshadow {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/TopShadow.png',sizingMethod='scale'); position:absolute; z-index:50; background-repeat:no-repeat; height:62px; width:955px;}")
						}
						document.write ("#navback {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/NavBkgd.png',sizingMethod='scale'); background-repeat:no-repeat; height:74px; width:758px; float:left;  }")
						document.write ("</style>")
}           

else{
                        document.write ("<style>")
						document.write ("#sanofiLeft { background-image:url(images/sanofiTop_left.png); height:29px; background-repeat:repeat-x; position:relative; top:35px}") 
						document.write ("#sanofiLine {background-image:url(images/sanofiTop1.png); width:719px; height:28px; position:relative; top:35px; background-position:right; background-repeat:no-repeat}")
						document.write ("#sanofiLogo { background-image:url(images/sanofiTop2.png);background-repeat:no-repeat; width:236px; height:59px; position:relative; top:35px; margin-left:auto; margin-right:auto}") 
						document.write ("#sanofiRight { background-image:url(images/sanofiTop_right.png); height:29px; background-repeat:repeat-x; position:relative; top:35px}") 
						//document.write ("#topshadow {background-image:url(images/TopShadow.png); background-repeat:no-repeat; position:relative; z-index:50; height:62px; width:955px;}")
						document.write ("#navback {background-image:url(images/NavBkgd.png); background-repeat:no-repeat; height:74px; width:758px; float:left;}")

                        document.write ("</style>")
}           
     


