

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(17)
quote[0] = "Never doubt that a small group of thoughtful, committed citizens can change the world. Indeed, it is the only thing that ever has."
quote[1] = "Vision is the art of seeing things invisible."
quote[2] = "If a man is at heart just, then in so far is he God; the safety of God, the immortality of God, the majesty of God do enter into that man with justice."
quote[3] = "There are some cases ... in which the sense of injury breeds—not the will to inflict injuries and climb over them as a ladder, but—a hatred of all injury."
quote[4] = "It is with benefits as with injuries in this respect, that we do not so much weigh the accidental good or evil they do us, as that which they were designed to do us.—That is, we consider no part of them so much as their intention. "
quote[5] = "For all of us there will be those irreconcilable injuries and humiliations that persist and infiltrate into adult existence."
quote[6] = "Plant a kernel of wheat and you reap a pint; plant a pint, and you reap a bushel. Always the law works to give you back more than you give."
quote[7] = "If you have knowledge, let others light their candles in it."
quote[8] = "You can not teach a man anything; you can only help him find it within himself."
quote[9] = "The man of science has learned to believe in justification, not by faith, but by verification."
quote[10] = "A teacher affects eternity he can never tell, where his influence stops."
quote[11] = "Justice consists in doing no injury to men; decency in giving them no offense."
quote[12] = "Every murder or injury, no matter for what cause, committed or inflicted on another is a crime against humanity."
quote[13] = "The foundation of every state is the education of its youth."
quote[14] = "Be gentle with the young."
quote[15] = "The universal brotherhood of man is our most precious possession."
quote[16] = "But the life that no longer trust another human being and no longer forms ties to the political community is not a human life any longer."

author = new StringArray(17)
author[0] = "Margaret Mead"
author[1] = "Jonathan Swift"
author[2] = "Ralph Waldo Emerson, Divinity School Address, 1946"
author[3] = "George Eliot [Mary Ann (or Marian) Evans], Elliot Collection, 1876 (http://www.bartleby.com/66/32/19032.html)"
author[4] = "Laurence Sterne, 1760, (http://www.bartleby.com/66/70/55870.html)"
author[5] = "Louise Kaplan, 1984, Adolescence ch.6, (http://www.bartleby.com/66/48/32048.html)"
author[6] = "Anthony Norvell"
author[7] = "Margaret Fuller"
author[8] = "Galileo Galilei"
author[9] = "Thomas H. Huxley"
author[10] = "Henry B. Adams"
author[11] = "Marcus Tullius Cicero"
author[12] = "Mohandas Gandhi"
author[13] = "Diogenes Laertius"
author[14] = "Juvenal"
author[15] = "Mark Twain"
author[16] = "Martha Nussbaum"

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>'  )
}


