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('','','
Cần bán
Cần mua
Hợp tác
Dịch vụ
','
Cần bán
Cần mua
Hợp tác
Dịch vụ
','
Cần bán
Cần mua
Hợp tác
Dịch vụ
','
Cần bán
Cần mua
Sửa chữa
','
Cần bán
Cần mua
Cho thuê
Cần thuê
Sang nhượng
','
Cần bán
Cần mua
Thiết kế
Thi công
','
Cần bán
Cần mua
','
Cần bán
Cần mua
Sửa chữa
','
Cần bán
Cần mua
','
Tuyển sinh
Dạy kèm
Quảng cáo
','
Tuyển dụng
Tìm việc
','
Cho vay
Cần vay
Dịch vụ
','
Cần bán
Cần mua
','
Cần bán
Cần mua
Quảng cáo
','
Cần bán
Cần mua
Quảng cáo
','
Cần bán
Cần mua
Cho thuê
Cần thuê
Sửa chữa
','
Cần bán
Cần mua
Quảng cáo
','
Mời thầu
Kết bạn
Tìm giấy tờ
','
Cần bán
Cần mua
Quảng cáo
');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+ '
';s = s + '

' + ttl[i][0] + '

';s = s + '
' + std[i][0] + '
|
';for (var j = 1;j < mtl[i].length;j++){st=std[i][j];if (st!="") st=st.substr(1, st.length - 1);s = s+ '
';s = s + '' + ttl[i][j] + '
';s = s + '
' + st + '
|
';}s=s.substr(0, s.length - 25);obid.innerHTML=s;}}}wmn();