var rightbar;
var rightbar1;
var coupletcode;
var coupletcode1;
rightbar = window.screen.width-132;
rightbar1 = window.screen.width-129;

coupletcode = "<DIV id=sidebar style='LEFT: 10px; POSITION: absolute; TOP: 100px; VISIBILITY: hidden;' width=180>32</div><DIV id=sidebar2 style='LEFT: " + rightbar + "px; POSITION: absolute; TOP: 100px; VISIBILITY: hidden' width=117>32</div>";
coupletcode1 = "<DIV id=sidebar style='LEFT: 10px; POSITION: absolute; TOP: 100px; VISIBILITY: hidden;' width=180>32</div><DIV id=sidebar2 style='LEFT: " + rightbar1 + "px; POSITION: absolute; TOP: 100px; VISIBILITY: hidden' width=117>32</div>";

if (window.screen.width>=1024)
{
document.write(coupletcode);
}
else if (window.screen.width>=800)
{
document.write(coupletcode1);
}

function InsertCouplet()
{
if (window.screen.width>=1024){	
document.all.sidebar.style.visibility = "visible";
document.all.sidebar2.style.visibility = "visible";
document.all.sidebar.innerHTML = "<IFRAME  border=0 name=top marginWidth=0 frameSpacing=0 marginHeight=0  src=qq.htm frameBorder=0 noResize width=110  scrolling=no height=320 vspale=0></IFRAME>";
document.all.sidebar2.innerHTML = "";
}

else if(window.screen.width>=800){	
document.all.sidebar.style.visibility = "visible";
document.all.sidebar2.style.visibility = "visible";
document.all.sidebar.innerHTML = "<a href=hd_list.htm target=_blank><img src=images/duilian.jpg width=100 height=460 border=0 /></a>";
document.all.sidebar2.innerHTML = "<IFRAME  border=0 name=top marginWidth=0 frameSpacing=0 marginHeight=0  src=qq.htm frameBorder=0 noResize width=110  scrolling=no height=320 vspale=0></IFRAME>";

}
}

	InsertCouplet();
	function leftFFG_DoFSCommand(command,args){
		if ((command == "online")&&(args =="hidecouplet")){
			document.all.sidebar.style.visibility = "hidden";
			document.all.sidebar2.style.visibility = "hidden";
		}
	}
	function youFFG_DoFSCommand(command,args){
		leftFFG_DoFSCommand(command,args);
	}
	<!--
	if (document.all){
		document.write("<Script language=\"JavaScript\" For=\"youFF\" Event=\"FSCommand(command,args)\">\n");
		document.write("	leftFFG_DoFSCommand(command,args);\n");
		document.write("</Script>\n");

		document.write("<Script language=\"JavaScript\" For=\"leftFF\" Event=\"FSCommand(command,args)\">\n");
		document.write("	leftFFG_DoFSCommand(command,args);\n");
		document.write("</Script>\n");
	}
	//-->