//please don't use single quotation marks like this one ' instead use &#39;
//If you need more than 6 quotes be sure to change both the quote array and the 
//author array to reflect the number of quotes including zero

quotes = new Array(6);
authors = new Array(6);
quotes[0] = "Hey, you! Don&#39;t lean on the cards! Are you going to buy that magazine?!";
authors[0] = "PWP";
quotes[1] = "Hey, you! Don&#39;t lean on the cards! Are you going to buy that magazine?!";
authors[1] = "PWP";
quotes[2] = "Hey, you! Don&#39;t lean on the cards! Are you going to buy that magazine?!";
authors[2] = "PWP";
quotes[3] = "Hey, you! Don&#39;t lean on the cards! Are you going to buy that magazine?!";
authors[3] = "PWP";
quotes[4] = "Hey, you! Don&#39;t lean on the cards! Are you going to buy that magazine?!";
authors[4] = "PWP";
quotes[5] = "Hey, you! Don&#39;t lean on the cards! Are you going to buy that magazine?!";
authors[5] = "PWP";

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

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

