var tWidth='100%'; var tHeight='22px'; var tcolour='transparent'; var moStop=true; var fontfamily = 'Arial'; var tSpeed=3; var content='Ladies\' Bible Study on Tuesday January 2nd at 11:00am - Studies in the Gospel of Luke! For more information call 615-452-5951.'; var cps=tSpeed; var aw, mq; var fsz = 18; function startticker(){ if (document.getElementById) { var tick = '
'; document.getElementById('ticker').innerHTML = tick; mq = document.getElementById("mq"); tW = document.getElementById('ticker').clientWidth; mq.style.left=(parseInt(tW)+10)+"px"; // mq.style.left=(parseInt(tWidth)+10)+"px"; mq.innerHTML=''+content+''; aw = document.getElementById("tx").offsetWidth; lefttime=setInterval("scrollticker()",50); } } function scrollticker(){ // mq.style.left = (parseInt(mq.style.left)>(-10 - aw)) ?parseInt(mq.style.left)-cps+"px" : parseInt(tW)+10+"px"; mq.style.left = (parseInt(mq.style.left)>(-10 - aw)) ?parseInt(mq.style.left)-cps+"px" : parseInt(tW)+10+"px"; } window.onload=startticker;