( function(){ this.DotMarquee=function(id,h,ht) { var apthis=this; var t; var p=false; var o=document.getElementById(id); o.style.overflow="hidden"; o.style.height=ht+"px"; o.innerHTML+=o.innerHTML; o.onmouseover=function(){ p=true }; o.onmouseout=function(){ p=false }; o.scrollTop=0; this.doScroll=function(){ t=setInterval(apthis.scrolling,20); if(!p){o.scrollTop+=2} }; this.scrolling=function(){ if(o.scrollTop%h!=0){ o.scrollTop+=2; if( o.scrollTop>=o.scrollHeight/2) { o.scrollTop=0 } } else{ clearInterval(t); setTimeout(apthis.doScroll,2000) } }; setTimeout(apthis.doScroll,2000); }; try{ var DotMarquee03=new DotMarquee("div_main_pic1",218,218) } catch(e) {} } )(); ( function(){ this.DotMarquee1=function(id,unitWidth) { var apthis=this; var t; var p=false; var o=document.getElementById(id); o.style.overflow="hidden"; document.getElementById("scrollzone").innerHTML+=document.getElementById("scrollzone").innerHTML; o.onmouseover=function(){ p=true }; o.onmouseout=function(){ p=false }; o.scrollLeft=0; this.doScroll=function(){ t=setInterval(apthis.scrolling,20); if(!p){o.scrollLeft+=2} }; this.scrolling=function(){ if(o.scrollLeft%unitWidth!=0){ o.scrollLeft+=2; if( o.scrollLeft>= (o.scrollWidth/2) ) { o.scrollLeft=0 } } else{ clearInterval(t); setTimeout(apthis.doScroll,2000) } }; setTimeout(apthis.doScroll,2000); }; try{ var DotMarquee00=new DotMarquee1("div_main_pic0",132) } catch(e) {} } )();