var scrollDivs=[];TScrollDiv=function(a,b){this.className="TScrollDiv";this.name=a;this.speed=b;this.timer=null;this.inner=document.getElementById("div"+a+"Inner");this.outer=document.getElementById("div"+a+"Outer");scrollDivs[scrollDivs.length]=this};TScrollDiv.prototype.up=function(){this.startScrolling(-3)};TScrollDiv.prototype.down=function(){this.startScrolling(3)};TScrollDiv.prototype.stop=function(){this.timer&&clearTimeout(this.timer)};
TScrollDiv.prototype.startScrolling=function(a){this.outer.scrollTop+=a;this.timer=setTimeout(this.name+".startScrolling( "+a+" );",20)};TScrollDiv.prototype.mouseScroll=function(){if(event)if(event.wheelDelta>=120){this.startScrolling(-20);this.stop()}else if(event.wheelDelta<=-120){this.startScrolling(20);this.stop()}};
