function smothe_move() {
var n;
var dot;
var window_size=100;
var scrolly=0;

NS4Plus = (document.layers) ? 1 : 0;
IE4Plus = (document.all) ? 1 : 0;

if (NS4Plus) {
   window_size  = window.innerHeight;
        scrolly = window.pageYOffset;
}
if (IE4Plus) {
/* The script must be inside the body tags - there is no body in the head of the document */
   window_size = document.body.clientHeight;
        scrolly = document.body.scrollTop;

}
else 
 {
     window_size  = window.innerHeight;
     scrolly = window.pageYOffset;
  };



var fudge=350;
target_y=getOffsetTop(document.bottom_dot)-360;
 if (window_size +scrolly-fudge < (target_y)) {
         target_y=scrolly+window_size-fudge;
     };
//if (target_y>scrolly+fudge){target_y=scrolly+fudge;};
target_x=getOffsetLeft(document.bottom_dot)+21;
left_y=getOffsetTop(document.lefttext);

if ( left_y == target_y)
   { 
     return; // don't bother if it's there already
   };
  
     dot = document.getElementById('lefttext');
     dot.style.top = left_y+((target_y-left_y)/5) + "px";
     dot.style.left = target_x + "px";

};

function getOffsetTop (el) {
 var ot = el.offsetTop;
 while((el = el.offsetParent) != null)
 ot += el.offsetTop;
 return ot;
}



function getOffsetLeft (el) {
var ol = el.offsetLeft;
 while ((el = el.offsetParent) != null)
 ol += el.offsetLeft;
 return ol;
}


