

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(5)
quote[0] = "The purpose of education is to awaken joy in creative expression and knowledge."
quote[1] = "Learning is the discovery that something is possible."
quote[2] = "Learning means Keeping the mind open and active to receive all kinds of experience."
quote[3] = "Education is when you read the fine print. Experience is what you get if you don't."
quote[4] = "Education is learning what you didn't know you didn't know."
quote[5] = " The process of learning can and must become not only one of growing but also of sharing."
quote[6] = "Curiosity is the one permanent and certain characteristic of a vigorous mind."
quote[7] = "Education is the seeing of things in the working."
quote[8] = "The most insructive experiences are those of everyday life."
quote[9] = "Education is what survives what has been learned has been forgotten."
quote[10] = "Education is hanging on until you've caught on."
author = new StringArray(5)
author[0] = "Albert Einstein"
author[1] = "Frizt Perls"
author[2] = "Gilbert Highet"
author[3] = "Pete Seeger"
author[4] = "Daniel J. Boorstin"
author[5] = "Joe Nathan"
author[6] = "Samuel Johnson"
author[7] = "Thomas Edison"
author[8] = "Friedrich Nietzsche"
author[9] = "B.F.Skinner"
author[10] = "Robert Frost"

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>'  )
}



