

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(11)
quote[0] = "If you do build a great experience, customers tell each other about that. Word of mouth is very powerful."
quote[1] = "Vision is the art of seeing things invisible."
quote[2] = "An organization's ability to learn, and translate that learning into action rapidly, is the ultimate competitive advantage."
quote[3] = "Develop success from failures. Discouragement and failure are two of the surest stepping stones to success."
quote[4] = "The biggest quality in successful people, I think, is an impatience with negative thinking."
quote[5] = "You've got to take the initiative and play your game... Confidence makes the difference."
quote[6] = "Catching people doing things right is a powerful management concept."
quote[7] = "Without ambition one starts nothing. Without work one finishes nothing. The prize will not be sent to you. You have to win it."
quote[8] = "Always have a plan and believe in it. I tell my coaches not to compromise. Nothing good happens by accident."
quote[9] = "The best teams have chemistry. They communicate with each other and they sacrifice personal glory for the common goal."
quote[10] = "Obviously everyone wants to be successful, but I want to be looked back on as being very innovative, very trusted and ethical and ultimately making a big difference in the world."

author = new StringArray(11)
author[0] = "Jeff Bezos"
author[1] = "Jonathan Swift"
author[2] = "Jack Welch"
author[3] = "Dale Carnegie"
author[4] = "Edward McCabe"
author[5] = "Chris Evert"
author[6] = "Ken Blanchard"
author[7] = "Ralph Waldo Emerson"
author[8] = "Chuck Knox"
author[9] = "Dave DeBusschere"
author[10] = "Sergey Brin"


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>'  )
}


