var rightbar;
var coupletcode;
rightbar = window.screen.width-150+24;

coupletcode = "<DIV id=leftbar style='LEFT: 10px; POSITION: absolute; TOP: 50px; VISIBILITY: hidden;' width=95>32</div><DIV id=rightbar style='LEFT: " + rightbar + "px; POSITION: absolute; TOP: 50px; VISIBILITY: hidden' width=95>32</div>";

if (window.screen.width>=1024)
{
	document.write(coupletcode);
}

function InsertCouplet()
{
	if (document.body.clientWidth<=900)
	{
		document.all.leftbar.style.visibility = "hidden";
		document.all.rightbar.style.visibility = "hidden";
	}
	else
	{
		if (window.screen.width>=1024){	
		document.all.rightbar.style.left=document.body.clientWidth/2+389+8;
		document.all.leftbar.style.left=document.body.clientWidth/2-389-8-95;
		document.all.leftbar.style.visibility = "visible";
		document.all.rightbar.style.visibility = "visible";
		
		document.all.leftbar.innerHTML = "<a href='http://www.beierltd.com' target='_blank'><img src='image/2007/vip/be.gif' width='95' height='200' border='0'><br><br><a href='http://www.piju.com.cn/yellowpage/infoindex.asp?ID=59865' target='_blank'><img src='image/2007/vip/jy.gif' width='95' height='85' border='0'><br><br><a href='http://www.piju.com.cn/yellowpage/infoindex.asp?id=60452' target='_blank'><img src='image/2007/vip/xy.gif' width='95' height='85' border='0'><br><br><a href='http://www.piju.com.cn/ad/bosifang/' target='_blank'><img src='image/2007/vip/bsf.gif' width='95' height='85' border='0'><br><br><a href='http://www.piju.com.cn/ad/Lenavi' target='_blank'><img src='ad/2009/Lenavi.gif' width='95' height='85' border='0'>";
		//document.all.rightbar.innerHTML = "<a href='http://www.biege168.com/main.asp' target='_blank'><img src='image/2007/vip/gg.gif' width='95' height='200' border='0'><br><br><a href='http://www.piju.com.cn/ad/fsl' target='_blank'><img src='image/2008/fslad.gif' width='95' height='200' border='0'><br><br><a href='http://www.kucunbaobao.com' target='_blank'><img src='image/2007/vip/szx.gif' width='95' height='85' border='0'><br><br><a href='http://www.xianghuiwujin.com' target='_blank'><img src='image/2008/vip/xianghuiwujin.gif' width='95' height='85' border='0'>";
		//document.all.rightbar.innerHTML = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='95' height='200'><param name='movie' value='/ad/2009/tsdn.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><embed src='/ad/2009/tsdn.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='95' height='200'></embed></object><br><br><a href='http://www.piju.com.cn/ad/fsl' target='_blank'><img src='image/2008/fslad.gif' width='95' height='200' border='0'><br><br><a href='http://www.kucunbaobao.com' target='_blank'><img src='image/2007/vip/szx.gif' width='95' height='85' border='0'><br><br><a href='http://www.xianghuiwujin.com' target='_blank'><img src='image/2008/vip/xianghuiwujin.gif' width='95' height='85' border='0'>";
		document.all.rightbar.innerHTML = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='95' height='200'><param name='movie' value='/ad/2009/tsdn.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><embed src='/ad/2009/tsdn.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='95' height='200'></embed></object><br><br><a href='http://www.piju.com.cn/yellowpage/infoindex.asp?ID=51857' target='_blank'><img src='image/2010/yawei.gif' width='95' height='200' border='0'><br><br><a href='http://www.kucunbaobao.com' target='_blank'><img src='image/2007/vip/szx.gif' width='95' height='85' border='0'><br><br><a href='http://www.xianghuiwujin.com' target='_blank'><img src='image/2008/vip/xianghuiwujin.gif' width='95' height='85' border='0'>";
		
		}
	}
}
		InsertCouplet();
		function leftBG_DoFSCommand(command,args){
			if ((command == "163")&&(args =="hidebar")){
				document.all.leftbar.style.visibility = "hidden";
				document.all.rightbar.style.visibility = "hidden";
			}
		}
		function rightBG_DoFSCommand(command,args){
			leftBG_DoFSCommand(command,args);
		}
		<!--
		if (document.all){
			document.write("<Script language=\"JavaScript\" For=\"rightB\" Event=\"FSCommand(command,args)\">\n");
			document.write("	leftBG_DoFSCommand(command,args);\n");
			document.write("</Script>\n");
			document.write("<Script language=\"JavaScript\" For=\"leftB\" Event=\"FSCommand(command,args)\">\n");
			document.write("	rightBG_DoFSCommand(command,args);\n");
			document.write("</Script>\n");
		}
		//-->