﻿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("lovexin14").style.top=parseInt(document.getElementById("lovexin14").style.top)+percent+"px";

lastScrollY=lastScrollY+percent;
//alert(lastScrollY);
}

suspendcode14 = "<div id=\"lovexin14\" style='left:10px;position:absolute;top:200px;'><a href=JavaScript:; onclick=\"lovexin14.style.visibility='hidden'\"><img border=0 src=images/close.gif></a>";
suspendcode14 += "<table border='0' width='200px' height='171px' background='images/float.jpg'>";
suspendcode14 += "<tr><td colspan='2' height='70px'>&nbsp;</td></tr>";
suspendcode14 += "<tr><td align='center'><a target=blank href='tencent://message/?uin=453622758&Site=www.ruiduomei.com.cn&Menu=yes'><img border='0' SRC=http://wpa.qq.com/pa?p=1:453622758:1 alt='在线客服帮助'></a></td><td align='center'><a target=blank href='tencent://message/?uin=740786330&Site=www.ruiduomei.com.cn&Menu=yes'><img border='0' SRC=http://wpa.qq.com/pa?p=1:740786330:1 alt='在线客服帮助'></a></td></tr>";
suspendcode14 += "<tr><td align='center'><a target=blank href='tencent://message/?uin=741403918&Site=www.ruiduomei.com.cn&Menu=yes'><img border='0' SRC=http://wpa.qq.com/pa?p=1:741403918:1 alt='在线客服帮助'></a></td><td align='center'><a target=blank href='tencent://message/?uin=851137206&Site=www.ruiduomei.com.cn&Menu=yes'><img border='0' SRC=http://wpa.qq.com/pa?p=1:851137206:1 alt='在线客服帮助'></a></td></tr>";
suspendcode14 += "<tr><td align='center'><a target=blank href='tencent://message/?uin=972626119&Site=www.ruiduomei.com.cn&Menu=yes'><img border='0' SRC=http://wpa.qq.com/pa?p=1:302866582:1 alt='在线客服帮助'></a></td><td align='center'><a target=blank href='tencent://message/?uin=553815526&Site=www.ruiduomei.com.cn&Menu=yes'><img border='0' SRC=http://wpa.qq.com/pa?p=1:553815526:1 alt='在线客服帮助'></a></td></tr>";
suspendcode14 += "</table></div>"
document.write(suspendcode14); 
window.setInterval("heartBeat()",1);