var rightbar;
var coupletcode;
//rightbar = window.screen.width-130;

coupletcode = "<DIV id=leftbar style='LEFT:10px;POSITION:absolute;TOP:80px;text-align:center;VISIBILITY:hidden;' width=130>32</div><DIV id=rightbar style='float:right;right:10px;POSITION: absolute;text-align:center; TOP: 80px; VISIBILITY: hidden' width=130>32</div>";

if (window.screen.width>=1024)
{
document.write(coupletcode);
}

function InsertCouplet()
{
if (window.screen.width>=1024){	
document.getElementById("leftbar").style.visibility = "visible";
document.getElementById("rightbar").style.visibility = "visible";

document.getElementById("leftbar").innerHTML = "<div style=width:100px;height:300px;><a href=http://www.51bxg.com/advMonitor.aspx?id=qmz&url=http://www.metalbulletin.com/events/1241/Asia-Pacific/Iron-and-Steel/Intro/5th-Asian-Stainless-Steel-Conference.html?LS=%25%25MRWEN%25%25 target=_blank><img style=z-index:0 src=http://img.51bxg.com/51/img/2010/plan-ASS-qmz.jpg width=100 height=300></a></div><a onclick=JavaScript:closebar(); href=# style=width:100px;height:20px;line-height:20px;display:block;background:#DDD;font-weight:bold;>¹Ø±Õ</a>";
document.getElementById("rightbar").innerHTML = "<div style=width:100px;height:300px;><a href=http://www.51bxg.com/advMonitor.aspx?id=qmz&url=http://www.metalbulletin.com/events/1241/Asia-Pacific/Iron-and-Steel/Intro/5th-Asian-Stainless-Steel-Conference.html?LS=%25%25MRWEN%25%25 target=_blank><img style=z-index:0 src=http://img.51bxg.com/51/img/2010/plan-ASS-qmz.jpg width=100 height=300></a></div><a onclick=JavaScript:closebar(); href=# style=width:100px;height:20px;line-height:20px;display:block;background:#DDD;font-weight:bold;>¹Ø±Õ</a>";

}
}
	InsertCouplet();
	function leftBG_DoFSCommand(command,args){
		if (command == "quit"){
			document.all.leftbar.style.visibility = "hidden";
			document.all.rightbar.style.visibility = "hidden";
		}
	}
	function rightBG_DoFSCommand(command,args){
		leftBG_DoFSCommand(command,args);
	}

	function closebar(){
			document.all.leftbar.style.visibility = "hidden";
			document.all.rightbar.style.visibility = "hidden";
	}

	<!--
	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");
	}
	//-->