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("lovexin12").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";

lastScrollY=lastScrollY+percent; 
//alert(lastScrollY);
}
suspendcode12="<DIV id=\"lovexin12\" style='left:10px;POSITION:absolute;TOP:100px;z-index:100'>";
var recontent='<div id="online">'+'<TABLE cellSpacing=0 cellPadding=0 width=110 border=0>'+
'<TBODY> '+
'<TR>'+
'<TD valign="top"><img src="qq/images/qq_01.gif" alt="" width="110" height="42" border="0" /></td></tr>'+
'<TR>'+
'<TD><table width="110" border="0" cellpadding="0" cellspacing="0"><TR valign="top">'+
'<TD width="14"><img src="qq/images/qq_02.gif" width="14" height="27" alt="" /></td>'+
'<TD width="20">'+
'<a href="tencent://message/?uin=395187713&amp;Site=http://qbar.edu.qq.com/hcgod/&amp;Menu=yes" target="_blank">'+
'<img src="qq/images/qq_03.gif" alt="" width="20" height="27" border="0" /></a></td>'+
'<TD><img src="qq/images/qq_04.gif" alt="" width="76" height="27" border="0" /></td></tr><TR valign="top">'+
'<TD><img src="qq/images/qq_05.gif" alt="" width="14" height="27" border="0" /></td>'+
'<TD>'+
'<a href="tencent://message/?uin=6267545&amp;Site=http://qbar.edu.qq.com/hcgod/&amp;Menu=yes" target="_blank">'+
'<img src="qq/images/qq_06.gif" alt="" width="20" height="27" border="0" /></a></td>'+
'<TD><img src="qq/images/qq_07.gif" alt="" width="76" height="27" border="0" /></td></tr><TR valign="top">'+
'<TD><img src="qq/images/qq_08.gif" alt="" width="14" height="27" border="0" /></td>'+
'<TD>'+
'<a href="tencent://message/?uin=398657861&amp;Site=http://qbar.edu.qq.com/hcgod/&amp;Menu=yes" target="_blank">'+
'<img src="qq/images/qq_09.gif" alt="" width="20" height="27" border="0" /></a></td>'+
'<TD><img src="qq/images/qq_10.gif" alt="" width="76" height="27" border="0" /></td></tr></table></td></tr>'+
'<TR>'+
'<TD valign="top"><img src="qq/images/qq_11.gif" alt="" width="110" height="57" border="0" /></td></tr>'+
'</TBODY></TABLE>'+
'</div>';

document.write(suspendcode12); 
document.write(recontent); 
document.write("</div>"); 
window.setInterval("heartBeat()",1);