
/*
Cross browser marquee script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/


//Specify the marquee's width (in pixels)
var marqueewidth=370
//Specify the marquee's height (in pixels, pertains only to NS)
var marqueeheight=20
//Specify the marquee's scroll speed (larger is faster)
var speed=6
//Specify the marquee contents

var marqueecontents0='<font face="Arial"><strong><big> ........... Welcome to the christianmusicweekly.com, radio\'s premier source for information'

var marqueecontents1='Publishing for 17 years, that makes us perhaps the oldest multi-format charting publication in Christian Music...  '

var marqueecontents2='CMW\'s reporting deadline is Monday at 5pm ET, and the published edition is in everyone\'s hands by Wednesday which makes CMW the publication with the fastest turnaround in the industry. The cost of participation is lowest too, at zero.  CMW has driven down the cost of being a reporter to where it should be.   '


var marqueecontents3='ChristianMusicWeekly is looking for additional reporting stations. To self nominate, click <a href="http://ChristianMusicWeekly.com/newreporter.shtml">here</a>. Looking to advertise? Click <a href="http://ChristianMusicWeekly.com/advertising.shtml">here</a>'


var marqueecontents4='CMW reaches radio. And big changes are coming!</big></strong></font>'

var marqueecontents=marqueecontents0 + marqueecontents1 + marqueecontents2 + marqueecontents3 + marqueecontents4

if (document.all){

document.write('<table><tr><td>')

document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')


document.write('</td></tr></table>')
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}

function intializemarquee(){
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=marqueewidth
scrollit()
}
}

//window.onload=regenerate2();

