

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(15)
quote[0] = "Learning is a treasure that will follow its owner everywhere."
quote[1] = "If you would thoroughly know anything, teach it to others."
quote[2] = "To know how to suggest is the great art of teaching."
quote[3] = "The man who can make hard things easy is the educator."
quote[4] = "If a child can't learn the way we teach, maybe we should teach the way they learn."
quote[5] = "To teach is to learn twice."
quote[6] = "In teaching others we teach ourselves."
quote[7] = "Education is not the filling of a pail, but the lighting of a fire."
quote[8] = "While we try to teach our children all about life, our children teach us what life is all about."
quote[9] = "A teacher affects eternity; he can never tell, where his influence stops."
quote[10] = "Develop a passion for learning. If you do, you will never cease to grow."
quote[11] = "What we want is to see the child in pursuit of knowledge, and not knowledge in pursuit of the child."
quote[12] = "The secret in education lies in respecting the student."
quote[13] = "Education is too important to be left solely to the educators."
quote[14] = "It is the supreme art of the teacher to awaken joy in creative expression and knowledge."
quote[15] ="There is no doubt that it is around the family and the home that all the greatest virtues, the most dominating virtues of human society, are created, strengthened and maintained."
quote[16] = "Making the decision to have a child - it's momentous. It is to decide forever to have your heart go walking outside your body."
quote[17] = "Feelings of worth can flourish only in an atmosphere where individual differences are appreciated, mistakes are tolerated, communication is open, and rules are flexible -- the kind of atmosphere that is found in a nuturing family."
quote[18] = "Family faces are magic mirrors. Looking at people who belong to us, we see the past, present, and future."

author = new StringArray(15)
author[0] = "Chinese Proverb"
author[1] = "Tryon Edwards"
author[2] = "Ralph Waldo Emerson"
author[3] = "Ralph Waldo Emerson"
author[4] = "Ignacio Estrada"
author[5] = "Joseph Joubert"
author[6] = "Proverb"
author[7] = "W.B. Yeats"
author[8] = "Angela Schwindt"
author[9] = "Henry B. Adams"
author[10] = "Anthony J. D Angelo"
author[11] = "George Bernard Shaw"
author[12] = "Ralph Waldo Emerson"
author[13] = "Francis Keppel"
author[14] = "Albert Einstein"
author[15] = "Winston Churchill "
author[16] = "Elizabeth Stone"
author[17] = "Virginia Satir"
author[18] = "Gail Lumet Buckley"

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 + "<br>" + theauthor + '</i>'  )
}


