function displayRandomQuote() { //store the quotations in arrays quotes = new Array(); authors = new Array(); quotes[0] = "Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes and weighs 30 tons," + " computers in the future may have only 1,000 vacuum tubes and perhaps weigh 1.5 tons"; authors[0] = "Popular Mechanics - March 1949"; quotes[1] = "The most overlooked advantage to owning a computer is that if they foul up there\'s no law" + " against whacking them around a little"; authors[1] = "Joe Martin"; quotes[2] = "In all large corporation, there is a pervasive fear that someone, somewhere is having fun" + " with a computer on company time" + "
Networks help alleviate that fear"; authors[2] = "John C. Dvorak"; quotes[3] = "The pure and simple truth is rarely pure and never simple"; authors[3] = "Oscar Wilde"; quotes[4] = "Why is it that drug addicts and computer afficionados are both called \'users\'?"; authors[4] = "Clifford Stoll"; quotes[5] = "From now on, ending a sentence with a preposition is something up with which I will not put"; authors[5] = "Sir Winston Churchill "; quotes[6] = "Acting is merely the art of keeping a large group of people from coughing"; authors[6] = "Sir Ralph Richardson (1902 ~ 1983)"; quotes[7] = "Acting is the most minor of gifts and not a very high-class way to earn a living" + "
After all, Shirley Temple could do it at the age of four"; authors[7] = "Katherine Hepburn (1907 ~ 2003)"; quotes[8] = "I do not fear computers" + "
   I fear the lack of them"; authors[8] = "Isaac Asimov (1920 ~ 1992)"; quotes[9] = "A common mistake that people make when trying to design something competely foolproof " + " is to underestimate the ingenuity of compete fools"; authors[9] = "Douglas Adams (1952 ~ 2001) Mostly Harmless"; quotes[10] = "The best way to predict the future is to invent it"; authors[10] = "Alan Kay"; quotes[11] = "There is a theory which states that if ever anybody discovers exactly what the Universe" + " is for and why it is here, it will instantly disappear and be replaced by something even more" + " bizarre and inexplicable" + "

" + " There is another theory which states that this has already happened."; authors[11] = "Douglas Adams (1952 ~ 2001)"; quotes[12] = "The time you enjoy wasting is not wasted time"; authors[12] = "Bertrand Russell (1872 ~ 1970)"; quotes[13] = "The whole problem with the world is that fools and fanatics" + " are always so certain of themselves, but wiser people so full of doubts"; authors[13] = "Bertrand Russell (1872 ~ 1970)"; quotes[14] = "Programming today is a race between software engineers striving to" + " build bigger and better idiot-proof programs, and the Universe trying to produce" + " bigger and better idiots" + "

So far, the Universe is winning"; authors[14] = "Rick Cook"; quotes[15] = "I am not you enough to know everything"; authors[15] = "Oscar Wilde"; quotes[16] = "The major difference between a thing that might go wrong and a thing that cannot possibly go wrong" + " is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible" + " to get at or repair"; authors[16] = "Douglas Adams (1952 ~ 2001)"; quotes[17] = "Ask your child what he wants for dinner only if he\'s buying"; authors[17] = "Fran Lebowitz"; quotes[18] = "The cure for boredom is curiosity" + "
There is no cure for curiosity"; authors[18] = "Dorothy Parker"; quotes[19] = "Our enemies are innovative and resourceful, and so are we. " + "
They never stop thinking about new ways to harm our country and our people, and neither do we"; authors[19] = "George W. Bush"; quotes[20] = "First of all, I would like to make one thing perfectly clear. I never explain anything"; authors[20] = "Mary Poppins"; quotes[21] = "The solution to Iraq - an Iraq that can govern itself, sustain itself and defend itself - is more than a military mission." + " Precisely the reason why I sent more troops into Baghdad"; authors[21] = "George W. Bush"; quotes[22] = " I just want you to know that, when we talk about war, we\'re really talking about peace"; authors[22] = "George W. Bush"; quotes[23] = "A nation which has forgotten the quality of courage which in the past has been brought to public life" + " is not as likely to insist upon or regard that quality in its chosen leaders today - and in fact we have forgotten."; authors[23] = "John F. Kennedy"; quotes[23] = " I look forward to a future in which our country will match its military strength with our moral restraint," + " its wealth with our wisdom, its power with our purpose"; authors[23] = "John F. Kennedy"; quotes[24] = "A nation that continues year after year to spend more money on military defense than on programs of" + " social uplift is approaching spiritual doom."; authors[24] = "Martin Luther King, Jr."; quotes[25] = "Our military forces are an arm of government, just like the Department of Social Welfare, although" + " probably less able to inflict widespread harm"; authors[25] = "David Lange"; /* quotes[X] = "xxxQUOTExxx"; authors[X] = "xxxAUTHORxxx"; */ //calculate a random index index = Math.floor(Math.random() * quotes.length); //display the quotation document.write('

random quote<\/h2>

' + quotes[index] + '<\/p>

' + authors[index] + '<\/p><\/div>'); //done }