var to1;
var to2;
a=0
b=0
c=0
d=0
h=0
i=0 

function cc() {
   to2 = setInterval('bb()',10);
}

function bb() {
   clearInterval(to2);
   document.onmousemove = uu;
   to1 = setInterval('mov2()',10);
}

function uu() {
   c=8 + window.event.clientY + document.body.scrollTop
   d=8 + window.event.clientX + document.body.scrollLeft 

}


function mov2() {

   if(a<=c){
      h=(c-a)/15
      a=a+h
   }
   if(a>=c){
      h=(a-c)/15
      a=a-h
   }

   if(b<=d){
      i=(d-b)/15
      b=b+i
   }
   if(b>=d){
      i=(b-d)/15
      b=b-i
   }

   document.all["cur"].style.top=
   a+ "px";
   document.all["cur"].style.left =
   b+ "px";

}

