ynwsMarqueeO = {
		 init:function(el) {
			 this.isScrolling = 1;
			 this.o = el;
			 addEvent(el,"mouseover",this.stop);
			 addEvent(el,"mouseout",this.start);
			 setTimeout(this.prepare, 1000);
			 this.listWidth = el.offsetWidth;
			 this.scrollerWidth = this.o.parentNode.offsetWidth;
		 },
		 prepare:function() { 
			 ynwsMarqueeO.scrollerLeft = 0;
			 ynwsMarqueeO.o.innerHTML += ynwsMarqueeO.o.innerHTML;
			 setInterval(ynwsMarqueeO.play,30);
		 },

		 play:function() {
			 if (ynwsMarqueeO.isScrolling)
			{
				ynwsMarqueeO.scrollerLeft -= 1;
				ynwsMarqueeO.o.style.left = ynwsMarqueeO.scrollerLeft+ 'px';
				if (ynwsMarqueeO.listWidth + ynwsMarqueeO.scrollerLeft <= 0) {ynwsMarqueeO.scrollerLeft += ynwsMarqueeO.listWidth;} 

			}
		 },
		 stop:function() {
			 ynwsMarqueeO.isScrolling = 0;
		},
		start:function() {
			ynwsMarqueeO.isScrolling = 1;
		}

}
