var refreshRate=20; var scrolling, timer, initialised;function GetObject(layer,nestedlayer){     nestedlayer=(!nestedlayer) ? '':'document.'+nestedlayer+'.';    this.el=browserinfos.dom?document.getElementById(layer):browserinfos.ie4?document.all[layer]:browserinfos.ns4?eval(nestedlayer+'document.'+layer):0;    this.css=browserinfos.dom?document.getElementById(layer).style:browserinfos.ie4?document.all[layer].style:browserinfos.ns4?eval(nestedlayer+'document.'+layer):0;    this.contentHeight=browserinfos.ns4?this.css.document.height:this.el.offsetHeight;    this.clipHeight=browserinfos.ns4?this.css.clip.height:this.el.offsetHeight;    this.up=ScrollUp;this.down=ScrollDown;    this.SetLayerPosition=SetLayerPosition; this.x; this.y;    eval(this.obj + "=this");    return this;} function SetLayerPosition(x,y){     this.x=x;this.y=y;    this.css.left=this.x;    this.css.top=this.y;}  function ScrollDown(pixelAmount){ 	if(this.y>-this.contentHeight+objContainer.clipHeight){     this.SetLayerPosition(0,this.y-pixelAmount); //pixelAmount is positive so -+ = -, we want the layer move up    if(scrolling) setTimeout(this.obj+".down("+pixelAmount+")",refreshRate);	} }function ScrollUp(pixelAmount){ 	if(this.y<0){ //to see up, the layer must go down :o) so the y must be negative    this.SetLayerPosition(0,this.y-pixelAmount); //pixelAmount is negative so -- = +, we want the layer move down    if(scrolling) setTimeout(this.obj+".up("+pixelAmount+")",refreshRate);	} }  function MyScroll(pixelAmount){ 	if(initialised){ 		scrolling=true;		if(pixelAmount>0) objScroller.down(pixelAmount);		else objScroller.up(pixelAmount);	} }  function StopScroll(){     scrolling=false;    if(timer) clearTimeout(timer);} 