document.ns = navigator.appName == "Microsoft Internet Explorer"
function randomStr(str){
var showId=Math.floor(Math.random()*6);
var tempStr=str[showId];
str[showId]=str[0];
str[0]=tempStr;
}
function showStr(str,textWidth,num){
if(!document.ns){document.write(str[0]+'
')}
else{
document.write('
')
document.write('
')
for(i=0;i| '+str[i]+' | ')
}
document.write('
')
document.write('');
}
}
function init_srolltext(num){
countnum=0
marqueesHeight=30;
marqueesWidth=394;
eval('stopscroll'+num+'=false;')
eval('icefable1'+num+'.scrollTop=0;')
rotatenum=0
eval('icefable1'+num+'.style.width=0;')
eval('icefable1'+num+'.style.height=marqueesHeight;')
eval('icefable1'+num+'.style.overflowX="visible";')
eval('icefable1'+num+'.style.overflowY="hidden";')
eval('icefable1'+num+'.noWrap=true;')
eval('icefable1'+num+'.onmouseover=new Function("stopscroll=true");')
eval('icefable1'+num+'.onmouseout=new Function("stopscroll=false");')
eval('preTop'+num+'=0; ')
eval('currentTop'+num+'=0;')
eval('stoptime'+num+'=0;')
eval('icefable2'+num+'.innerHTML="";')
eval('icefable2'+num+'.innerHTML+=icefable1'+num+'.innerHTML;')
eval('icefable1'+num+'.innerHTML=icefable2'+num+'.innerHTML+icefable2'+num+'.innerHTML;')
eval('setInterval("scrollUp'+num+'()",40);')
}
function scrollUp1(){
if(stopscroll1==true) return;
currentTop1+=1;
if(currentTop1==41){
stoptime1+=1;
currentTop1-=1;
if(stoptime1==80){
currentTop1=0;
stoptime1=0;
}
}else{
preTop1=icefable11.scrollTop;
icefable11.scrollTop+=1;
if(icefable11.scrollTop==240){
preTop1=0; currentTop1=0; stoptime1=0;icefable11.scrollTop=0
}
}
}
var strArray1=new Array();
strArray1[0]='话机世界集团再次荣获拱墅区“重点企业”称号'
strArray1[1]='杭州市拱墅区区长许明一行来集团公司调研'
strArray1[2]='集团总裁赵伯祥当选“新宁波杰出青年”'
strArray1[3]='通讯界老大15店同开 138店联动 手机群...'
strArray1[4]='热烈祝贺集团总裁赵伯祥被评为“浙江十大杰出...'
randomStr(strArray1);
showStr(strArray1,374,1);
init_srolltext(1);