// JavaScript Document

lastScrollY = 0;
	function heartBeat(){
	var diffY;
	if (document.documentElement && document.documentElement.scrollTop)
	diffY = document.documentElement.scrollTop;
	else if (document.body)
	diffY = document.body.scrollTop
	else
	{/*Netscape stuff*/}
	//alert(diffY);
	percent=.1*(diffY-lastScrollY);
	if(percent>0)percent=Math.ceil(percent);
	else percent=Math.floor(percent);
	//document.getElementById("leftDiv").style.top = parseInt(document.getElementById("leftDiv").style.top)+percent+"px";
	document.getElementById("rightDiv").style.top = parseInt(document.getElementById("rightDiv").style.top)+percent+"px";
	lastScrollY=lastScrollY+percent;
	//alert(lastScrollY);
	}
	//下面这段删除后，对联将不跟随屏幕而移动。
	window.setInterval("heartBeat()",1);
	//-->
	//关闭按钮
	function close_left1(){
		left1.style.visibility='hidden';
	}
	function close_left2(){
		left2.style.visibility='hidden';
	}
	function close_right1(){
		right1.style.visibility='hidden';
	}
	function close_right2(){
		right2.style.visibility='hidden';
	}
	//------左侧各块开始
	/*document.writeln("<style type=\"text\/css\">");
	document.writeln("#leftDiv{width:212px;height:100px;position:absolute;}");
	document.writeln(".itemFloat{width:212px;height:auto;line-height:5px}");
	document.writeln("<\/style>");
	document.writeln("<div id=\"leftDiv\" style=\"top:100px;left:10px\">");
    document.writeln("<div id=\"left1\" class=\"itemFloat\" style='WIDTH: 100px; TOP: 80px; HEIGHT: 188px;font-size:12px;'>");
    document.writeln("<br><div align='right'><a href=\"javascript:close_left1();\" title=\"关闭\"><img src='images/gb.gif' border=0><\/a>&nbsp;</div>");
    document.writeln("<table width='100' border='0' cellspacing='0' cellpadding='0'>");
	document.writeln("<tr>");
	document.writeln("<td height='35' style='background:url(images/qq.gif) no-repeat'>&nbsp;</td>");
	document.writeln("</tr>");
	document.writeln("<tr>");
	document.writeln("<td height='5' style='background:url(images/qq.gif) no-repeat 0 -50px'></td>");
	document.writeln("</tr>");
	
	 

	
	document.writeln("<tr>");
	document.writeln("<td height='35' style='background:url(images/qq.gif) no-repeat 0 -165px'></td>");
	document.writeln("</tr>");
	
    document.writeln("</table>");
    document.writeln("<\/div>");
	document.writeln("<\/div>");*/
	
  
	//------右侧各块开始
	document.writeln("<style type=\"text\/css\">");
	document.writeln("#rightDiv{width:84px;height:auto;position:absolute;z-index:100;}");
	document.writeln(".itemFloat{width:84px;height:auto;line-height:5px;}");
	document.writeln("<\/style>");
	document.writeln("<div id=\"rightDiv\" style=\"top:137px;left:125px\">");
	document.writeln("<div id=\"right1\" class=\"itemFloat\" style='WIDTH: 110px; TOP: 188px;font-size:12px;'>")
	document.writeln("<br><div align='right' style=\"height:10px;\"><a href=\"javascript:close_right1();\"  title=\"关闭\">关闭<\/a>&nbsp;</div>");
	document.writeln("<table width='110' border='0' cellspacing='0' cellpadding='0'>");
	document.writeln("<tr>");
	document.writeln("<td height='50' style='background:url(../www/Tpl/default/Public/images/xm.gif) no-repeat'>&nbsp;</td>");

	document.writeln("<tr>");
	document.writeln("<td height='30' style='padding-left:10px;background:url(../www/Tpl/default/Public/images/xm.gif) no-repeat 0 -30px'><img src=http://wpa.qq.com/pa?p=1:1031076166:17 height=17 border=0 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='tencent://message/?uin=1031076166&Site=北京伟恒通达科技发展有限公司&Menu=yes' title=广州.客服'><font color=#FF0000;>广州.客服</font></a></td>");
    document.writeln("</tr>");
	
	document.writeln("<tr>");
	document.writeln("<td height='30' style='padding-left:10px;background:url(../www/Tpl/default/Public/images/xm.gif) no-repeat 0 -30px'><img src=http://wpa.qq.com/pa?p=1:1533530091:17 height=17 border=0 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='tencent://message/?uin=1533530091&Site=北京伟恒通达科技发展有限公司&Menu=yes' title='南京.客服'><font color=#FF0000;>南京.客服</font></a></td>");
    document.writeln("</tr>");
	
	document.writeln("<tr>");
	document.writeln("<td height='30' style='padding-left:10px;background:url(../www/Tpl/default/Public/images/xm.gif) no-repeat 0 -30px'><img src=http://wpa.qq.com/pa?p=1:1831879953:17 height=17 border=0 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='tencent://message/?uin=1831879953&Site=北京伟恒通达科技发展有限公司&Menu=yes' title='总公司.客服'><font color=#FF0000;>总公司.客服</font></a></td>");
    document.writeln("</tr>");
	
	document.writeln("<tr>");
	document.writeln("<td height='30' style='background:url(../www/Tpl/default/Public/images/xm.gif) no-repeat 0 -170px'></td>");
	document.writeln("</tr>");
	
