/* programmer: t. shores
   description: generator of quote of the day
*/

var quotes = new Array();

quotes[0] = "&uml;If others would but reflect on mathematical truths as deeply and continuously as I have, they would make my discoveries.&uml; --- K. F. Gauss";
quotes[1] = "&uml;Our life is frittered away by detail.  Simplify, simplify!&uml; ---  Henry Thoreau, <em>Walden</em>";
quotes[2] = "&uml;I have made this [letter] longer, because I have not had the time to make it shorter.&uml; --- Blaise Pascal ";
quotes[3] = "&uml;When the iron bird flies, and horses run on wheels, the Tibetan people will be scattered like ants across the World, and the Dharma will come to the land of the red-faced people.&uml; --- Padma Sambhava (8th century Indian guru)";
quotes[4] = "&uml;God does not play dice.&uml; --- Albert Einstein. ";
quotes[5] = "&uml;I constantly meet people who are doubtful, generally without due reason, about their potential capacity [as mathematicians]. The first test is whether you got anything out of geometry. To have disliked or failed to get on with other [mathematical] subjects need mean nothing; much drill and drudgery is unavoidable before they can get started, and bad teaching can make them unintelligible even to a born mathematician.&uml; --- J. E. Littlewood";
quotes[6] = "&uml;Be humble, for you are made of dung.  Be noble, for you are made of stars.&uml; --- Serbian proverb";
quotes[7] = "&uml;I have hardly ever known a mathematician who is capable of reasoning.&uml; --- Plato, <em>The Republic</em>";
quotes[8] = "&uml;It is not knowledge, but the act of learning, not possession but the act of getting there, which grants the greatest enjoyment.&uml; ---  K. F. Gauss";
quotes[9] = "&uml;Every day people are straying away from the church and going back to God.&uml; --- Lenny Bruce";
quotes[10] = "&uml;How often have I said to you that when you have eliminated the impossible whatever remains, <em> however improbable,</em> must be the truth.&uml; --- Conan Doyle, <em>Sherlock Holmes</em>";
quotes[11] = "&uml;All truth passes through three stages.  First it is ridiculed.  Second, it is violently opposed.  Third, it is accepted as being self-evident.&uml; --- Arthur Schopenhauer";
quotes[12] = "&uml;If triangles had a god, he would have three sides.&uml; --- Charles de Montesquieu";
quotes[13] = "&uml;It is no more surprising to be born twice than to be born once.&uml; --- Voltaire";
quotes[14] = "&uml;The purpose of computing is insight, not numbers.&uml; --- R. W. Hamming";
quotes[15] = "&uml;God does not care about our mathematical difficulties. He integrates empirically.&uml; --- Albert Einstein ";
quotes[16] = "&uml; The only truly dead are those who have been forgotten.&uml; --- Jewish proverb";
quotes[17] = "&uml;One of the advantages of being disorderly is that one is constantly making exciting discoveries.&uml; --- A. A. Milne";
quotes[18] = "&uml;To love another person is to see the face of God.&uml; --- Victor Hugo";
quotes[19] = "&uml;There is no national science just as there is no national multiplication table; what is national is no longer science.&uml; --- Anton Chekhov ";
quotes[20] = "&uml;The religion of the future will be a cosmic religion.  It should transcend personal God and avoid dogma and theology.  Covering both the natural and the spiritual, it should be based on a religious sense arising from the experience of all things natural and spiritual as a meaningful unity.  Buddhism answers this description... if there is any religion that could cope with modern scientific needs, it would be Buddhism. &uml; --- Albert Einstein";
quotes[21] = "&uml;The heart has its reasons of which reason knows nothing.&uml; --- Blaise Pascal";
quotes[22] = "&uml;The truth is rarely pure and never simple.&uml; --- Oscar Wilde";
quotes[23] = "&uml;A mathematician is a machine for turning coffee into theorems.&uml; --- Paul Erd&ouml;s";
quotes[24] = "&uml;To everything there is a season, and a time to every purpose under the heaven: a time to be born and a time to die; a time to plant, and a time to pluck up that which is planted; a time to kill, and a time to heal; a time to break down, and a time to build up; a time to weep, and a time to laugh; a time to mourn and a time to dance; a time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; a time to get, and a time to lose; a time to keep, and a time to cast away; a time to rend, and a time to sew; a time to keep silence, and a time to speak; a time to love, and a time to hate; a time of war, and a time of peace.&uml --- Bible (Ecclesiastes 3:1-8)";
quotes[25] = "&uml;He was buried more like a robber that what he really was -- an ornament of his country.&uml; --- Eyewitness to the funeral of Gottfried von Leibniz";
quotes[26] = "&uml;To study and, when the occasion arises, to apply what we have learned; is that not deeply satisfying?&uml; ---  Confucius, <em>Analects</em>";
quotes[27] = "&uml;I seem to have been only like a boy playing on the seashore and diverting myself in now and then finding a smoother pebble or prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me.&uml; --- Isaac Newton";
quotes[28] = "&uml;All happy families resemble one another, but each unhappy family is unhappy in its own way.&uml; ---from <em> Anna Karenina </em> by Leo Tolstoy ";
quotes[29] = "&uml;I am the Family Face<br>Flesh perishes, I live on,<br>Protecting trait and trace<br>Through time to times anon<br>And leaping from place to place<br>Over oblivion.&uml; --- <em>Heredity</em> by Thomas Hardy";
quotes[30] = "&uml;Das is nicht Mathematik, das ist Theologie.&uml; --- Paul Gordon, upon seeing Hilbert's non-constructive proof the the basis theorem ";
quotes[31] = "&uml;Live free or die: Death is not the worst of evils. &uml; --- General John Stark";
quotes[32] = "&uml;Things are not what they seem to be, nor are they otherwise.&uml; --- Lankavatara Sutra";
quotes[33] = "&uml;Humor is the only test of gravity, and gravity of humor; for a subject which will not bear raillery is suspicious, and a jest which will not bear serious examination is false wit.&uml; --- Aristotle";
quotes[34] = "&uml;It is the heart that perceives God and not the reason. &uml; --- Blaise Pascal, <em>Pensees</em>";
quotes[35] = "&uml;Never discourage anyone ... who continually makes progress, no matter how slow.&uml; --- Plato";
quotes[36] = "&uml;Every person takes the limits of their own field of vision for the limits of the world. &uml; --- Arthur Schopenhauer";
quotes[37] = "&uml;Love is the pursuit of the whole. &uml; --- Plato";
quotes[38] = "&uml;The propositions of mathematics have, therefore, the same unquestionable certainty which is typical of such propositions as &acute;All bachelors are unmarried&acute;, but they also share the complete lack of empirical content which is associated with that certainty: The propositions of mathematics are devoid of all factual content; they convey no information whatever on any empirical subject matter. &uml; --- Carl G. Hempel";
quotes[39] = "&uml;Few men have virtue to withstand the highest bidder. &uml; --- George Washington";
quotes[40] = "&uml;How can it be that mathematics, being after all a product of human thought independent of experience, is so admirably adapted to the objects of reality? &uml; --- Albert Einstein";
quotes[41] = "&uml;Perfect as the wing of  a bird may be, it will never enable the bird to fly if unsupported by the air.  Facts are the air of science.  Without them a man of science can never rise.&uml; --- Ivan Pavlov";
quotes[42] = "&uml;I am coming more and more to the conviction that the necessity of our geometry cannot be demonstrated, at least neither by, nor for, the human intellect...geometry should be ranked, not with arithmetic, which is purely aprioristic, but with mechanics.&uml; --- K. F. Gauss";
quotes[43] = "&uml;The quality of mercy is not strain'd.  <br><br> It droppeth as the gentle rain from heaven <br><br> Upon the place beneath: it is twice blest; <br><br> It blesseth him that gives and him that takes...&uml; --- William Shakespeare, <em> The Merchant of Venice </em>";
quotes[44] = "&uml;Mathematics knows no races or geographic boundaries; for mathematics,the cultural world is one country.&uml; --- David Hilbert";
quotes[45] = "&uml;We would have much peace if we would not busy ourselves with the saying and doings of others.&uml; --- Thomas A'Kempis ";
quotes[46] = "&uml;To understand this for sense it is not required that a man should be a geometrician or a logician, but that he should be mad.  ['This' is that the volume generated by revolving the region under 1/x from 1 to infinity about the x-axis is finite.]&uml; --- Thomas Hobbes";
quotes[47] = "&uml;All the happiness there is in this world comes from thinking about others, and all the suffering comes from  preoccupation with yourself.&uml; --- Shantideva";
quotes[48] = "&uml;Infinity is merely a figure of speech, the true meaning being a limit.&uml; --- K. F. Gauss";
quotes[49] = "&uml;I must study politics and war that my sons may have liberty to study mathematics and philosophy. My sons ought to study mathematics and philosophy, geography, natural history, naval architecture, navigation, commerce and agriculture in order to give their children a right to study painting, poetry, music, architecture, statuary, tapestry, and porcelain.&uml; --- John Adams";
quotes[50] = "&uml;No human investigation can be called real science if it cannot be demonstrated mathematically.&uml; --- Leonardo da Vinci";
quotes[51] = "&uml;Euclid taught me that without assumptions there is no proof. Therefore, in any argument, examine the assumptions.&uml; --- Eric Temple";
quotes[52] = "&uml;The temple bell stops <br><br>  but the sound keeps coming <br><br> out of the flowers&uml; --- Zen haiku master Basho";
quotes[53] = "&uml;Mathematics is a game played according to certain simple rules with meaningless marks on paper. &uml; --- David Hilbert";
quotes[54] = "&uml;Artists who seek perfection in everything are those who cannot attain it in anything.&uml; --- Eugene Delacroix";
quotes[55] = "&uml;All that we see or seem is but a dream within a dream.&uml; --- Edgar Allen Poe";
quotes[56] = "&uml;C'est donc par l'&eacute;tude des mathematiques, et seulement par elle, que l'on peut se faire une idee juste et approfondie de ce que c'est qu'une science.&uml; --- Auguste Comte";
quotes[57] = "&uml;Man is equally incapable of seeing the nothingness from which he emerges and the infinity in which he is engulfed.&uml; --- Blaise Pascal";
quotes[58] = "&uml;Make everything as simple as possible, but not one bit simpler.&uml; --- Albert Einstein"; 
quotes[59] = "&uml;The mathematical sciences particularly exhibit order, symmetry, and limitation; and these are the greatest forms of the beautiful.&uml; --- Aristotle";
quotes[60] = "&uml;Thou shalt not answer questionnaires<br><br> Or quizzes upon world affairs,<br><br> Nor with compliance<br><br> Take any test. Thou shalt not sit<br><br> with statisticians nor commit<br><br> A social science.<br><br>&uml; --- W. H. Auden";
quotes[61] = "&uml; After dark all cats are leopards.&uml; --- Native American proverb (Zuni)";
quotes[62] = "&uml;And what are these fluxions? The velocity of evanescent increments. And what are these same evanescent increments? They are neither finite quantities, nor quantities infinitely small, nor yet nothing. May we not call them the ghosts of departed quantities?&uml; --- George Berkeley";
quotes[63] = "&uml;An army of sheep led by a lion would defeat an army of lions led by a sheep.&uml; --- Arab proverb";
quotes[64] = "&uml;If I am given a formula, and I am ignorant of its meaning, it cannot teach me anything, but if I already know it what does the formula teach me?&uml; --- St. Augustine";
quotes[65] = "&uml;Do not bite at the bait of pleasure till you know there is no hook beneath it&uml; --- Thomas Jefferson";
quotes[66] = "&uml;And as for Mixed Mathematics, I may only make this prediction, that there cannot fail to be more kinds of them, as nature grows further disclosed.&uml; --- Sir Francis Bacon";
quotes[67] = "&uml;Regard your good name as the richest jewel you can possible be possessed of - for credit is like fire; when once you have kindled it you may easily preserve it, but if you once extinguish it, you will find it an arduous task to rekindle it again.  The way to gain a good reputation is to endeavor to be what you desire to appear.&uml; --- Socrates";
quotes[68] = "&uml;Since the mathematicians have invaded the theory of relativity, I do not understand it myself anymore.&uml; --- Albert Einstein";
quotes[69] = "&uml;Physics is much too hard for physicists. &uml --- David Hilbert";
quotes[70] = "Let us weigh the gain and the loss in wagering that God is.  Let us consider two possibilities.  If you gain, you gain it all; if you lose, you lose nothing.  Hesitate not, then, to wager that He is.&uml; --- Blaise Pascal";
quotes[71] = "&uml;Music is the pleasure the human soul experiences from counting without being aware that it is counting.&uml; --- Gottfried von Leibniz";
quotes[72] = "&uml;An adventure is only an inconvenience rightly considered. An inconvenience is only an adventure wrongly considered.&uml --- G. K. Chesterton";
quotes[73] = "&uml;An age is known by its music.&uml; --- Croatian proverb";
quotes[74] = "&uml;He who seeks for methods without having a definite problem in mind seeks for the most part in vain.&uml; --- David Hilbert";
quotes[75] = "&uml;What is a cynic? A man who knows the price of everything and the value of nothing.&uml; --- Oscar Wilde";
quotes[76] = "&uml;Mathematics is only the art of saying the same thing in different words. &uml --- Bertrand Russell.";
quotes[77] = "&uml;There are three kinds of lies: lies, damned lies and statistics.&uml; --- Benjamin Disraeli";
quotes[78] = "&uml;Only mad dogs and Englishmen go out in the noonday sun.&uml; --- Indian proverb";
quotes[79] = "&uml;I wanted certainty in the kind of way in which people want religious faith. I thought that certainty is more likely to be found in mathematics than elsewhere. But I discovered that many mathematical demonstrations, which my teachers expected me to accept, were full of fallacies, and that, if certainty were indeed discoverable in mathematics, it would be in a new field of mathematics, with more solid foundations than those that had hitherto been thought secure.&uml; --- Bertrand Russell";
quotes[80] = "&uml;A conservative government is an organized hypocrisy.&uml; --- Benjamin Disraeli";
quotes[81] = "&uml;Each generation has its few mathematicians, and mathematics would not even notice the absence of the others.  They are useful as teachers, and their research harms no one, but it is of no importance at all.  A mathematician is either great or he is nothing. &uml; ---  Alfred Adler";
quotes[82] = "&uml;Copy from one, it's plagiarism; copy from two, it's research.&uml; --- Anon.";
quotes[83] = "&uml;Most people are bothered by those passages of Scripture that they do not understand, but the passages that bother me the most are those I do understand. &uml --- Mark Twain";
quotes[84] = "&uml;The mind of the bigot is like the pupil of the eye; the more light you pour upon it, the more it will contract. &uml --- Oliver Wendell Holmes";
quotes[85] = "&uml;A man whose mind has gone astray should study mathematics.&uml; --- Sir Francis Bacon";
quotes[86] = "&uml;If God did not exist it would be necessary to invent Him.&uml; --- Voltaire";
quotes[87] = "&uml;Being is. Being is in-itself.  Being is what it is.&uml; --- Jean-Paul Sartre";
quotes[88] = "&uml;If you seek, how is that different from pursuing sound and form? If you don't seek, how are you different from earth, wood or stone?  You must seek without seeking.&uml; --- Fo-Yan";
quotes[89] = "&uml;The good Christian should beware of mathematicians and all those who make empty prophecies.  The danger already exists that mathematicians have made a covenant with the devil to darken the spirit and confine man in the bonds of Hell.&uml; --- St. Augustine";
quotes[90] = "&uml;Science is what you know, philosophy is what you don't know. &uml --- Bertrand Russell";
quotes[91] = "&uml;Not to have control over the senses is like sailing in a rudderless ship, bound to break to pieces on coming in contact with the very first rock.&uml; --- Mahatma Gandhi";
quotes[92] = "&uml;I am America.  I am the part you won't recognize.  Black, confident, cocky; my name, not yours; my religion, not yours; my goals, my own; get used to me.&uml; --- Muhammad Ali";
quotes[93] = "&uml;The mathematical sciences exhibit order, symmetry and limitation; and these are the greatest forms of the beautiful.&uml; --- Aristotle";
quotes[94] = "&uml;God heals and the doctor takes the fee.&uml; --- Benjamin Franklin";
quotes[95] = "&uml;It is a mathematical fact that the casting of this pebble from my hand alters the centre of gravity of the universe.&uml; --- Thomas Carlyle";
quotes[96] = "&uml;If nature had arranged that husbands and wives should have children alternately, there would never be more than three in a family.&uml; --- Laurence Housman";
quotes[97] = "&uml;Medicine makes people ill, mathematics makes them sad and theology makes them sinful.&uml; --- Martin Luther";
quotes[98] = "&uml;It is the heart that perceives God and not the reason. &uml; --- Blaise Pascal, <em>Pensees</em>";
quotes[99] = "&uml;In mathematics you don't understand things.  You just get used to them. &uml; --- John von Neumann";
quotes[100] = "&uml;It is the mark of an educated mind to be able to entertain a thought without accepting it.&uml; --- Aristotle";
quotes[101] = "&uml;He who can properly define and divide is considered to be a god.&uml; --- Plato";
quotes[102] = "&uml;Cuando amor no es locura, no es amor. &uml --- Spanish proverb";
quotes[103] = "&uml;Mathematics is like checkers in being suitable for the young, not too difficult, amusing and without peril to the state.&uml; --- Plato";
quotes[104] = "&uml;Nature laughs at the difficulties of integration.&uml; --- Pierre-Simon de Laplace";
quotes[105] = "&uml;The best mind-altering drug is truth.&uml; --- Lily Tomlin";
quotes[106] = "&uml;Virtue has never been as respectable in society as money.&uml; --- Mark Twain";
quotes[107] = "&uml;It is impossible to be a mathematician without being a poet in soul.&uml; --- Sofia Kovalevskaya";
quotes[108] = "&uml;When a philosopher says something that is true then it is trivial. When he says something that is nontrivial then it is false.&uml; --- K. F. Gauss";
quotes[109] = "&uml;Death is nature's way of telling you to slow down.&uml; --- anon.";
quotes[110] = "&uml;The mathematician's function should be to simplify the intricate.  Instead, they do just the opposite, and complicate what is simple, and call it &acute;generalizing&acute;.&uml; --- David Hilbert";
quotes[111] = "&uml;I am in the present. I cannot know what tomorrow will bring forth. I can know only what the truth is for me today.  That is what I am called upon to serve, and I serve it in all lucidity.&uml; --- Igor Stravinsky";
quotes[112] = "&uml;Mathematics may be defined as the subject where we never know what we are talking about, nor whether what we are saying is true. &uml; --- Bertrand Russell";
quotes[113] = "&uml;Ignoramus et ignoramibus. &uml --- Anon.";
quotes[114] = "&uml;I would want my music to be played by amateurs ... if only amateurs could play.&uml --- Dmitry Shostakovitch";
quotes[115] = "&uml;Dost thou love life, then do not squander time, for that's the stuff life is made of.&uml --- Benjamin Franklin";
quotes[116] = "&uml;The coming of Buddhism to the West may well prove to be the most important event of the twentieth century.&uml; --- Arnold Toynbee";
quotes[117] = "&uml;In Mathematics the art of asking questions is more important than solving problems. &uml --- Georg Cantor";
quotes[118] = "&uml;To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public.&uml; --- Theodore Roosevelt";
quotes[119] = "&uml;The mathematical sciences particularly exhibit order, symmetry, and limitation; and these are the greatest forms of the beautiful.&uml; --- Aristotle";
quotes[120] = "&uml;The whole aim of practical politics is to keep the populace alarmed (and hence clamorous to be led to safety) by menacing it with an endless series of hobgoblins, all of them imaginary.&uml; --- H. L. Mencken.";
quotes[121] = "&uml;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.&uml; --- Max Dehn.";
quotes[122] = "&uml;A mathematician is a device for turning coffee into theorems.&uml; --- Paul Erd&ouml;s.";
quotes[123] = "&uml;Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.&uml; --- John von Neumann.";
quotes[124] = "&uml;For the things of this world cannot be made known without a knowledge of mathematics.&uml; --- Roger Bacon.";
quotes[125] = "&uml;It is easier to square the circle than to get round a mathematician.&uml; --- Augustus de Morgan.";
quotes[126] = "&uml;[I]t would be better for the true physics if there were no mathematicians on earth.&uml; --- Daniel Bernoulli.";
quotes[127] = "&uml;Through space the universe grasps me and swallows me up like a speck; through thought I grasp it.&uml; --- Blaise Pascal, <em>Pensees</em>";
quotes[128] = "&uml;Like the crest of a peacock so is mathematics at the head of all knowledge.&uml; --- Anon.";
quotes[129] =  "&uml;It is true that a mathematician who is not also something of a poet will never be a perfect mathematician.&uml; --- Karl Weierstrass.";
quotes[130] =  "&uml;In a completely rational society, the best of us would aspire to be teachers and the rest of us would have to settle for something less, because passing civilization along from one generation to the next ought to be the highest honor and the highest responsibility anyone could have.&uml; --- Lee Iacocca.";
quotes[131] =  "&uml;Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.&uml; --- Dr. Suess.";
quotes[132] =  "&uml;Three passions, simple but overwhelmingly strong have governed my life: the longing for love, the search for knowledge and unbearable pity for the suffering of mankind.&uml; --- Bertrand Russell.";
quotes[133] =  "&uml;God made the integers; all else is the work of man. &uml; --- Leopold Kronecker.";
quotes[134] = "&uml;Is there a thing of which it is said,&uml;See, this is new&uml;?  It has been already in the ages before us.&uml; --- Ecclesiastes 1:10";
quotes[135] = "&uml;The chief aim of all investigations of the external world should be to discover the rational order and harmony which has been imposed on it by God and which He revealed to us in the language of mathematics..&uml; --- Johannes Kepler";


function getCalendarDay(myDate) {
    var n = myDate.getDay();
    var dow = new Array(7);
    
    dow[0] = "Sunday";
    dow[1] = "Monday";
    dow[2] = "Tuesday";
    dow[3] = "Wednesday";
    dow[4] = "Thursday";
    dow[5] = "Friday";
    dow[6] = "Saturday";
    return dow[n];
  }

  function getCalendarMonth(myDate) {
    var n = myDate.getMonth();
    var moy = new Array(12);
    
    moy[0] = "January";
    moy[1] = "February";
    moy[2] = "March";
    moy[3] = "April";
    moy[4] = "May";
    moy[5] = "June";
    moy[6] = "July";
    moy[7] = "August";
    moy[8] = "September";
    moy[9] = "October";
    moy[10] = "November";
    moy[11] = "December";
    return moy[n];
  }

function dispCurrentQuote()  {
  var currDate = new Date();
  var nquote = 0;
  
  // determine the current quote
  n =  365*currDate.getFullYear() + 30*currDate.getMonth() + currDate.getDate();
  n %= quotes.length;
  document.write("<h4>Quote du jour (" + getCalendarMonth(currDate) + " " +
currDate.getDate() + ", " + currDate.getFullYear() + "): </h4> " + quotes[n]);
}

function dispCurrentAnnounce(date, announcement)  {
  var eventDate = new Date(date);
  var currDate = new Date();

  if (currDate.getTime() < eventDate.getTime()) {
    document.write("<LI> " + announcement + "<br><br>");
  }
}






