

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(24)
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 toughest thing about being a success is that you've got to keep on being a success."
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] = "You can't have everything.  Where would you put it?"
quote[6] = "It is ALWAYS the right time to do the right thing."
quote[7] = "The secret of education lies in respecting the pupil."
quote[8] = "I have learned one great truth. The answer for all our national problems... comes down to a single word.  That word is education."
quote[9] = "You don't save a pitcher for tomorrow.  Tomorrow it may rain."
quote[10] = "Not in the clamor of the crowded street, not in the shouts and plaudits of the throng, but in ourselves, are triumph and defeat."
quote[11] = "Nobody goes there anymore - it's too crowded."
quote[12] = "I never think of the future. It comes soon enough."
quote[13] = "Genius without education is like silver IN the mine."
quote[14] = "Fortune comes well to all that comes not late."
quote[15] = "Nothing great was ever achieved without enthusiasm."
quote[16] = "Never confuse movement with action."
quote[17] = "I don't know the key to success, but the key to failure is trying to please everybody."
quote[18] = "Success usually comes to those who are too busy to be looking for it."
quote[19] = "Humor is always based on a modicum of truth. Have you ever heard a joke about a father-in-law?"
quote[20] = "Education is when you read the fine print. Experience is what you get if you don't."
quote[21] = "Not to be absolutely certain is, I think, one of the essential things in rationality."
quote[22] = "Baseball players are smarter than football players. How often do you see a baseball team penalized for too many players on the field?"
quote[23] = "Show me a guy who's afraid to look bad, and I'll show you a guy you can beat every time."
quote[24] = "Congratulations. I knew the record would stand until it was broken."

author = new StringArray(24)
author[0] = "Henry Ford"
author[1] = "Jonathan Swift"
author[2] = "Irving Berlin"
author[3] = "Ayn Rand"
author[4] = "Help Wanted Ad, PA newspaper, 1994"
author[5] = "Steven Wright"
author[6] = "Dr. Martin Luther King, Jr."
author[7] = "Ralph Waldo Emerson"
author[8] = "President Lyndon Johnson"
author[9] = "Leo Durocher"
author[10] = "Henry Wadsworth Longfellow"
author[11] = "Yogi Berra"
author[12] = "Albert Einstein"
author[13] = "Benjamin Franklin"
author[14] = "Ralph Waldo Emerson"
author[15] = "Ralph Waldo Emerson"
author[16] = "Ernest Hemmingway"
author[17] = "Bill Cosby"
author[18] = "Henry David Thoreau"
author[19] = "Dick Clark"
author[20] = "Pete Seeger"
author[21] = "Bertrand Russell"
author[22] = "Jim Bouton"
author[23] = "Lou Brock"
author[24] = "Yogi Berra"


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>'  )
}


