var scrrol_top=0; // javascript document function $d(element){ if(arguments.length>1){ for(var i=0,length=arguments.length,elements=[];i0){ this.stmnendpoint=document.body.scrolltop+this.top; } if (this.stmnstartpoint != this.stmnendpoint) { this.stmnscrollamount = math.ceil(math.abs(this.stmnendpoint - this.stmnstartpoint) / 15); this.id.style.top = parseint(this.id.style.top, 10) + ((this.stmnendpoint < this.stmnstartpoint) ? -this.stmnscrollamount : this.stmnscrollamount) + "px"; } } } function hide(){ float.style.visibility='hidden'; }