function clientwindow(){
var div_id=document.all.page_div_sl.value
//个性页面设置参数
//a4_bidding_right
//alert(div_id)
var a4_bidding_right = document.getElementById("a4_bidding_right"); 
if (a4_bidding_right!=null)
{
if (document.body.clientWidth>=800||window.screen.Width>=1024)
	{
		a4_bidding_right.style.width=document.body.scrollWidth-257;
	}
else
	{
		a4_bidding_right.style.width=779-257;
	}
}
//web_right
var web_right = document.getElementById("web_right"); 
if (web_right!=null)
{
	//alret(document.all.web_right.contentWindow.document.all.content.style.width)
	if (document.body.clientWidth>=800||window.screen.Width>=1024)
	{
		web_right.width=document.body.scrollWidth-261;
	}
	else
	{
		web_right.width=779-261;
	}
	
    //dzgg_content
    if (document.all.web_right.contentWindow.document.all.dzgg_content!=null)
    {
        var dzgg_content = document.all.web_right.contentWindow.document.all.dzgg_content;
	    if (document.body.clientWidth>=800||window.screen.Width>=1024)
	    {
//		    document.all.web_right.contentWindow.document.all.dzgg_content.style.width=document.body.scrollWidth-275;
            dzgg_content.style.width=document.body.scrollWidth-275;
	    }
	    else
	    {
//		    document.all.web_right.contentWindow.document.all.dzgg_content.style.width=779-275;
            dzgg_content.style.width=779-275;
	    }
    }
    //content
    if (document.all.web_right.contentWindow.document.all.content!=null)
    {
	    if (document.body.clientWidth>=800||window.screen.Width>=1024)
	    {
		    document.all.web_right.contentWindow.document.all.content.style.width=document.body.scrollWidth-261;
	    }
	    else
	    {
		    document.all.web_right.contentWindow.document.all.content.style.width=779-261;
	    }
    }

}
//公共部分自适应页面参数设置
if (document.body.clientWidth<800||window.screen.Width<1024)
	{
		for (i=1;i<=div_id ;i++ )
		{
			var e=eval("document.all.a"  +  i);
			e.style.width=779;
		}
	}
else
	{
		if (document.body.clientWidth>=800||window.screen.Width>=1024)
		{
			for (i=1;i<=div_id ;i++ )
			{
				var e=eval("document.all.a"  +  i);
				e.style.width=document.body.clientWidth;
			}
		}
	}
}

