var ticker = {
	index : 0,
	group: null,
	delay: 5000,
	init : function(id, delay) {
		if( delay ) this.delay = ( delay * 1000 );
		this.group = this.el(id).getElementsByTagName("dl");		
		if(	this.group.length > 1 ) {
			this.next();
			setInterval("ticker.next();", this.delay);
		}
	},
	el : function(i) {
		return (document.getElementById) ? document.getElementById(i) : false ;
	},
	next : function() {
		this.set();
		this.index++;
		if( this.index > ( this.group.length - 1 ) ) this.index = 0;
	},
	set : function() {
		for( var i = 0; i < this.group.length; i++ ) {
			this.group[i].style.display = "none";
		}
		Fx.fadeIn(this.group[this.index]);
	}
}
