
// Define pics in the following array.  It's set up for ten pics now, but can be modified to include as many as ten.
var pics = ["placeholder. don't modify me. the zero item in the array is never called upon",
			"<img src=../img/top_01.jpg width=750 height=184>",
			"<img src=../img/top_02.jpg width=750 height=184>",
			"<img src=../img/top_03.jpg width=750 height=184>",
			"<img src=../img/top_04.jpg width=750 height=184>",
			"<img src=../img/top_05.jpg width=750 height=184>",
			"<img src=../img/top_06.jpg width=750 height=184>",
			"<img src=../img/top_07.jpg width=750 height=184>",
			"<img src=../img/top_08.jpg width=750 height=184>",
			"<img src=../img/top_09.jpg width=750 height=184>",
			"<img src=../img/top_10.jpg width=750 height=184>",
			"<img src=../img/top_11.jpg width=750 height=184>",
			"<img src=../img/top_12.jpg width=750 height=184>",
			"<img src=../img/top_13.jpg width=750 height=184>",
			"<img src=../img/top_14.jpg width=750 height=184>"]

// This calculates the random number.
var randomNumber = Math.ceil(Math.random() * 14);

// This is a patch, since the random number output is 0-10 and there are currently only eight pics.  This would need to be modified (by changing the greater than # in the if line and the # to subtract from random number in the line that follows) if more quotes are added.
if (randomNumber > 14) {
	randomNumber = randomNumber-14;
}
