document.write('<div id="live_img" style="POSITION: absolute; "><div id="floatChat" style="Z-INDEX: 1; LEFT: 942px; WIDTH: 25px; POSITION: absolute; TOP: 10px; HEIGHT: 120px;"><a href="/pages/wxwz/wxwz_ex.jsp"><img src="/images/float_div.gif" border="0"></a></div></div>');

lastScrollYChat=0;
function floatDiv(){
 var diffY;
 if (document.documentElement && document.documentElement.scrollTop)
 diffY = document.documentElement.scrollTop;
 else if (document.body)
 diffY = document.body.scrollTop
 else{/*Netscape stuff*/}

 percent=.1*(diffY-lastScrollYChat);
 if(percent>0)percent=Math.ceil(percent);
 else percent=Math.floor(percent);
 document.getElementById("floatChat").style.top=parseInt(document.getElementById("floatChat").style.top)+percent+"px";
 lastScrollYChat=lastScrollYChat+percent;
}
setTimeout(function(){window.setInterval("floatDiv()",1);}, 1500);