//家装导航条
document.writeln("<div id=\"ad\" style=\"right:2px;POSITION:absolute;TOP:480px;Z-INDEX:110;\">");
document.writeln("<table cellpadding=0 cellspacing=0 width=\"300px\" height=\"100px\">");
document.writeln("	<tr>");
document.writeln("		<td style=\"background:#D41213\" valign=\"top\"><img src=\"http:\/\/www.0518zsw.cn\/images\/1111.gif\" alt=\"点击关闭\" border=\"0\" style=\"cursor:hand\" onClick=\"javascript:document.getElementById(\'ad\').style.display=\'none\';\" \/><\/td>");
document.writeln("		<td>");
document.writeln("			<iframe src=\"http:\/\/www.0518zsw.cn\/ad.asp\" width=280 height=116 marginwidth=0 marginheight=0 frameborder=0 scrolling=no><\/iframe>");
document.writeln("		<\/td>");
document.writeln("	<\/tr>");
document.writeln("<\/table>");
document.writeln("<\/div>");

lastScrollY2=0;
function heartBeat2(divId)
{ 
	var diffY;
	var divAd = document.getElementById(divId);
	if (document.documentElement && document.documentElement.scrollTop)
		diffY = document.documentElement.scrollTop;
	else if (document.body)
		diffY = document.body.scrollTop
	percent=.1*(diffY-lastScrollY2); 
	if(percent>0) 
		percent=Math.ceil(percent); 
	else 
		percent=Math.floor(percent); 
	divAd.style.top=parseInt(divAd.style.top)+percent+"px";
	lastScrollY2=lastScrollY2+percent; 
}
// 右边

window.setInterval("heartBeat2('ad')",1);

// 防复制代码 by heesey 08.1.9
document.body.oncopy = function () { setTimeout( function () { var text = clipboardData.getData("text"); if (text) { text = text + "\r\n 连云港装饰网："+location.href; clipboardData.setData("text", text); } }, 100 ) }
