//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=172;
//scroller's height
var sheight=124;
//scroller's speed
var sspeed=1.5;
var restart=1;
var rspeed=sspeed;
var congrv=0;
var scrollerspause=1500;
var klk=0;
var jjj=0;
var ikj=0;
var fstv=new Array();
//scroller's pause
var spause=2000;
//scroller's background
var sbcolor="none";
//messages: set your own; use as many as you'd like; set up Hyperlinks to
//URLs as you normally do: ..message..;
var singletext=new Array();
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web01/b206/as.trumpetnet/public_html/scroll_verses.php:27) in /hermes/web01/b206/as.trumpetnet/public_html/admin/datacon.php on line 2
singletext[0]='
| "For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." |
| Romans 6:23 |
';
singletext[1]='| Then Jesus came to them and said, "All authority in heaven and on earth has been given to me. Therefore go and make disciples of all nations, baptizing them in the name of the Father and of the Son and of the Holy Spirit, and teaching them to obey everyth |
| Matthew 28:18-20 |
';
//singletext[...]='...';
//-- end Parameters and message -->
//-- begin: Scroller's Algorithm -->
var ii=0;
function goup(){
if(congrv==0&&sspeed>0&&sspeed<27){sspeed*=3;restart=sspeed;}
if(congrv==0&&sspeed==0){sspeed=restart;}return;
}
function gost(){
if(congrv==0&&sspeed>0)sspeed=0;return;
}
function godn(){
if(congrv==0&&sspeed>1){
sspeed/=3;restart=sspeed;}if(congrv==0&&sspeed==0){sspeed=1;restart=sspeed;
}return;
}
function start(){
if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}
else
if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}
else
if(document.all){iediv=iens6div;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}
function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else
if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}
function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else
if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}
function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else
if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}
//-- end Algorithm -->