     
		self.onError=null;
        
        currentX = currentY = 0;  
        whichIt = null;           
		IE=0;
		NS=0;
        lastScrollY = 0;
//comeco comum
         if (navigator.appName == "Netscape") {
				layerRef="document.layers";
				styleSwitch="";
				visibleVar="show";
				pxSwitch="";
				cooTopo=".top";
    			cooLeft=".left";
				NS = 1;
        }else{ 
				layerRef="document.all";
				styleSwitch=".style";
				visibleVar="visible";
				pxSwitch="px";
				cooTopo=".pixelTop";
				cooLeft=".pixelLeft";										
				IE = 1;
				document.all.floater.style.pixelTop = 120;
				
		}

//fim comum   
        function heartBeat() {
     		

            if(IE) { diffY = document.body.scrollTop; }
            if(NS) { diffY = self.pageYOffset; }
                
                if(diffY != lastScrollY) {
                        percent = .1 * (diffY - lastScrollY);
                        if(percent > 0) percent = Math.ceil(percent);
                        else percent = Math.floor(percent);
                                        if(IE) document.all.floater.style.pixelTop += percent;
                                        if(NS) document.floater.top += percent; 
                        lastScrollY = lastScrollY + percent;
            }
   
        }
      
       
        if(NS || IE) {
					
        	action = window.setInterval("heartBeat()",1);
         }
        