

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(4)
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] = "Education is when you read the fine print. Experience is what you get if you don't. "
quote[3] = "Education is not the filling of a pail, but the lighting of a fire."

author = new StringArray(4)
author[0] = "Ralph Waldo Emerson"
author[1] = "Sir Winston Churchill"
author[2] = "Pete Seeger"
author[3] = "William Butler Yeats"


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>'  )
}


