// JavaScript Document
marqueesWidth=880;
stopscroll=false;
icefable1.scrollLeft=0;
with(icefable1){
  style.width=0;
  style.width=marqueesWidth;
  style.overflowY="visible";
  style.overflowX="hidden";
  noWrap=true;
  onmouseover=new Function("stopscroll=true");
  onmouseout=new Function("stopscroll=false");
}
preLeft=0; currentLeft=0; stoptime=0;
function init_srolltext(){
  icefable2.innerHTML="";
  icefable2.innerHTML+=icefable1.innerHTML;    
  icefable1.innerHTML=icefable2.innerHTML+icefable2.innerHTML;
  setInterval("scrollUp()",20);
}
function scrollUp(){
  if(stopscroll==true) return;
  currentLeft+=1;
  if(currentLeft==134)
  {
  	stoptime+=1;
  	currentLeft-=1;
  	if(stoptime==3) 
  	{
  		currentLeft=0;
  		stoptime=0;
  	}
  }
  else {  	
	  preLeft=icefable1.scrollLeft;
	  icefable1.scrollLeft+=1;
	  if(preLeft==icefable1.scrollLeft){
	    icefable1.scrollLeft=icefable2.offsetWidth-marqueesWidth;
	    icefable1.scrollLeft+=1;
	  }
  }
}
init_srolltext();