 
// Author:Brandon Checketts
// Homepage: http://www.apeleon.net/~microbit/brandon.html
// Email: Brandon@microbits.com
// For this script and more, visit http://wsabstract.com

numQuotes=8;
quoteArray = new Array(numQuotes);
quoteArray[0]="\"I saw Ambassador in person in Boston...I was brought to tears with his words.  I went to church on that Sunday and asked to be saved\"  -email March 2000"
quoteArray[1]="\"Im born in a Christian family...but the music...and a lot of other stuff led me on another road.  A friend gave me two CDs...I really understood your message and I got rid of my non-Christian CDs.  Tonight I accepted Christ as my Savior\"  -Sweden"
quoteArray[2]="\"After your concert, I realized I had to turn away from some behaviors if I really wanted to be a vessel of Gods power\"  -e-mail March 2000"
quoteArray[3]="\"After being saved, I often slid back because of the desire to smoke weed...but your song gives me support.  It lets me know that I am not alone in my struggle and that I can win through CHRIST.  As a 27 year old, Black male with a wife and family, I thank you.\"  -Washington DC"
quoteArray[4]="\"My daughter heard you at Kingombound 99 and said you really spoke to her and changed her life...she said that if that speaker at Kingdombound from Cross Movement wrote any thing she would read it!  This is the most positive thing she has said in a long time concerning the things of God\"  -Rochester NY March 13 2000"
quoteArray[5]="\"Hi...I turned my life over to Christ at your last concert in Detroit.  Well I just wanted to tell you since then I have been reading my Bible every day and listening to your CD everyday also.  I want you to know that God changed my life and opened my eyes to Jesus.  Now I'm in vacation Bible school and plan on going to Bible study this Saturday.  Thank God for me going to your concert and I thank God for you guys\"  -Number one fan - July 24 2001"
quoteArray[6]="\"God has used the Cross Movement to affect my life so much.  The music has encouraged me greatly and actually helped pastor me through some of the rougher times.  So many times I almost wanted to give up and then I heard the familar voices of the Cross Movement whispher the truth in my ears...want to give back to the ministry God has ordained to do this great work\"  -Wilmore KY September 30 2000" 
quoteArray[7]="\"Ive been allowing my students to listen to some of your music in my Bible class.  Ive played particular songs to coincide with particular themes we're studying.  Its amazing how hip hop truly speaks volumes to these students.  Music is a medium that is uniquely powerful in expressing God's truths.  One of my students claimed that he was going to listen to your music and apply it to his life\" -Birmingham AL February 3 2001"
quoteArray[8]="\"Thank you for dishing out the word of God straight in your lyrics.  My kids really enjoy your song What Do You See and are always excited to share it with their friends whenever we are in the car.  God has used your song to catapult into conversations about salvation through Jesus Christ.  Thank you for being faithful and for preaching clear the Word of God.  Were also excited to see your video for Know Me.  Thank you for encouraging me and for encouraging my kids to be faithful to Jesus Christ as He is Lord and to not be afraid or ashamed to tell it as He tells it in His Word\"  -May 2 2001"


quoteShowing=-1;

function nextQuote()
{
  // restart at 0 if done
  if (quoteShowing >= numQuotes) quoteShowing=-1;
  quoteShowing++;

  // assign the value in the textbox to the new quote
  document.quoteForm.quoteHere.value = quoteArray[quoteShowing];
}

function prevQuote()
{
  // restart at end if on 0
  if (quoteShowing <= 0) quoteShowing=numQuotes+1;
  quoteShowing--;

  document.quoteForm.quoteHere.value = quoteArray[quoteShowing];
}

function randQuote()
{ 
  // Make sure you don't show the same quote 2x in a row
  prevQuoteShowing = quoteShowing;
  while(quoteShowing == prevQuoteShowing)
    quoteShowing = Math.ceil(Math.random() * numQuotes);

  document.quoteForm.quoteHere.value = quoteArray[quoteShowing];
}

window.onload=randQuote
