// Scrollers width here (in pixels) var scrollerwidth="311px" // Scrollers height here var scrollerheight="100px" // Scrollers speed here (larger is faster 1-10) var scrollerspeed=2 var overlibwrite; // Scrollers content goes here! Keep all of the message on the same line! var scrollercontent = new Array("Schedule for Grace Tabernacle:
\
Regular Services: \
Sundays: 10:30AM CST\
\
\
Contact: Larry Harrah, Pastor\
Phone: 847-731-2130\
","Schedule for End Time Message Tabernacle:
\
Regular Services: \
Sundays: 10:00 AM & 6:00 PM MST\
Wednesdays: 7:30 PM MST\
\
\
Contact: Pastor: Harold Hildebrandt\
\
Phone: (780)489-1344 Fax: (780)489-2094
\
Email: etmtab@telusplanet.net
\
Website: http://www.inthedaysofthevoice.com/
\
Regular Services: \
Sunday School: 10:00 a.m. (Ages 4 through 17)
\
Sunday worship: 11:00 a.m.
\
Wednesday worship: 7:00 p.m.
\
Sunday radio services: 9:00 a.m., 104.9 FM – WBOZ Murfreesboro
\
\
\
Contact: Joseph Hamid, Pastor\
Phone: (615) 907-1212\
");
var streamnames = new Array("Zion Grace Tabernacle - Church Services Schedule","End Time Message Tabernacle - Church Services Schedule","End Time Message Tabernacle - Audio/Video Archive","End Time Message Tabernacle - Audio/Video Archive","End Time Message Tabernacle - Audio/Video Archive","Believers Tabernacle - Church Services Schedule");
//var scrollercontent = "";
var pauseit=1
// Change nothing below!
//scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS
var copyspeed=scrollerspeed
var iedom=document.all||document.getElementById
var actualheight=''
var cross_scroller, ns_scroller
var pausespeed=(pauseit==0)? copyspeed: 0
var paused = 0;
var lefttime;
function dispsch (schedulenum) {
var ovcaption = streamnames[schedulenum - 1];
overlib(overlibwrite, STICKY, CAPTION, ovcaption);
if (lefttime) {
clearTimeout(lefttime);
}
populate(schedulenum);
return false
}
function endoverlib () {
return nd();
}
function populate(schedulenum){
if (iedom){
cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
//cross_scroller.style.top = 0 + "px";
cross_scroller.innerHTML=scrollercontent[schedulenum - 1];
actualheight=cross_scroller.offsetHeight
}
else if (document.layers){
ns_scroller=document.ns_scroller.document.ns_scroller2
ns_scroller.top=parseInt(scrollerheight)+8
ns_scroller.document.write(scrollercontent)
ns_scroller.document.close()
actualheight=ns_scroller.document.height
}
scrollup(1);
}
//window.onload=populate
function pause () {
if (paused == 0) {
paused = 1;
clearTimeout(lefttime);
} else {
paused = 0;
scrollup(1);
}
}
function scrollup(speed){
clearTimeout(lefttime);
copyspeed = speed;
if (iedom){
if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8))
cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
else
cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
}
else if (document.layers){
if (ns_scroller.top>(actualheight*(-1)+8))
ns_scroller.top-=copyspeed
else
ns_scroller.top=parseInt(scrollerheight)+8
}
lefttime=setInterval("scrollup(" + speed + ")",100);
}
function scrolldown(speed){
clearTimeout(lefttime);
copyspeed = speed;
if (iedom){
if ( (parseInt(cross_scroller.style.top)) < (parseInt(scrollerheight)+8) )
cross_scroller.style.top=parseInt(cross_scroller.style.top)+copyspeed+"px"
else
cross_scroller.style.top=(actualheight*(-1)+8)+"px";
} else if (document.layers) {
if (ns_scroller.top<(actualheight*(1)-100))
ns_scroller.top+=copyspeed
else
ns_scroller.top=(-1*parseInt(scrollerheight)+8);
}
lefttime=setInterval("scrolldown(" + speed+ ")",100);
}
overlibwrite = "
| ";
if (iedom||document.layers){
with (document){
if (iedom){
overlibwrite += '';
}
else if (document.layers){
overlibwrite += ' |
|