Random CS textbook said:Implementation is left as an exercise to the student
var myQuotes = new Array;
myQuotes[0]="Quote One";
myQuotes[1]="Quote Two";
myQuotes[2]="Quote Three";
rdmQuote = Math.floor(Math.random()*(myQuotes.length));
document.write(myQuotes[rdmQuote]);
[QUOTE]<script language="JavaScript" src="http://www.msprotege.com/members/--YOURNAME--/--YOURFILE--.js"></script>[/QUOTE]
myQuotes[3]="So he says, \"Whatchu talkin 'bout, Willis?\"";
You will get:I love you.
laracroft said:I love you.