var numQuotes = 104; 
var quote = new Array(numQuotes); 
var name = new Array(numQuotes);
var numPhotos = 13;
var photo = new Array(numPhotos);
var photoAlt = new Array(numPhotos);
var pictureText = "";

quote[0] = "Information cannot replace education";
name[0] = "Imparato and Itarari";
quote[1] = "If passenger aircraft were built with the same reliability as computer software, the ground would be littered with Black Boxes";
name[1] = "Anonymous";
quote[2] = "The problem, when solved, will be simple";
name[2] = "Anonymous";
quote[3] = "The secret of teaching is to appear to have known all your life what you just learned this morning";
name[3] = "Unknown (<a href='http://www.cyber-nation.com/victory/quotations/authors/quotes_unknown_source.html'>website</a>)";
quote[4] = "Basic research is when I'm doing what I don't know I'm doing";
name[4] = "Von Braun";
quote[5] = "All science is becoming computer science";
name[5] = "Robert Lipshutz, vice-president for corporate development at Affymetrix Inc, May 2001";
quote[6] = "Education is not the filling of a pail, but the lighting of a fire";
name[6] = "William Butler Yeats";
quote[7] = "Furious activity is no substitute for understanding";
name[7] = "H. H. Williams";
quote[8] = "Many people would rather die than think; in fact, most do";
name[8] = "Bertrand Russell (1872-1970)";
quote[9] = "The real difficulty lies in the fact that only a finite number of angels can dance on the head of a pin, whereas the mathematician is more apt to be interested in the infinite angel problem only";
name[9] = "Derrick Henry Lehmer (1905-1991)";
quote[10] = "Your manuscript is both good and original, but the part that is good is not original, and the part that is original is not good";
name[10] = "Samuel Johnson (1709-1784)";
quote[11] = "It is probably unthinkable that in Canada a scientific lecture would be attended by a premier or a national hero";
name[11] = "Leopold Infeld (1898-1968)";
quote[12] = "Every idea is an incitement";
name[12] = "Oliver Wendell Holmes, Jr. (1841-1935)";
quote[13] = "Obviousness is always the enemy of correctness";
name[13] = "Bertrand Russell (1872-1970)";
quote[14] = "A talk in mathematics should be one of four things: beautiful, deep, surprising... or short";
name[14] = "Michel Mends France (French mathematician)";
quote[15] = "A distributed system is one in which I cannot get something done because a machine I've never heard of is down";
name[15] = "Leslie Lamport (attributed)";
quote[16] = "Ignorance more frequently begets confidence than does knowledge: it is those who know little, and not those who know much, who so positively assert that this or that problem will never be solved by science";
name[16] = "Charles Darwin (1809-1882)";
quote[17] = "The purpose of a university is to make students safe for ideas -- not ideas safe for students";
name[17] = "Clark Kerr (1911-) (Former president of the University of California)";
quote[18] = "Knowledge is the only instrument of production that is not subject to diminishing returns";
name[18] = "J. M. Clark";
quote[19] = "Where they have burned books, they will end in burning people";
name[19] = "Heinrich Heine (1797-1856)";
quote[20] = "A great many people think they are thinking when they are merely rearranging their prejudices";
name[20] = "William James (1842-1910)";
quote[21] = "Learning occurs in the mind, independent of time and place";
name[21] = "Plato";
quote[22] = "Any time you are stuck on a problem, introduce more notation";
name[22] = "Chris Skinner";
quote[23] = "Algebra With Personality=Combinatorics";
name[23] = "Dave Bayer";
quote[24] = "If after two weeks of computing, I quit the program with an error message: -System Error: ran out of memory- it does not mean that you are on the wrong track, all it means is that you need a bigger and/or faster computer";
name[24] = "Shalosh B. Ekhad";
quote[25] = "Premature optimization is the root of all evil";
name[25] = "Donald E. Knuth";
quote[26] = "If you think it's simple, then you have misunderstood the problem";
name[26] = "Bjarne Strustrup";
quote[27] = "Nature might be somehow more powerful than a digital computer";
name[27] = "Aviezri S. Fraenkel";
quote[28] = "In teaching, the greatest sin is to bore";
name[28] = "Jet Wimp Amer. Math. Monthly 105(1998), p. 292";
quote[29] = "Try not to have a good time--this is supposed to be educational";
name[29] = "Charles Schulz";
quote[30] = "Are we going to have to think today, or is it going to be all math?";
name[30] = "A student in Phil Hanlon's Math 115 class";
quote[31] = "The only real difference between grad school and jail is that when you get out of jail there are agencies to assist you in finding a job";
name[31] = "Kevin Dooley, Physics PostDoc";
quote[32] = "If I have not seen as far as others, it is because there were giants standing on my shoulders";
name[32] = "Hal Abelson";
quote[33] = "Beware of the hardware guy with the sledgehammer";
name[33] = "Unknown";
quote[34] = "I think we're in for a bad spell of wether";
name[34] = "Unknown";
quote[35] = "Some drink at the fountain of knowledge...others just gargle";
name[35] = "Unknown";
quote[36] = "Beware of programmers who carry a screwdriver";
name[36] = "Leonard Brandwein";
quote[37] = "As far as we know, our computer has never had an undetected error";
name[37] = "Weisert";
quote[38] = "Any sufficiently advanced bug is indistinguishable from a feature";
name[38] = "Kulawiec";
quote[39] = "A list is only as strong as its weakest link";
name[39] = "Don Knuth";
quote[40] = "A hacker does for love what others would not do for money";
name[40] = "Laura Creighton";
quote[41] = "Life without teachers would completely lack class";
name[41] = "Unknown";
quote[42] = "Those who go to college and never get out are called professors";
name[42] = "Unknown";
quote[43] = "Change is inevitable ... except from our University's Pepsi machine";
name[43] = "Unknown";
quote[44] = "Education cuts don't heal!!!";
name[44] = "Unknown";
quote[45] = "If at first you don't succeed, don't take up skydiving!";
name[45] = "Unknown";
quote[46] = "There is but one good, that namely knowledge and but one evil, that namely ignorance";
name[46] = "Socrates";
quote[47] = "When you lose, don't lose the lesson";
name[47] = "Dalai Lama";
quote[48] = "Always be a first-rate version of yourself instead of a second-rate version of someone else";
name[48] = "Judy Garland";
quote[49] = "I don't have any solution, but I certainly admire the problem";
name[49] = "A. Brilliant";
quote[50] = "If you are prepared, you have nothing to worry about";
name[50] = "Japanese Proverb";
quote[51] = "Universities are full of knowledge; the freshmen bring a little in and the seniors take none away, and knowledge accumulates";
name[51] = "Abbott L. Lowell";
quote[52] = "A senior always feels like the university is going to the kids";
name[52] = "Tom Masson";
quote[53] = "Putting a computer in front of a child and expecting it to teach her is like putting a book under her pillow, only more expensive";
name[53] = "Anonymous";
quote[54] = "The world has arrived at an age of cheap complex devices of great reliability, and something is bound to come of it";
name[54] = "Vannevar Bush (1945)";
quote[55] = "No one wants a good education. Everyone wants a good degree";
name[55] = "Lee Rudolph";
quote[56] = "Education is a progressive discovery of our ignorance";
name[56] = "Will Durant";
quote[57] = "Education is the period during which you are being instructed by somebody you do not know, about something you do not want to know";
name[57] = "Gilbert K. Chesterton";
quote[58] = "Education is an admirable thing, but nothing that is worth knowing can be taught";
name[58] = "Oscar Wilde";
quote[59] = "To educate a man in mind and not in morals is to educate a menace to society";
name[59] = "Theodore Roosevelt";
quote[60] = "You can lead a boy to college, but you cannot make him think";
name[60] = "Elbert Hubbard";
quote[61] = "I have never let my schooling interfere with my education";
name[61] = "Mark Twain";
quote[62] = "The educated differ from the uneducated as much as the living from the dead";
name[62] = "Aristotle";
quote[63] = "Only the educated are free";
name[63] = "Epictetus";
quote[64] = "By the year 2020, there will be a whole new industry built on remembering the year 2000";
name[64] = "Alvin Toffler";
quote[65] = "The half of knowledge is to know where to find knowledge";
name[65] = "Unknown";
quote[66] = "Pointers are like jumps, leading wildly from one part of the data structure to another. Their introduction into high-level languages has been a step backwards from which we may never recover";
name[66] = "C. A. R. Hoare (1973)";
quote[67] = "Everyone has the right to education";
name[67] = "Article 26--Universal Declaration of Human Rights-10 December 1948";
quote[68] = "The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people are so full of doubts";
name[68] = "Bertrand Russel";
quote[69] = "Education is what survives when what has been learnt has been forgotten";
name[69] = "B. F. Skinner";
quote[70] = "Happiness often sneaks in through a door you didn't know you left open";
name[70] = "John Barrymore";
quote[71] = "It is the supreme art of the teacher to awaken joy in creative expression and knowledge";
name[71] = "Albert Einstein";
quote[72] = "The real truth is that everybody is afraid of honest simplicity, because it hides nothing";
name[72] = "Paul-Jacques Grillo, Form, Function, and Design";
quote[73] = "All the evolution we know of proceeds from the vague to the definite";
name[73] = "Charles Peirce";
quote[74] = "If I have seen further it is by standing upon the shoulders of Giants";
name[74] = "Sir Isaac Newton";
quote[75] = "Good things come in small packages";
name[75] = "Traditional proverb";
quote[76] = "Even Solomon in all his glory was not arrayed like one of these";
name[76] = "Matthew 6:29";
quote[77] = "Anything that can go wrong, will go wrong";
name[77] = "Murphys Law";
quote[78] = "A computer program will always take longer to write than expected, even if you take this into consideration";
name[78] = "Rick Kromkamp";
quote[79] = "To read is to live";
name[79] = "John Aviles";
quote[80] = "I thought HTML stood for Hotmail!";
name[80] = "K. Ravery";
quote[81] = "A teacher affects eternity; he can never tell where his influence stops";
name[81] = "Henry Adams, historian and teacher (1838-1918)";
quote[82] = "No legacy is so rich as honesty";
name[82] = "Shakespeare, All's Well That Ends Well";
quote[83] = "Why are we still serving the machines rather than the other way around?";
name[83] = "Michael Dertouzos, long time Director of MIT's Laboratory for Computer Science";
quote[84] = "If you get a group of 100 people online then one will create content, 10 will 'interact' with it (commenting or offering improvements) and the other 89 will just view it";
name[84] = "What is the 1 percent Rule?: Charles Arthur in Guardian Unlimited, Thursday July 20, 2006";
quote[85] = "If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas";
name[85] = "George Bernard Shaw";
quote[86] = "In seeking wisdom, the first step is silence; the second, listening; the third, remembering; the fourth, practicing; the fifth, teaching others";
name[86] = "Ibn Gabirol, Jewish poet and philosopher (c. 1021-1070)";
quote[87] = "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offence";
name[87] = "Edsger W. Dijkstra (1930-2002)";
quote[88] = "Computer Science is no more about computers than astronomy is about telescopes";
name[88] = "Edsger W. Dijkstra (1930-2002)";
quote[89] = "We must not put mistakes into programs because of sloppiness, we have to do it systematically and with care";
name[89] = "Edsger W. Dijkstra (1930-2002)";
quote[90] = "The competent programmer is fully aware of the limited size of his own skull. He therefore approaches his task with full humility, and avoids clever tricks like the plague";
name[90] = "Edsger W. Dijkstra (1930-2002)";
quote[91] = "Education is not rocket science, it's much harder";
name[91] = "George 'Pinky' Nelson (astronaut, astrophysicist, and former director of the AAAS Project 2061)";
quote[92] = "Education is not preparation for life: Education is life itself";
name[92] = "John Dewey";
quote[93] = "Education today, more than ever before, must see clearly the dual objectives: Education for living and educating for making a living";
name[93] = "James Mason Wood";
quote[94] = "The highest result of education is tolerance";
name[94] = "Helen Keller";
quote[95] = "Education is the art of making man ethical";
name[95] = "Georg Hegel, 1821";
quote[96] = "What sculpture is to a block of marble, education is to an human soul";
name[96] = "Joseph Addison, 1711";
quote[97] = "Education s purpose is to replace an empty mind with an open one";
name[97] = "Malcom S. Forbes";
quote[98] = "The main hope of a nation lies in the proper education of its youth";
name[98] = "Erasmus";
quote[99] = "Education is the ability to think clearly, act well in the world of work and to appreciate life";
name[99] = "Brigham Young";
quote[100] = "Information cannot replace education";
name[100] = "Imparato and Itarari";
quote[101] = "The great end of education is to discipline rather than to furnish the mind; to train it to the use of its own powers rather than to fill it with the accumulation of others";
name[101] = "Tryon Edwards";
quote[102] = "Self-knowledge is best learned, not by contemplation, but action"; 
name[102] = "Goethe";
quote[103] = "Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination";
name[103] = "Albert Einstein";

photo[0] = "niagara-river-mouth-t.jpg";
photoAlt[0] = "The mouth of the Niagara River, where it disgorges into Lake Ontario";
photo[1] = "fall-at-brock01-t.jpg";
photoAlt[1] = "Fall at Brock, with colourful Red Maple trees";
photo[2] = "fall-at-brock02-t.jpg";
photoAlt[2] = "Fall at Brock, with colourful Red Maple trees";
photo[3] = "fall-at-brock03-t.jpg";
photoAlt[3] = "Fall at Brock, with colourful Red Maple trees";
photo[4] = "glendale-lift-bridge-t.jpg";
photoAlt[4] = "Glendale Lift Bridge over the Welland Canal";
photo[5] = "tug-on-canal-t.jpg";
photoAlt[5] = "Tugboat on the Welland Canal";
photo[6] = "happy-cosc-graduates.jpg";
photoAlt[6] = "Some happy Computer Science graduates";
photo[7] = "serious-cs-games-montreal.jpg";
photoAlt[7] = "Our Student Team at Montreal's CS Games";
photo[8] = "lab-d205.jpg";
photoAlt[8] = "The Main Departmental Lab, D205";
photo[9] = "happy-cosc-graduates-2.jpg";
photoAlt[9] = "Some Happy COSC Graduates";
photo[10] = "csc-social-02.jpg";
photoAlt[10] = "Computer Science Club's Social at Queenston Heights";
photo[11] = "csc-social-01.jpg";
photoAlt[11] = "Computer Science Club's Social at Queenston Heights";
photo[12] = "ACM-practice.jpg";
photoAlt[12] = "Our ACM Team Practicing for the Competition";

function getRandomQuote(){ 
    var randomNum=0;
    randomNum = parseInt(Math.random()*numQuotes);
    return "&quot;"+quote[randomNum]+"&quot; <br /><font size='1'><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+name[randomNum]+"</em></font>"; 
} 

function getRandomPic() {
    var randomNum=0;
    randomNum = parseInt(Math.random()*numPhotos);
    document.getElementById('randomPic').src="../files/pictures/frontpage/"+photo[randomNum];
    document.getElementById('randomPic').alt=photoAlt[randomNum];
    document.getElementById('picBig').href="../files/pictures/frontpage/"+photo[randomNum];
    pictureText = photoAlt[randomNum];
}

