var header=$('header'); if(isSafari){ var xolairIsSafari=$('xolairBody'); if(xolairIsSafari){//safari3 isSafari3=true; isSafari2=false; }else{ isSafari3=false; isSafari2=true; } } if(isIE){ var headerTextHCP=$('headerTextHCP'); if(headerTextHCP){ headerTextHCP.style.position="relative"; headerTextHCP.style.top="-3px"; } if(fontId==1)header.style.marginTop="-15px"; if(fontId==2)header.style.marginTop="-17px"; if(fontId==3)header.style.marginTop="-21px"; } // var xolairBody=$('xolairBody'); var xolairBody=document.body; if(xolairBody && header){ if (isSafari){ // xolairBody.style.width=(screen.width-17)+"px"; // header.style.width=(screen.width-17)+"px"; }else{ // xolairBody.style.width=(screen.width-17)+"px"; // header.style.width=(screen.width-17)+"px"; } } if(isSafari3){ xolairBody.style.background="transparent url(/images/bg.jpg) repeat 5px 0px"; }