 var scrollStat = true;
 position_start = 0;
 lastScrollY = 0;
 NS = (document.layers) ? 1 : 0;
 IE = (document.all) ? 1 : 0;
 OP = ((document.getElementById) && (navigator.appName == "Opera")) ? 1 : 0;
 NSSECHS = ((document.getElementById) && (navigator.appName == "Netscape")) ? 1 : 0;
 if (IE) {
   position = document.all.floater.style.pixelTop;
 }
 if (OP) {
   position = document.getElementById("floater").style.pixelTop;
 }
 if (NS) {
   position_start = 15;
   position = document.floater.top;
 }

 function abstand()
 {
   if ( scrollStat == false ) return;
   if (IE) { diffY = document.body.scrollTop; }
   if (NS) { diffY = self.pageYOffset; }
   if (OP) { diffY =  document.getElementsByTagName("body") [0] .scrollTop; }

   if (diffY != lastScrollY) {
 
  percent = .1 * (diffY - lastScrollY);

  if (percent > 0) percent = Math.ceil(percent);
     else percent = Math.floor(percent);

     if (IE) {
       position += percent;
       document.all.floater.style.pixelTop = position + position_start ;
     if (document.all.floater.style.pixelTop < 50){
     document.all.floater.style.pixelTop = 50;
  }

  }
     if (OP) {
       position += percent;
       document.getElementById("floater").style.PixelTop = position + position_start;
     }
     if (NS) {
       position += percent;
       document.floater.top = position + position_start;
     }
  lastScrollY = lastScrollY + percent;
     }
 }
 if (NS || IE || OP ) action = window.setInterval("abstand()",1);
