try{ document.execCommand("BackgroundImageCache",false,true); }catch(e){} function $(){ var elements=[]; for(var i=0;i1){ this.arrowLeft=$(arguments[1]); this.arrowLeft.onmouseover=function(){ this.stop(); this.moveLeft(); this.flagLeft=true; }.bind(this); } if(arguments.length>2){ this.arrowRight=$(arguments[2]); this.arrowRight.onmouseover=function(){ this.stop(); this.moveRight(); this.flagLeft=false; }.bind(this); } }, moveLeft:function(){ if(this.parent.scrollLeft>this.parent.scrollWidth-this.maxWidth){ this.parent.scrollLeft-=this.maxWidth; }else{ this.parent.scrollLeft+=this.step; } this.timer=setTimeout(this.moveLeft.bind(this),this.speed); }, moveRight:function(){ if(this.parent.scrollLeft