var marqueeContent=new Array();   //滚动主题                  	
marqueeContent[0]='<a href="http://www.jawcrushers.org" target="_blank">1. Americans EW Blake (Black) designed and manufactured the world first jaw crusher... </a>';
marqueeContent[1]='<a href="http://www.jawcrushers.org" target="_blank">2. When the impact crusher works, the motor drives the rotor rotate of the impact crusher with high speed...</a>';
marqueeContent[2]='<a href="http://www.jawcrushers.org" target="_blank">3. In China, we reach the leading level on designing and producing large-scale jaw crusher... </a>';
marqueeContent[3]='<a href="http://www.jawcrushers.org" target="_blank">4. This jaw crusher is mainly used in various industries, such as mining, smelting, road and railway construction...</a>';
marqueeContent[4]='<a href="http://www.jawcrushers.org" target="_blank">5. jaw crusher has a simple structure, easy to manufacture, reliable operation, convenient maintenance and the advantages...</a>';

var marqueeInterval=new Array();  //定义一些常用而且要经常用到的变量
var marqueeId=0;
var marqueeDelay=4000;
var marqueeHeight=13;
function initMarquee() {
 var str=marqueeContent[0];
 document.write('<div id=marqueeBox style="overflow:hidden;height:'+marqueeHeight+'px" onmouseover="clearInterval(marqueeInterval[0])" onmouseout="marqueeInterval[0]=setInterval(\'startMarquee()\',marqueeDelay)"><div>'+str+'</div></div>');
 marqueeId++;
 marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay);
 }
function startMarquee() {
 var str=marqueeContent[marqueeId];
  marqueeId++;
 if(marqueeId>=marqueeContent.length) marqueeId=0;
 if(marqueeBox.childNodes.length==1) {
  var nextLine=document.createElement('DIV');
  nextLine.innerHTML=str;
  marqueeBox.appendChild(nextLine);
  }
 else {
  marqueeBox.childNodes[0].innerHTML=str;
  marqueeBox.appendChild(marqueeBox.childNodes[0]);
  marqueeBox.scrollTop=0;
  }
 clearInterval(marqueeInterval[1]);
 marqueeInterval[1]=setInterval("scrollMarquee()",10);
 }
function scrollMarquee() {
 marqueeBox.scrollTop++;
 if(marqueeBox.scrollTop%marqueeHeight==marqueeHeight){
  clearInterval(marqueeInterval[1]);
  }
 }
initMarquee();