// Copyright 1996 - Tomer and Yehuda Shiran
// This example will appear in our forthcoming book on JavaScript.
// Feel free to "steal" this code provided that you leave this notice as is.
// Additional examples from the book can be found at //http://www.geocities.com/SiliconValley/9000/
// For more information contact Tomer or Yehuda Shiran <yshiran@iil.intel.com>

function getEinstein() {
// create array of Einstein quotes
var ar = new Array(20)
ar[0] = "Each ray of light moves in the coordinate system 'at rest' with the definite, constant velocity V independent of whether this ray of light is emitted by a body at rest or a body in motion."
ar[1] = "People who have been privileged to contribute something to the advancement of science should not let [arguments about priority] becloud their joy over the fruits of common endeavor."
ar[2] = "It seems that scientific distinction and personal qualities do not always go hand in hand. I value a harmonious person far more than the craftiest formula jockey or experimentalist."
ar[3] = "The more success the quantum theory has, the sillier it looks."
ar[4] = "One should not pursue goals that are easily achieved. One must develop an instinct for what one can just barely achieve through one's greatest efforts."
ar[5] = "The theory is beautiful beyond comparison. However, only one colleague has really been able to understand it and [use it]."
ar[6] = "The mainspring of scientific thought is not an external goal toward which one must strive, but the pleasure of thinking."
ar[7] = "For me, a hypothesis is a statement whose truth is temporarily assumed, but whose meaning must be beyond all doubt."
ar[8] = "[A researcher] adapts to the facts by intuitive selection of the possible theories based upon axioms."
ar[9] = "The truth of a theory can never be proven, for one never knows if future experience will contradict its conclusions."
ar[10] = "It is my inner conviction that the development of science seeks in the main to satisfy the longing for pure knowledge."
ar[11] = "The aspect of knowledge that has not yet been laid bare gives the investigator a feeling akin to that experienced by a child who seeks to grasp the masterly way in which adults manipulate things."
ar[12] = "The theory of relativity is nothing but another step in the centuries-old evolution of our science, one which preserves the relationships discovered in the past, deepening their insights and adding new ones."
ar[13] = "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality."
ar[14] = "We may in fact regard [geometry] as the most ancient branch of physics...Without it I would have been unable to formulate the theory of relativity."
ar[15] = "The four men who laid the foundations of physics on which I have been able to costruct my theory are Galileo, Newton, Maxwell, and Lorentz."
ar[16] = "The Lord God is subtle, but malicious he is not."
ar[17] = "I have second thoughts. Maybe God is malicious."
ar[18] = "Nature conceals her secrets because she is sublime, not because she is a trickster."
ar[19] = "Describing the physical laws without reference to geometry is similar to describing our thoughts without words."
ar[20] = "There is no doubt that all but the crudest scientific work is based on a firm belief-akin to a religious feeling-in the rationality and comprehensibility of the world."
ar[21] = "The scientist finds his reward in what Henri Poincare calls the joy of comprehension, and not in the possibilities of application to which any discovery may lead."
ar[22] = "The creative principle [of science] resides in mathematics."

var now = new Date()
var sec = now.getSeconds()
document.getElementById('random').value=ar[sec % 20]
}

