var marqueewidth="100%"                                                                                                                                                                       
var marqueeheight=113                                                                                                                                                                         
var speed=1                                                                                                                                                                      
var marqueecontents='<left><font style="color:#000000"><img src="images/poi.gif"> 公司乔迁新址：临沂市兰山区琅琊王路（与水田路交汇处）永兴国际玩具城A区（沿街）18-19号<br><img src="images/poi.gif"> 欢迎访问临沂市康贝儿童用品有限公司网站！<br><img src="images/poi.gif"> 本站所有商品花色、品种众多，欢迎来电来函咨询。<br><p><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2007-04-10</font>'                                                                                                                                                                           
if (document.all)                                                                                                                                                                           
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>')                                                                                                                                                                           
                                                                                                                                                                           
function regenerate(){                                                                                                                                                                           
window.location.reload()                                                                                                                                                                           
}                                                                                                                                                                           
function regenerate2(){                                                                                                                                                                           
if (document.layers){                                                                                                                                                                           
setTimeout("window.onresize=regenerate",450)                                                                                                                                                                           
intializemarquee()                                                                                                                                                                           
}                                                                                                                                                                           
}                                                                                                                                                                           
                                                                                                                                                                           
function intializemarquee(){                                                                                                                                                                           
document.cmarquee01.document.cmarquee02.document.write(marqueecontents)                                                                                                                                                                           
document.cmarquee01.document.cmarquee02.document.close()                                                                                                                                                                           
thelength=document.cmarquee01.document.cmarquee02.document.height                                                                                                                                                                           
scrollit()                                                                                                                                                                           
}                                                                                                                                                                           
                                                                                                                                                                           
function scrollit(){                                                                                                                                                                           
if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){                                                                                                                                                                           
document.cmarquee01.document.cmarquee02.top-=speed                                                                                                                                                                           
setTimeout("scrollit()",100)                                                                                                                                                                           
}                                                                                                                                                                           
else{                                                                                                                                                                           
document.cmarquee01.document.cmarquee02.top=marqueeheight                                                                                                                                                                           
scrollit()                                                                                                                                                                           
}                                                                                                                                                                           
}                                                                                                                                                                           
                                                                                                                                                                           
window.onload=regenerate2                                                                                                                                                                         