﻿
document.write("<DIV id=divStayTopright style='Z-INDEX: 10; left:880px; POSITION: absolute; TOP: 300px;'>");
document.write("<table width=110 border=0 cellspacing=0 cellpadding=0 bgcolor=#ffffff>");			
document.write("<tr><td>");
document.write("<img src=images/qq_top.gif>");
document.write("</td></tr>");

document.write("<tr><td align=center height=24>");
document.write("<a href=tencent://message/?uin=305500566><img border=0 src=http://wpa.qq.com/pa?p=1:305500566:8 width=51 height=16></a>");
document.write("</td></tr>");document.write("<tr><td align=center height=24>");
document.write("<a href=tencent://message/?uin=1021082100><img border=0 src=http://wpa.qq.com/pa?p=1:1021082100:8 width=51 height=16></a>");
document.write("</td></tr>");document.write("<tr><td align=center height=24>");
document.write("<a href=tencent://message/?uin=914025418><img border=0 src=http://wpa.qq.com/pa?p=1:914025418:8 width=51 height=16></a>");
document.write("</td></tr>");document.write("<tr><td align=center height=24>");
document.write("<a href=tencent://message/?uin=181939330><img border=0 src=http://wpa.qq.com/pa?p=1:181939330:8 width=51 height=16></a>");
document.write("</td></tr>");

document.write("<tr><td>");
document.write("<img src=images/qq_bottom.gif>");
document.write("</td></tr>");
document.write("</table>");
document.write("</DIV>");

lastScrollY=0;
function heartBeat(){
diffY=document.body.scrollTop;
percent=.3*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.divStayTopleft.style.pixelTop+=percent;
document.all.divStayTopright.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
function hide()  
{   
divStayTopleft.style.visibility="hidden"; 
divStayTopright.style.visibility="hidden";
}
window.setInterval("heartBeat()",1);