

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(5)
quote[0] = "Thinking is the hardest work there is, which is probably the reason why so few engage in it."
quote[1] = "Vision is the art of seeing things invisible."
quote[2] = "Quality Without Compromise."
quote[3] = "Businessmen are the symbol of a free society."
quote[4] = "Good hours, excellent pay, fun place to work, paid training, mean boss. Oh well, four out of five isn't bad. "
quote[5] = "It's easy to be green!"

author = new StringArray(5)
author[0] = "Henry Ford"
author[1] = "Jonathan Swift"
author[2] = "Toner Action Victoria Park"
author[3] = "Ayn Rand"
author[4] = "Help Wanted Ad, PA newspaper, 1994"
author[5] = "Australasian Cartridge Remanufacturers Association Inc."


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>'  )
}


