function LogoRotator(id) {
	
	this.cnt = 0;
	this.int = false;
	this.id = id;
	this.logos = $$('#'+this.id+' .logo');
	this.rows = this.logos.length;
	
	if (this.rows > 1) {
		if ($(this.id)) {
			this.init();
		}
	}
}

LogoRotator.prototype.r = function() {	
	this.cnt++;	
	if(this.cnt == (this.rows)) {
		this.cnt = 0;
	}	
	this.s();
}

LogoRotator.prototype.s = function() {
	this.logos.each(function(e){ e.hide(); });
	Effect.Appear(this.logos[this.cnt]);
}

LogoRotator.prototype.init = function() {
	var ref = this;
	var rot = function() {
		ref.r();
	}
	this.int = setInterval(rot,5000);
	this.s();
}
