

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(11)
quote[0] = "The things taught in colleges and schools are not an education, but the means of education."
quote[1] = "I am always ready to learn, but I do not always like being taught."
quote[2] = "I loved school.  Then they stopped those afternoon naps!"
quote[3] = "Education is when you read the fine print. Experience is what you get if you don't. "
quote[4] = "Education is not the filling of a pail, but the lighting of a fire."
quote[5] = "The whole purpose of education is to turn mirrors into windows."
quote[6] = "Education's purpose is to replace and empty mind with an open one."
quote[7] = "Let us reform our schools, and we shall find little need of reform in our prisons."
quote[8] = "Merely to stuff the child with a lot of information, making him pass examinations, is the most unintelligent form of education."
quote[9] = "The secret of education is respecting the pupil." 
quote[10] = "One can succeed at almost anything for which he has enthusiasm."

author = new StringArray(11)
author[0] = "Ralph Waldo Emerson"
author[1] = "Sir Winston Churchill"
author[2] = "Michael Trabbic"
author[3] = "Pete Seeger"
author[4] = "William Butler Yeats"
author[5] = "Sydney J. Harris"
author[6] = "Malcolm S. Forbes"
author[7] = "John Ruskin"
author[8] = "Jiddu Krishnamurti"
author[9] = "Ralph Waldo Emerson" 
author[10] = "Charles Schwab"

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>'  )
}


