
/*
Ticker Tape script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
//configure tickercontents[] to set the messges you wish be displayed (HTML codes accepted)
var tickercontents=new Array()
tickercontents[0]='<H3><font color=#C6CEE7><center>"CHRISTMAS MORNING" CD RELEASE PARTY:  Come hear Doc Allen and the Heartstrings live at Caffeine Cafe <font size="-1">[read more below]</font></center></font></H3>'
tickercontents[1]='<H3><font color=#C6CEE7>Get into the holiday spirit with Dr. Allen\'s new CD: "Christmas Morning". <a href="http://www.opusmusic.com/music.html">[Sample Music!]</a></font></H3>'
tickercontents[2]='<H3><font color=#C6CEE7>GET YOUR COPY NOW...COPIES ARE SELLING FAST...<a href="http://www.opusmusic.com/order.html">[Order Yours Now]</a></font></H3>'


//configure the below 2 variables to set the width/background color of the ticker
var tickerwidth='600'
var tickerbgcolor='#000066'

//configure the below variable to determine the delay between ticking of messages (in miliseconds
var tickdelay=5000

////Do not edit pass this line////////////////

var currentmessage=0

function changetickercontent(){
if (document.layers){
document.tickernsmain.document.tickernssub.document.write(tickercontents[currentmessage])
document.tickernsmain.document.tickernssub.document.close()
}
else if (document.all)
tickerie.innerHTML=tickercontents[currentmessage]

if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}

function start_ticking(){
if (document.layers)
document.tickernsmain.visibility="show"
changetickercontent()
}

if (document.all)
document.write('<div id="tickerie" style="width:'+tickerwidth+'; background-color:'+tickerbgcolor+'"></div>')
window.onload=start_ticking

