var msg=new Array()
msg[3]="<BR><BR><B><FONT FACE='Bookman Old Style, Arial' COLOR=#0000BB SIZE=5>PRAY TO GOD&nbsp;<BR>RIGHT NOW&nbsp;<BR>AND ASK JESUS&nbsp;<BR>TO BE YOUR SAVIOR!&nbsp;</I><BR></FONT>";
var colors1=new Array("FFFFFF", "EEEEEE", "DDDDDD", "CCCCCC", "BBBBBB", "AAAAAA", "999999", "888888", "777777", "666666", "555555", "444444", "333333","222222", "111111", "000000") 
var colors2=new Array("FFFFFF", "EEEEEE", "DDDDDD", "CCCCCC", "BBBBBB", "AAAAAA", "999999", "888888", "777777", "666666", "555555", "444444", "333333","222222", "111111", "000000") 

high=60;
wide=350;
Xpos=0;
Ypos=0;
pad=15;
bgcol="ffffff";
cellbg="";
fntFam="verdana,helvetica,arial";
fntSize=14;
pause=10;

// procedure

icolor=0;
mcolor=1;
imsg=0;
spWidth=wide-(2*pad);
totality=false;
glowing=true;
var theMsg="";
var cellcontent="";
pause=pause*1000;
if(cellbg.length>4){cellbg=" background="+cellbg}
else{cellbg="";}

function doPause(){
   totality=false; t=setTimeout("changecolor()",pause);
   }
function textshow(){
   getContentColor();
   getMsg();
   getCellContent();
   if(document.all){
   textbg.innerHTML=cellcontent;
   textfade.innerHTML=theMsg;
 textbg.style.posLeft=Xpos;
 textbg.style.posTop=Ypos;
 textfade.style.posLeft=Xpos+pad;
 textfade.style.posTop=Ypos+pad;
   t=setTimeout("changecolor()",50);}
   if(document.layers){
   document.textbg.document.write(cellcontent);
   document.textbg.document.close();
   document.textfade.document.write(theMsg);
   document.textfade.document.close();
 document.textbg.left=Xpos;
 document.textbg.top=Ypos;
 document.textfade.left=Xpos+pad;
 document.textfade.top=Ypos+pad;
   t=setTimeout("changecolor()",100);}
   }
function changecolor(){
   if(totality==true){doPause();}
   else{
   getMsg();
   getContentColor();
   if(document.all){
   textfade.innerHTML=theMsg;
   t=setTimeout("changecolor()",50);}
   if(document.layers){
   document.textfade.document.write(theMsg);
   document.textfade.document.close();
   t=setTimeout("changecolor()",70);}
   }
   }
function getFadeColor(){
   icolor=icolor-1;
   if(mcolor==1){contentcolor=colors1[icolor];}
   else{contentcolor=colors2[icolor];}
   }
function getGlowColor(){
   icolor=icolor+1;
   if(mcolor==1){contentcolor=colors1[icolor];}
   else{contentcolor=colors2[icolor];}
   }
function changemsg(){
   if(imsg==msg.length-1){imsg=0; mcolor=1;}
   else if(imsg != msg.lenght-1 && mcolor==1){imsg=imsg+1; mcolor=0;}
   else{imsg=imsg+1; mcolor=1;}
   RandomQuoteA();
   RandomQuoteB();
   RandomQuoteC();
   }
function getContentColor(){
   if(icolor==colors1.length-1 && glowing==true){
   getFadeColor(); glowing=false; totality=true;}
   else if(icolor < colors1.length && glowing==true){
   getGlowColor();}
   else if(icolor < 1 && glowing==false){changemsg(); getGlowColor(); glowing=true;}
   else{getFadeColor();}
   }
function getMsg() {
   theMsg="<span style='font-size:"+fntSize+"pt; font-family:"+fntFam+"; width:"+spWidth+";'>"
   theMsg+="<B><font color="+contentcolor+">"+msg[imsg]+"</font></B> "
   theMsg+="</span>"
   }
function getCellContent(){
   cellcontent="<TABLE height="+high+
   " width="+wide+" cellpadding=0 cellspacing=0><TR><TD"+cellbg+"> </TD></TR></TABLE>"}
