

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(26)
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] = "The things that one most wants to do are the things that are probably most worth doing!"
quote[3] = "A mind troubled by doubt cannot focus on the course to victory."
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] = "Yesterday's history - tomorrow's a mystery - today is a gift called the present "
quote[6] = "With ordinary talent and extraordinary perseverance, all things are possible."
quote[7] = "Nothing is interesting if you are not interested."
quote[8] = "Friendship is one mind in two bodies."
quote[9] = "Success seems to be largely a matter of hanging on after others have let go."
quote[10] = "The most important thing in communication is hearing what isn’t being said."
quote[11] = "Don’t be afraid of going slowly, the end of your journey will be more certain. "
quote[12] = "Good company on the road makes the journey shorter."
quote[13] = "Look for what you can’t see and arrive safely. "
quote[14] = "Death comes to us all, but why race towards it ? "
quote[15] = "Arriving at your destination safely is merely the start of another journey."
quote[16] = "A lot can be observed with proper observation."
quote[17] = "When asked, ”What time do you think this is?” the correct response is always, “Now”."
quote[18] = "You only live once, but those who drive safely generally live longer."
quote[19] = "The signals of others often speak falsely of their intentions. "
quote[20] = "Just as ignorance is no defence in the eyes of the law, so can the same be said about driving."
quote[21] = "Make sure there is always a future at the end of your journey."
quote[22] = "A rich man is not the one with the biggest car, rather the one who knows how to control the one he’s got. "
quote[23] = "The life of a car is only as long as the skill of it’s driver."
quote[24] = "Observation is the key to a million miles of safe driving."
quote[25] = "Drive too fast and the time will surely come when you don’t have the time."

author = new StringArray(26)
author[0] = "Henry Ford"
author[1] = "Jonathan Swift"
author[2] = "Winifrid Holtby "
author[3] = "Arthur Golden"
author[4] = "Help Wanted Ad, PA newspaper, 1994"
author[5] = "Anon"
author[6] = "Anon"
author[7] = "Anon"
author[8] = "Anon"
author[9] = "Anon"
author[10] = "Anon"
author[11] = "Jim Duggan"
author[12] = "Jim Duggan"
author[13] = "Jim Duggan"
author[14] = "Jim Duggan"
author[15] = "Jim Duggan"
author[16] = "Jim Duggan"
author[17] = "Jim Duggan"
author[18] = "Jim Duggan"
author[19] = "Jim Duggan"
author[20] = "Jim Duggan"
author[21] = "Jim Duggan"
author[22] = "Jim Duggan"
author[23] = "Jim Duggan"
author[24] = "Jim Duggan"
author[25] = "Jim Duggan"

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>'  )
}


