
function showImage(){
	// Set up the image files to be used.
	var theImages = new Array() // do not change this
	
	theImages[0] = '01.jpg';
	theImages[1] = '02.jpg';
	theImages[2] = '03.jpg';
	theImages[3] = '04.jpg';
	theImages[4] = '05.jpg';
	theImages[5] = '06.jpg';
	theImages[6] = '07.jpg';
	theImages[7] = '08.jpg';
	theImages[8] = '09.jpg';
	
	var j = 0;
	var p = theImages.length;
	var preBuffer = new Array();
	for (i = 0; i < p; i++){
	   preBuffer[i] = new Image();
	   preBuffer[i].src = theImages[i];
	}
	var whichImage = Math.round(Math.random()*(p-1));
	document.write('<img src="images/home-images/'+theImages[whichImage]+'" alt="Briarpatch games and puzzles" border="0" height="468" width="417">');
}
