document.write (''); var timer; function chS (v1,v2) { v3=Math.abs (v2-v1); v4=1; if (v3>10) v4=5; if (v3>20) v4=10; if (v3>50) v4=20; if (v3>200) v4=50; if (v3>500) v4=100; if ((v2-v1)>0) return v4 else return -v4; } function moveAdv () { needX=(document.body.offsetWidth>>3)+document.body.scrollLeft; needY=(document.body.offsetHeight>>3)+document.body.scrollTop; var linkBlock=document.getElementById('newLink'); oldX=linkBlock.offsetLeft; oldY=linkBlock.offsetTop; if (oldY!=needY) linkBlock.style.top=oldY+chS (oldY,needY); if (oldX!=needX) linkBlock.style.left=oldX+chS (oldX,needX); if ((oldX==needX)&&(oldY==needY)) clearInterval (timer); } function moveLink() { if (newLink.style.display=='') { clearInterval (timer); timer=setInterval ('moveAdv()',50); } } window.onscroll = moveLink;