

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(30)
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] = "Skate not to where the puck is but to where the puck is going to be."
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] = "Success - name it, claim it, frame it!"
quote[6] = "To err is human—and to blame it on a computer is even more so"
quote[7] = "Happiness depends upon ourselves"
quote[8] = "In business you  get what you want by giving other people what they want."
quote[9] = "If at first you don’t succeed you’re running about average."
quote[10] = "If opportunity doesn’t knock, build a door."
quote[11] = "The road to success if filled with women pushing their husbands along."
quote[12] = "A thought often makes us hotter than a fire."
quote[13] = "I never did anything worth doing by accident, nor did any of my inventions come by accident; they came by work."
quote[14] = "Work is a necessary evil to be avoided."
quote[15] = "You may be a high tech redneck if you’ve ever used a CD-ROM as a coaster for your beer."
quote[16] = "I think there is a world market for maybe five computers."
quote[17] = "The internet is a great way to get on the net."
quote[18] = "I invented the internet."
quote[19] = "A bachelor’s life is no life for a single man.”  "
quote[20] = "Headline:  Lack of brains hinders research."
quote[21] = "We’ve got to pause and ask ourselves:  How much clean air do we need?"
quote[22] = "Deals work best when each side gets something it wants from the other."
quote[23] = "You can hardly tell where the computer models finish and the real dinosaurs begin."
quote[24] = "Life is very important to Americans."
quote[25] = "Politics give guys so much power that they tend to behave badly around women.  And I hope I never get into that."
quote[26] = "If we don’t succeed we run the risk of failure."
quote[27] = "If a man is doing his best, what else is there?"
quote[28] = "Not everything that can be counted counts, and not everything that counts can be counted."
quote[29] = "Be nice to people on your way up because you meet them on your way down."
quote[30] = "The true measure of a man is how he treats someone who can do him absolutely no good."



author = new StringArray(30)
author[0] = "Henry Ford"
author[1] = "Jonathan Swift"
author[2] = "Anon"
author[3] = "Ayn Rand"
author[4] = "Help Wanted Ad, PA newspaper, 1994"
author[5] = "Anon"
author[6] = "Orbens Current Comedy"
author[7] = "Aristotle"
author[8] = "Alice Foote MacDougall"
author[9] = "M. H. Anderson"
author[10] = "Milton Berle"
author[11] = "Thomas R. Dewar"
author[12] = "Henry Wadsworth Longfellow"
author[13] = "Thomas A. Edison"
author[14] = "Mark Twain"
author[15] = "Jeff Foxworthy"
author[16] = "Thomas Watson, Chairman IBM, 1943"
author[17] = "Bob Dole"
author[18] = "Al Gore"
author[19] = "Samuel Goldwyn"
author[20] = "Anon"
author[21] = "Lee Iacocca, former Chairman Chrysler Corporation"
author[22] = "Donald Trump"
author[23] = "Laura Dern on Jurassic Park"
author[24] = "Bob Dole"
author[25] = "Bill Clinton"
author[26] = "Dan Quayle"
author[27] = "George S. Patton"
author[28] = "Albert Einstein"
author[29] = "Jimmy Durante"
author[30] = "Samuel Johnson"


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>'  )
}


