if(typeof Protoplasm=="undefined"){throw ("protoplasm.js not loaded, could not intitialize ticker")}if(typeof Control=="undefined"){Control={}}Control.TickerBase=Class.create({initialize:function(b,c,a){this.options=Object.extend({interval:10,step:1},a||{});this.element=$(b);this.generator=c;this.element.style.overflow="hidden";this.scroller=new Element("div");this.element.appendChild(this.scroller);this.active=0;this.offset=0;this.start()},start:function(){this.timer=setInterval(function(){this.scroll(this.options.step)}.bind(this),this.options.interval)},scroll:function(d){var a=this.generator();var c=scroller.firstChild;var b=scroller.childNodes[scroller.childNodes.length-1]},stop:function(){if(this.timer){clearInterval(this.timer);this.timer=null}}});Control.Ticker=Class.create(Control.TickerBase,{initialize:function($super,c,b){var a=$(c).childElements();a.invoke("hide");$super(c,function(){return a.invoke("clone",true)},b)}});Protoplasm.register("ticker",Control.Ticker);