function InsRotator(boxName){
	this.boxName = boxName;
						
	this.actual = 0;				
	this.actual_regular = 0;
							
	this.total = $(boxName).find(".special li").length;
	this.total_regular = $(boxName).find(".regular li").length;
						
	this.icons_rotate = function () {	
											
		$(this.boxName).find(".special li").css("display","none");
		$(this.boxName).find(".special li:eq("+this.actual+")").css("display","block");	
								
		if (this.actual+1 == this.total){								
			this.actual = 0;
		} else {
			this.actual++;	
		}	
	};	
						
	this.icons_rotate2 = function () {
		$(this.boxName + " .regular li:first-child").clone(true).insertAfter(this.boxName + " .regular li:last-child");
		$(this.boxName + " .regular li:first-child").remove();
								
		if (this.actual_regular+1 == this.total_regular){							
			this.actual_regular = 0;
		} else {
			this.actual_regular++;	
		}			
	};

}