var page_width = screen.width;
var scrOffset = 24;
if (screen.width > 1024) scrOffset=250;
if (screen.width > 1280) { scrOffset=400}
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-230;
//document.write("W:"+page_width+" All W:" +screen.width+" offset:"+scrOffset);
document.write ("<style type=\"text/css\" media=\"screen\">#wrapper, #footer,  #foot_det, #top, #upnav {width: "+page_width+"px;} #cont {width: "+cont_width+"px;}</style>");
