//<script language="JavaScript" type="text/javascript">
var q = new Array(100);
var a = new Array(100), a2 = new Array(100);
var n=0, n2=0;

//----------------------------------
function addq(q1,a1) {
if(n>=100) return;
q[n]=q1; a[n]=a1; n++;
}

//----------------------------------
function addq2(a22) {
if(n2>=100) return;
a2[n2]=a22; n2++;
}

//----------------------------------
function loadq() {
var d=new Date(), d1, i;
d1=d.getDate(); // day of the month

var first = new Date(d.getFullYear(), 0, 1);
d1 = Math.round(((d - first) / 1000 / 60 / 60 / 24) + .5, 0); // day of the year

addq('All science is either physics or stamp collecting.','Ernest Rutherford');
addq("If you can find something everyone agrees on, it's wrong.","Mo Udall")
addq('It is the mark of an educated mind to be able to entertain a thought without accepting it.','Aristotle');
addq("I have not failed. I've just found 10,000 ways that won't work.","Thomas A. Edison");
addq("Not everything that can be counted counts, and not everything that counts can be counted.","Albert Einstein");
addq("Everything that is really great and inspiring is created by the individual who can labor in freedom.","Albert Einstein");
addq("The problem with 'What You See Is What You Get' is that what you see is all you've got.","Brian Kernighan");
addq("Imagination is more important than knowledge.","Einstein");
addq("It's true that we don't know what we've got until we lose it, but it's also true that we don't know what we've been missing until it arrives.","");
addq("Worst excuse for not turning in homework: I couldn't find anyone to copy it from.","");
addq("The search for truth is more precious than its possession.","Albert Einstein");
addq("I love deadlines. I like the whooshing sound they make as they fly by.","Douglas Adams");
addq("Education is learning what you didn't even know you didn't know.","Daniel J. Boorstin");
addq("Computer science is no more about computers than astronomy is about telescopes.","Edsger Dijkstra");
addq("Computers are useless. They can only give you answers.","Pablo Picasso");
addq("An honest man is always a child.","Socrates ");
addq("Lessons are not given, they are taken.","Cesare Pavese");
addq("Everything popular is wrong.","Oscar Wilde");
addq("A year spent in artificial intelligence is enough to make one believe in God.","Alan Perlis");
addq("Facts are the air of scientists. Without them you can never fly.","Linus Pauling");
addq("Nothing in the universe can travel at the speed of light, they say, forgetful of the shadow's speed.","Howard Nemerov");
addq("We don't see things as they are, we see them as we are.","Anais Nin");
addq("Beware of bugs in the above code; I have only proved it correct, not tried it.","Donald Knuth");
addq("Lottery:  A tax on people who are bad at math.","Author Unknown");
addq("Statistics are like lampposts: they are good to lean on, but they don't shed much light.","Robert Storm-Petersen");
addq("This too shall pass","sign on King Solomon ring");
addq("The things we know best are the things we haven't been taught.","Marquis de Vauvenargues");
addq("Computer dating is fine, if you're a computer.","Rita Mae Brown");
addq("Nothing is impossible for the man who doesn't have to do it himself.","A. H. Weiler");
addq("Good judgment comes from experience, and experience comes from bad judgment.","Barry LePatner");
addq("Bachelor's degrees make pretty good placemats if you get 'em laminated.","Jeph Jacques");
addq("I have never let my schooling interfere with my education.","Mark Twain");
addq("The limits of my language are the limits of my world.","Ludwig Wittgenstein");
addq("One's work may be finished someday but one's education, never","Alexandre Dumas, the Elder");
//addq("Life is unsure, always eat your desert first.","Anonymous");
//addq("","");

addq2("Dear Professor Felder: I am a chemical engineering student at East Indiana Tech.<br>We are using your book, Elementary Principles of Chemical Processes, this semester.<br>I think I would learn much better if I could check my solutions against yours.<br>Please send me a solution manual.<br><br>Sincerely yours,<br>Alvin Wimbish.<br><br>P.S. Please send it by Federal Express.");
addq2("Isaac Newton was the first discoverer of gravy.");
addq2("Dr. X, I need your help.  Can you find me a major where I don't have to write or read very much or do any math?");
addq2("Dr. X, I didn't come to class today because i had a soar throat and couldn't hear. I think it might be strep.");
addq2("Dear Professor, <br>I saw that I lost points on the lab for questions I left blank. I thought they were rhetorical questions. Can I answer them now and get back the points?<br><br> -Sweet Student Who Marches to a Different Drummer");

i=d1; while(i>=n) i-=n;

if(document.getElementById('quote')) {
var ss='<pre><b>Quote of the Day</b><br>'+q[i];
if (a[i].length==0) ss += '</pre>';
else ss += '<br>   - '+a[i]+'</pre>';
//document.getElementById("quote").innerHTML = ss;

i=d1; while(i>=n2) i-=n2;
ss+='<pre><b>Students</b><br>'+a2[i]+ '</pre>';
document.getElementById("quote").innerHTML = ss;

}
}

//</script>

