 var delta = 0.15 
    var collection; 
    function floaters() { 
        this.items  = []; 
        this.addItem  = function(id,x,y,content) 
                  { 
                    document.write('<DIV id='+id+' style="Z-INDEX: 999; POSITION: absolute;  width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>'); 
                     
                    var newItem   = {}; 
                    newItem.object = document.getElementById(id); 
                    newItem.x  = x; 
                    newItem.y  = y; 

                    this.items[this.items.length]  = newItem; 
                  } 
        this.play  = function() 
                  { 
                    collection  = this.items 
                    setInterval('play()',10); 
                  } 
        } 
        function play() 
        { 

            for(var i=0;i<collection.length;i++) 
            { 
                var followObj  = collection[i].object; 
                var followObj_x  = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x); 
                var followObj_y  = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y); 

                if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) { 
                    var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta; 
                    dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx)); 
                    followObj.style.left=followObj.offsetLeft+dx; 
                    } 

                if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) { 
                    var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta; 
                    dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy)); 
                    followObj.style.top=followObj.offsetTop+dy; 
                    } 
                followObj.style.display  = ''; 
            } 
        }     
         
    var theFloaters  = new floaters(); 
    theFloaters.addItem('followDiv1','document.body.clientWidth-120',120,'<TABLE cellSpacing=0 cellPadding=0 border=0><TBODY><TR><TD><TABLE width=112 height=180  background="images/kf.gif" border=0><tr><td height="22">Chat</td><td height="22">Online</td></tr><tr><td align="center"><img style="border-style: none;" src="http://messenger.services.live.com/users/27d04d72aa851d75@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /></td><td><a href="msnim:chat?contact=edward00320@hotmail.com" style="color:#000">Edward&nbsp;Ye</a></td></tr><tr><td align="center"><img style="border-style: none;" src="http://messenger.services.live.com/users/ede06ed51162e299@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /></td><td><a href="msnim:chat?contact=Zhongzhengdemsn@hotmail.com" style="color:#000">Zhongzheng</a></td></tr><tr><td align="center"><img style="border-style: none;" src="http://messenger.services.live.com/users/d95ed904a79e9f50@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /></td><td><a href="msnim:chat?contact=rupertzhang80@hotmail.com" style="color:#000">Rupert</a></td></tr><tr><td align="center"><img style="border-style: none;" src="http://messenger.services.live.com/users/1035d73fae18d90e@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /></td><td><a href="msnim:chat?contact=zhongxiuming@hotmail.com" style="color:#000">Iris</a></td></tr><tr><td colspan="2" align="center" valign="middle"><script type="text/javascript" src="http://settings.messenger.live.com/controls/1.0/PresenceButton.js"></script><div id="Microsoft_Live_Messenger_PresenceButton_27d04d72aa851d75" msgr:width="100" msgr:backColor="#82C2EE"  msgr:altBackColor="#FFFFFF" msgr:foreColor="#424542" msgr:conversationUrl="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=27d04d72aa851d75@apps.messenger.live.com&mkt=zh-cn"></div><script type="text/javascript" src="http://messenger.services.live.com/users/27d04d72aa851d75@apps.messenger.live.com/presence?dt=&mkt=zh-cn&cb=Microsoft_Live_Messenger_PresenceButton_onPresence"></script></td></tr><tr ><td></td><td align="right" height="14">contact us&nbsp;</td></tr></TABLE></TD></TR><TR><TD><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>'); //ÓÒ²à
    //theFloaters.addItem('followDiv2',10,20,'content2'); //×ó²à
    theFloaters.play(); 