
// 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",
			'<td colspan="2" background=http://www.abclang.com/images/background01.jpg>',
			'<td colspan="2" background=http://www.abclang.com/images/background02.jpg>',
			'<td colspan="2" background=http://www.abclang.com/images/background03.jpg>',
			'<td colspan="2" background=http://www.abclang.com/images/background04.jpg>',
			'<td colspan="2" background=http://www.abclang.com/images/background05.jpg>']
*/
var pics = ["placeholder. don't modify me. the zero item in the array is never called upon",
			'<td colspan="2" background="/images/background01.jpg">',
			'<td colspan="2" background="/images/background02.jpg">',
			'<td colspan="2" background="/images/background03.jpg">',
			'<td colspan="2" background"/images/background04.jpg">',
			'<td colspan="2" background="/images/background05.jpg">']

// This calculates the random number.
var randomNumber = Math.ceil(Math.random() * 5);

// This is a patch, since the random number output is 0-14.  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 > 5) {
	randomNumber = randomNumber-5;
}
document.write(pics[randomNumber])

