

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(5) // Change the "5" to the number of quotes that you want to have.
quote[0] = "BNI - The Cure for the Common Cold Call"
quote[1] = "Referral networking made productive."
quote[2] = "BNI - Where Givers Gain"
quote[3] = "Over 7000 referals passed in 7 years!."
quote[4] = "It's Net-working, not Net-Sitting. "
// You may add more quotes as necessary. Keep the same format.
// Quotes will not be able to have quotation marks (") within the quote itself.

author = new StringArray(5) // Change the "5" to the number of quotes that you want to have.
author[0] = " "
author[1] = " "
author[2] = " "
author[3] = " "
author[4] = " "
// Leave an empty quote (" ") if you don't want to display an author.

function writeQuote()
{
var now = new Date()
var sec = now.getSeconds()
var core = sec % quote.length

var thequote = quote[core]
var theauthor = author[core]
var theq = '&quot;'
var theend = ''


document.write( '<i>' + theq + thequote + theq + " " + theauthor + '</i>'  )
}


