function Marquee(){this.ID = document.getElementById("tuyen");this.CTL = this.StartID = this.Stop = this.MouseOver = 0;this.Direction=0;this.Step =1;this.Width=345;this.Height = 16;this.Timer=10;this.DelayTime =3000;this.WaitTime =0;this.ScrollStep =16;this.ID.style.overflow = this.ID.style.overflowX = this.ID.style.overflowY = "hidden";this.Start();}Marquee.prototype.Start = function(){this.BakStep = this.Step;this.ID.style.width = this.Width + "px";this.ID.style.height = this.Height + "px";var msobj = this;msobj.tempHTML = msobj.ID.innerHTML;msobj.ID.innerHTML+=msobj.ID.innerHTML;var timer = this.Timer;var delaytime = this.DelayTime;var waittime = this.WaitTime;msobj.StartID = function(){msobj.Scroll()};msobj.Continue = function(){if(msobj.MouseOver == 1){setTimeout(msobj.Continue,delaytime);}else{clearInterval(msobj.TimerID);msobj.CTL = msobj.Stop = 0;msobj.TimerID = setInterval(msobj.StartID,timer);}};msobj.Pause = function(){msobj.Stop = 1;clearInterval(msobj.TimerID);setTimeout(msobj.Continue,delaytime);};msobj.Begin = function(){msobj.ClientScroll=msobj.ID.scrollHeight / 2;if(msobj.ClientScroll <= msobj.Height + msobj.Step){msobj.ID.innerHTML = msobj.tempHTML;delete(msobj.tempHTML);return;};delete(msobj.tempHTML);msobj.TimerID = setInterval(msobj.StartID,timer);msobj.ID.onmouseover = function(){msobj.MouseOver = 1;clearInterval(msobj.TimerID);};msobj.ID.onmouseout = function(){msobj.MouseOver = 0;if(msobj.Stop == 0){clearInterval(msobj.TimerID);msobj.TimerID = setInterval(msobj.StartID,timer);}}};setTimeout(msobj.Begin,waittime);};Marquee.prototype.Scroll = function(){this.CTL += this.Step;if(this.CTL >= this.ScrollStep && this.DelayTime > 0){this.ID.scrollTop += this.ScrollStep + this.Step - this.CTL;this.Pause();return;}else{if(this.ID.scrollTop >= this.ClientScroll){this.ID.scrollTop -= this.ClientScroll;}this.ID.scrollTop += this.Step;}};var idmn = new Array('','','
','','','','','','','','','','','','','','','','','','');new Marquee();function wmn(){var s;var idtr;var st;var obid;for (var i = 1;i < mtl.length;i++){idtr=i+1;obid=document.getElementById("m" + idtr);if (obid!=null){s=' ';s = s+ '