var page_width = screen.width;
var scrOffset = 24;
if (screen.width <= 1024) scrOffset=50;
if (screen.width > 1024) scrOffset=250;
if (screen.width > 1280) { scrOffset=350}
page_width = page_width - scrOffset;
//l_offset=(screen.width)?(screen.width-page_width)/2:100; // #left {padding-left:"+l_offset+"px;} 
mn=page_width;
cont_width=mn-140;
//document.write("W:"+page_width+" All W:" +screen.width+" offset:"+scrOffset+" wrap:"+cont_width);
document.write ("<style type=\"text/css\" media=\"screen\">#wrapper, #footer, #cont1, #top {width: "+mn+"px;} #cont {width: "+cont_width+"px;}</style>");