var page_width = screen.width;
var scrOffset = 10;
//if (screen.width <1024)  scrOffset=0;
if (screen.width >= 1024) scrOffset=45;
if (screen.width >= 1152) scrOffset=55;
if (screen.width >=1280) { scrOffset=340}
if (screen.width >=1600) { scrOffset=460}
page_width = page_width - scrOffset;
//l_offset=(screen.width)?(screen.width-page_width)/2:100; // #left {padding-left:"+l_offset+"px;} 
cont_width=page_width-145;
mn=page_width;
//document.write("W:"+page_width+" All W:" +screen.width+" offset:"+scrOffset+" wrap:"+wr_width);
document.write ("<style type=\"text/css\" media=\"screen\">#wrapper, #footer, #top, #upnav {width: "+page_width+"px;} #cont {width: "+cont_width+"px;} #main {width:"+mn+"px;}</style>");
