var strArray=new Array();
strArray[0]=' 商机总数:3307523 新增商机:123 产品总数:856348 新增产品:0';
strArray[1]=' 企业总数:615038 新增企业:235';
showId=Math.floor(Math.random()*2);
tempStr=strArray[showId];
strArray[showId]=strArray[0];
strArray[0]=tempStr;
document.write('
'
+' | '
+''
+' '
+'| '+strArray[0]+' | '
+'| '+strArray[1]+' | '
+' '
+' '
+''
+' |
'
+'
');
marqueesHeight=20;
stopscroll=false;
icefable1.scrollTop=0;
with(icefable1){
style.width=0;
style.height=marqueesHeight;
style.overflowX="visible";
style.overflowY="hidden";
noWrap=true;
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
preTop=0; currentTop=0; stoptime=0;
function init_srolltext(){
icefable2.innerHTML="";
icefable2.innerHTML+=icefable1.innerHTML;
icefable1.innerHTML=icefable2.innerHTML+icefable2.innerHTML;
setInterval("scrollUp()",50);
}
function scrollUp(){
if(stopscroll==true) return;
currentTop+=1;
if(currentTop==22)
{
stoptime+=1;
currentTop-=1;
if(stoptime==50)
{
currentTop=0;
stoptime=0;
}
}
else {
preTop=icefable1.scrollTop;
icefable1.scrollTop+=1;
if(preTop==icefable1.scrollTop){
icefable1.scrollTop=icefable2.offsetHeight-marqueesHeight;
icefable1.scrollTop+=1;
}
}
}
init_srolltext();