﻿// JavaScript Document

//function MakeArray(n) {
// this.length = n;
// for (var i=1; i<=n; i++) {
//  this[i]=0 }
//  return this
//}

function quoteMe()
{
	

//myQuotes = new MakeArray(numquotes);
//var showQuote = " ";

var numquotes = 19;  // Total number of quotes
var myQuotes = new Array(19);
var authors = new Array(19);
var i=Math.floor(Math.random()*19);

myQuotes[0] = "Imagination\n is more important\n than knowledge.";
authors[0] = "Albert Einstein";

myQuotes[1] = "Aim for the stars \nto reach the moon.";
authors[1] = "Sophie";

myQuotes[2] = "Au début les femmes aiment l'amant, à la fin elles aiment l'amour.";
authors[2] = "Honoré de Balzac";

myQuotes[3] = "If at first you don't succeed,\n skydiving is not for you.";
authors[3] = "Anonymous ";

myQuotes[4] = "I don't mind living in a man's world, \nas long as I can be a woman in it.";
authors[4] = "Marilyn Monroe";

myQuotes[5] = "Quand la vérité n'est pas libre, la liberté n'est pas vraie.";
authors[5] = "Jacques Prévert";

myQuotes[6] = "Notre Père qui êtes aux cieux, Restez-y \nEt nous nous resterons sur la terre \nQui est quelquefois si jolie.";
authors[6] = "Jacques Prévert";

myQuotes[7] = "I prefer drawing to talking. Drawing is faster and leaves less room for lies.";
authors[7] = "Le Corbusier";

myQuotes[8] = "Most people who have found that they are more intelligent than most around them, have yet to learn that one of the most intelligent things they can do is prevent said people ever finding this out.";
authors[8] = "Terry Pratchett";

myQuotes[9] = "It's no fun being good if you don't have to resist being bad first...";
authors[9] = "Sophie (me!)";

myQuotes[10] = "Having knowledge but lacking the power to express it clearly is no better than never having any ideas at all.";
authors[10] = "Pericles";

myQuotes[11] = "Unix *is* user friendly. \nIt's just selective about who its friends are.";
authors[11] = "Anonymous";

myQuotes[12] = "He who can, does. \nHe who cannot, teaches.";
authors[12] = "George Bernard Shaw";

myQuotes[13] = "Education is an admirable thing. But it is well to remember from time to time that nothing that is worth knowing can be taught.";
authors[13] = "Oscar Wilde";

myQuotes[14] = "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.";
authors[14] = "Albert Einstein";


myQuotes[15] = "God does not play dice with the universe; He plays an ineffable game of His own devising, which might be compared, from the perspective of any of the other players, i.e everyone, to being involved in an obscure and complex version of poker in a pitch-dark room, with blank cards, for infinite stakes, with a Dealer who won't tell you the rules, and who smiles all the time.";
authors[15] = "Terry Pratchett, on God";

myQuotes[16] = "No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.";
authors[16] = "Terry Pratchett, on The Speed of Light";

myQuotes[17] = "That seems to point up a significant difference between Europeans and Americans. A European says: 'I can't understand this, what's wrong with me?' An American says: 'I can't understand this, what's wrong with him?";
authors[17] = "Terry Pratchett, on The Difference Between Americans and Europeans";

myQuotes[18] = "I have no special talents. I am only passionately curious.";
authors[18] = "Albert Einstein";

//myQuotes[__] = "";
//authors[__] = "";

//myQuotes[__] = "";
//authors[__] = "";


document.getElementById("placeQuote").value = myQuotes[i] + "\n\n   - " + authors[i] + " -  ";
//document.getElementById("placeQuoter").value = authors[i];
return(true);
}

