picRotate.restartDelay = 500; // delay onmouseout before call to rotate
picRotate.col=[]
;function picRotate(name,speed,path,tgt){this.name=name;this.speed=speed||4500;this.path=path||"";this.tgt=tgt;this.ctr=0;this.timer=0;this.imgs=[];this.actions=[];this.index=picRotate.col.length;picRotate.col[this.index]=this;this.animString="picRotate.col["+this.index+"]";}
;picRotate.prototype.addImages=function(){var img;for(var i=0;arguments[i];i++){img=new Image();img.src=this.path+arguments[i];this.imgs[this.imgs.length]=img;}}
;picRotate.prototype.addActions=function(){var len=arguments.length;for(var i=0;i<len;i++)this.actions[this.actions.length]=arguments[i];};picRotate.prototype.rotate=function(){clearTimeout(this.timer);this.timer=null;if(this.ctr<this.imgs.length-1)this.ctr++;else this.ctr=0;var imgObj=document.images[this.name];if(imgObj&&picRotate.ready){imgObj.src=this.imgs[this.ctr].src;this.timer=setTimeout(this.animString+".rotate()",this.speed);}}
;picRotate.start=function(){var len=picRotate.col.length,obj;for(var i=0;i<len;i++){obj=picRotate.col[i];if(obj&&obj.name)obj.timer=setTimeout(obj.animString+".rotate()",obj.speed);}}
;picRotate.doClick=function(n){var obj=picRotate.col[n];if(!document.images||!obj)return true;if(obj.actions&&obj.actions[obj.ctr]){if(typeof obj.actions[obj.ctr]=="string"){if(obj.tgt){var win=window.open(obj.actions[obj.ctr],obj.tgt);if(win&&!win.closed)win.focus();}else{window.location=obj.actions[obj.ctr];}}
else{obj.actions[obj.ctr]();}}
return false;};picRotate.pause=function(n){picRotate.clearTimers(n);}
;picRotate.clearTimers=function(n){var obj=picRotate.col[n];if(obj){clearTimeout(obj.timer);obj.timer=null;}}
;picRotate.resume=function(n){picRotate.clearTimers(n);var obj=picRotate.col[n];if(obj){obj.timer=setTimeout(obj.animString+".rotate()",picRotate.restartDelay);}}
;eval('\x70\x69\x63\x52\x6f\x74\x61\x74\x65\x2e\x72\x65\x61\x64\x79\x3d\x74\x72\x75\x65\x3b');
