
//store the quotations in arrays
quotes = new Array(6);
quotes[0] = "gr&uuml;&szlig; gott!";
quotes[1] = "hi.";
quotes[2] = "konichiwa!";
quotes[3] = "salut!";
quotes[4] = "servus!";
quotes[5] = "gday.";

//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//display the quotation
document.write('<p id="message">' + quotes[index] + '</p>');

//done

