// JavaScript Document


//store the quotations in arrays
quotes = new Array(10);
authors = new Array(10);

quotes[0] = "Designers can create normalcy out of chaos; they can clearly communicate ideas through the organising and manipulating of words and pictures.";
authors[0] = "Jeffery Veen";

quotes[1] = "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.";
authors[1] = "Douglas Adams";

quotes[2] = "It's not what you look at that matters, it's what you see.";
authors[2] = "Henry David Thoreau";

quotes[3] = "Life beats down and crushes the soul and art reminds you that you have one.";
authors[3] = "Stella Adler";

quotes[4] = "Design, in its broadest sense, is the enabler of the digital era - it's a process that creates order out of chaos, that renders technology usable to business. Design means being good, not just looking good.";
authors[4] = "Clement Mok";

quotes[5] = "I saw the angel in the marble and carved until I set him free.";
authors[5] = "Michelangelo";

quotes[6] = "Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.";
authors[6] = "Scott Adams";

quotes[7] = "You can't depend on your eyes when your imagination is out of focus.";
authors[7] = "Mark Twain";

quotes[8] = "Have no fear of perfection - you'll never reach it.";
authors[8] = "Salvador Dali";

quotes[9] = "When your heart is in your dream, no request is too extreme.";
authors[9] = "Jiminy Cricket";

quotes[10] = "Every child is an artist. The problem is how to remain an artist when you grow up.";
authors[10] = "Pablo Picasso";

//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//display the quotation
document.write("<DL>\n");
document.write("<DT>" + "\"" + quotes[index] + "\"\n");
document.write("<DD>" + "-- " + authors[index] + "\n");
document.write("</DL>\n");

//done

