/*
Title: Random Quote Genertor Version 2
Created by: Daniel Standley
Email is standleydj@gmail.com
Website is standleydj.awardspace.com
*/

// The quotes that appear on the page.
quotes = new Array(
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut - Albert Einstein",
"The earth does not belong to us we belong to the earth. -  Anonymous",
"Never get so busy making a living that you for forget to make a life. -  Anonymous",
"I have no special talents I am only passionately curious. - Albert Einstein",
"He who ceases to seek knowledge is as good as dead. -  Anonymous",
"The secret to creativity is knowing how to hide your sources. - Albert Einstein",
"Science without religion is lame, religion without science is blind. - Albert Einstein",
"The best of us must sometimes eat our words. - J. K. Rowling",
"Always learn with an open mind and you will truly learn. -  Anonymous",
"Happiness can be found even in the darkest of times, if one remembers to turn on a light. - J. K. Rowling")


qte = quotes.length
function chooseQuote(){
    randomNum = Math.floor((Math.random() * qte))
    document.getElementById('quote').innerHTML = quotes[randomNum]
}
