var sText;
sText="";
for(i=0;i<strArray.length;i++){
	sText+='<p>'+strArray[i]+'</p>';
}
document.write('<div id="icefable1">'+sText+'</div>');

var icefable1;
icefable1=document.getElementById("icefable1");
marqueesHeight=22;
stopscroll=false;
icefable1.scrollTop=0;

with(icefable1){
  style.height=marqueesHeight+"px";
  style.overflowX="visible";
  style.overflowY="hidden";
  noWrap=true;
  onmouseover=new Function("stopscroll=true");
  onmouseout=new Function("stopscroll=false");
}

preTop=0; currentTop=22; stoptime=0;
icefable1.innerHTML+=icefable1.innerHTML;

function init_srolltext(){
  icefable1.scrollTop=0;
  setInterval("scrollUp()",50);
}

function scrollUp(){
  if(stopscroll==true) return;
  currentTop+=1;
  if(currentTop==23)
  {
  	stoptime+=1;
  	currentTop-=1;
  	if(stoptime==60) 
  	{
  		currentTop=0;
  		stoptime=0;
  	}
  }
  else {  	
	  preTop=icefable1.scrollTop;
	  icefable1.scrollTop+=1;
	  if(preTop==icefable1.scrollTop){
	    icefable1.scrollTop=44+"px";
	    icefable1.scrollTop+=1;
	  }
  }

}

init_srolltext();
