var marqueewidth=254
var marqueeheight=60
var speed=1
var marqueecontents='<li><a href="aircraft.htm" class=knowmore> Aircraft Batteries </a><br><br> <li><a href="helicopter.htm" class=knowmore>Helicopter Batteries </a><br><br> <li> <a href="torpedo.htm" class=knowmore> Torpedo Batteries  </a><br><br> <li><a href="aerospace.htm" class=knowmore> Aerospace Batteries <br><br> <li><a href="industrial.htm" class=knowmore>Industrial Nickel Cadmium Cells <br><br> <li><a href="vehicle.htm" class=knowmore>Launch Vehicle Applications <br><br> <li><a href="other.htm" class=knowmore>Batteries for Other Applications <br></a> '

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