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

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

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

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("Life is unsure, always eat your desert first.","Anonymous");
//addq("","");

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;
}
}

//</script>

