function TickerTape() {
	if (!YAHOO.util.Dom.get('ticker-tape')) return;
	this.tickerTrs = YAHOO.util.Dom.get('ticker-tape').getElementsByTagName('tr');
	this.tickerTotal = this.tickerTrs.length;
	this.tickerCurrent = 0;
	for (var i = 0; i < this.tickerTrs.length; i++) {
		if (this.tickerCurrent % this.tickerTotal != i)
			YAHOO.util.Dom.setStyle(this.tickerTrs[i], "opacity", "0.1");
		else
			YAHOO.util.Dom.setStyle(this.tickerTrs[i], "opacity", "1");
	}
	YAHOO.util.Dom.addClass(this.tickerTrs[this.tickerCurrent], 'active');
	this.startTickerWalking();
}
TickerTape.prototype.startTickerWalking = function () {
	for (i = 0; i < this.tickerTrs.length; i++) {
		if (this.tickerCurrent % this.tickerTotal != i) YAHOO.util.Dom.setStyle(this.tickerTrs[i], "opacity", "0.1");
	}
	// adjust speed here, now set to 4 seconds (4000 msec) for each item.
	this.tickerWalking = setInterval(createContextFunction(this, "tickerWalk"), 3345);
}
/**********************************
TickerTape.prototype.stopTickerWalking = function (e, args) {
	var base = args[0];
	var active = args[1];

	YAHOO.util.Dom.removeClass(base.tickerTrs[base.tickerCurrent % base.tickerTotal], 'active');
	YAHOO.util.Dom.addClass(base.tickerTrs[active], 'active');
	var attributes = {
		opacity: { from: .1, to: 1 }
	}
	tickerAnim = new YAHOO.util.Motion(base.tickerTrs[active], attributes,.2, YAHOO.util.Easing.easeOut);
	tickerAnim.animate();
	base.tickerCurrent = active;
	clearInterval(base.tickerWalking);
	base.tickerWalking = -1;
}
********************************/
TickerTape.prototype.tickerWalk = function (nr) {
	var attributes = {
		opacity: { from: 1, to: 0.1 }
	}
	tickerAnim = new YAHOO.util.Motion(this.tickerTrs[this.tickerCurrent % this.tickerTotal], attributes, .2, YAHOO.util.Easing.easeOut);
	tickerAnim.cc = this;
	tickerAnim.onComplete.subscribe(this.tickerWalkOn);
	tickerAnim.animate();
}
TickerTape.prototype.tickerWalkOn = function (nr) {
	YAHOO.util.Dom.removeClass(this.cc.tickerTrs[this.cc.tickerCurrent % this.cc.tickerTotal], 'active');
	this.cc.tickerCurrent++;
	YAHOO.util.Dom.addClass(this.cc.tickerTrs[this.cc.tickerCurrent % this.cc.tickerTotal], 'active');
	var attributes = {
		opacity: { from:0.1, to: 1 }
	}
	tickerAnim = new YAHOO.util.Motion(this.cc.tickerTrs[this.cc.tickerCurrent % this.cc.tickerTotal], attributes,.5, YAHOO.util.Easing.easeOut);
	tickerAnim.animate();
}