function blendGroup(idName,speed){var self=this;this.currentId=1;this.currentTimer=false
this.idName=idName;this.nextId=0;this.speed=speed;this.startTimer(this.speed);}
blendGroup.prototype.nextItem=function(){this.nextId=(document.getElementById(this.idName+(this.currentId+1)))?(this.currentId+1):1;this.showItem(this.nextId);this.startTimer(this.speed);}
blendGroup.prototype.showItem=function(idNum){this.stopTimer();if(idNum!=this.currentId){var itemBlender=new blender;itemBlender.blend(this.idName+this.currentId,this.idName+idNum,10);this.currentId=idNum;}}
blendGroup.prototype.startTimer=function(time){var self=this;this.stopTimer();this.currentTimer=setTimeout(function(){self.nextItem();},time);}
blendGroup.prototype.stopTimer=function(){if(this.currentTimer!=false){clearTimeout(this.currentTimer);}}