// Set up the image files to be used.
var theImages = new Array();

// To add more image files, follow the pattern.
theImages[0] = 'images/banner1.jpg';
theImages[1] = 'images/banner2.jpg';
theImages[2] = 'images/banner3.jpg';
theImages[3] = 'images/banner4.jpg';
theImages[4] = 'images/banner5.jpg';
theImages[5] = 'images/banner6.jpg';

var length = theImages.length;

var whichImage = Math.round(Math.random()*(length-1));

function showImage()
{
	document.write('<img src="'+theImages[whichImage]+'">');
}