

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(40)
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] = "Ability is the heart to conceive, the understanding to direct, or the hand to execute."
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] = "There is only one proof of ability - results!"
quote[6] = "The way to get things done is not to mind who gets the credit of doing them."
quote[7] = "To accomplish great things, we must dream as well as act."
quote[8] = "If we are to achieve, we must look for the opportunity in every difficulty, not the difficulty in every opportunity."
quote[9] = "Action will remove the doubt that theory cannot solve."
quote[10] = "Activity is contagious."
quote[11] = "It is better to wear out than to rust out."
quote[12] = "Build momentum by accumulating small successes."
quote[13] = "Gain access to the people on top. Until they know you, they can't help you."
quote[14] = "Adversity introduces a man to himself."
quote[15] = "When it is dark enough, men see the stars."
quote[16] = "Advertising is what you do when you can't go see somebody."
quote[17] = "Give them quality. That's the best kind of advertising."
quote[18] = "He who builds to every man's advice will have a crooked house."
quote[19] = "Beware of advice - even this."
quote[20] = "Throughout my career, the things I've done best are the things people told me couldn't be done."
quote[21] = "Charging beats retreating."
quote[22] = "You don't learn to hold your own in the world by standing on guard, but by attacking, and getting well-hammered yourself."
quote[23] = "Ambition is the mainspring of nearly all progress."
quote[24] = "There's always room at the top."
quote[25] = "Most new projects - I can even say every one of them - can be analyzed to destruction."
quote[26] = "If you can't answer a man's argument; you can still call him vile names."
quote[27] = "Instead of crying over spilt milk, go milk another cow."
quote[28] = "Always imitate the behavior of the winners when you lose."
quote[29] = "You cannot endow even the best machine with initiative."
quote[30] = "Anybody can start something."
quote[31] = "Love what you're doing, because that's the only way you'll ever be really good at it."
quote[32] = "Make your life a mission, not an intermission."
quote[33] = "Everything subject to time is liable to change."
quote[34] = "It is better to be old fashioned and right than to be up-to-date and wrong."
quote[35] = "A man is seldom better than his word."
quote[36] = "It is a thousand times better to have common sense without education than to have education without common sense."
quote[37] = "Communication is depositing a part of yourself in another person."
quote[38] = "The first man gets the oyster, the second man gets the shell."
quote[39] = "Don't look back. Something may be gaining on you."

author = new StringArray(40)
author[0] = "Henry Ford"
author[1] = "Jonathan Swift"
author[2] = "Junius"
author[3] = "Ayn Rand"
author[4] = "Help Wanted Ad, PA newspaper, 1994"
author[5] = "Harry F. Banks"
author[6] = "Benjamin Jowett"
author[7] = "Anatole France "
author[8] = "Walter E. Cole"
author[9] = "Tehyi Hsieh"
author[10] = "Ralph Waldo Emerson"
author[11] = "Richard Cumberland"
author[12] = "Anonymous"
author[13] = "Tom Hopkins"
author[14] = "Anonymous"
author[15] = "Ralph Waldo Emerson"
author[16] = "Fairfax W. Cone"
author[17] = "Milton S. Hershey"
author[18] = "Danish Proverb"
author[19] = "Carl Sandburg"
author[20] = "H. Ross Perot"
author[21] = "Malcom Forbes"
author[22] = "George Bernard Shaw"
author[23] = "B.C. Forbes"
author[24] = "Anonymous"
author[25] = "Georges Doriot"
author[26] = "Elbert Hubbard"
author[27] = "Erna Asp"
author[28] = "George Meredith"
author[29] = "Walter Lippmann"
author[30] = "John A. Shedd"
author[31] = "Fred Trump"
author[32] = "Arnold Glasow"
author[33] = "Joseph Albo"
author[34] = "Tiorio"
author[35] = "Lord Acton"
author[36] = "Robert G. Ingersoll"
author[37] = "Anonymous"
author[38] = "Andrew Carnegie"
author[39] = "Leroy (Satchel) Paige"


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>'  )
}


