// Script by Billy Pete (http://members.xoom.com/billypete/)
// Idea based on scroller found at http://dynamicdrive.com -->

//Specify the marquee's scroll speed (larger is faster)
var speed=4
//Specify the marquee contents
var marqueecontents='<font face="Helvetica" color="#0000ff" size="2"><strong>If you are on a dialup line and the songs are too slow downloading, please go to our <a href="http://www.confettialloccasionweddingband.com/confetti_contact-form.htm">Contact US/Bookings page</a> and request a <span class="emphMarquee">FREE CD</span> mailed to you. This CD contains a few more songs, and longer versions than those featured here.        </strong></font>'

iens6=document.all || document.getElementById

if (iens6)
document.write('<center><marquee scrollAmount='+speed+' width=670>'+marqueecontents+'</marquee></center>')

function intializemarquee(){
if (document.layers){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}
}

function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=670
scrollit()
}
}

window.onload=intializemarquee
