// JavaScript Document


	// Set up the image files to be used.
	var theFact = new Array() // do not change this
	// To add more image files, continue with the
	// pattern below, adding to the array.
	theFact[0] = 'images/fact1.gif'
	theFact[1] = 'images/fact2.gif'
	theFact[2] = 'images/fact3.gif'
	theFact[3] = 'images/fact4.gif'
	theFact[4] = 'images/facts5.gif'
	theFact[5] = 'images/fact6.gif'
	theFact[6] = 'images/fact7.gif'
	theFact[7] = 'images/fact8.gif'
	theFact[8] = 'images/fact9.gif'
	theFact[9] = 'images/fact10.gif'
	theFact[10] = 'images/fact11.gif'
	theFact[11] = 'images/fact12.gif'
	theFact[12] = 'images/fact13.gif'
	theFact[13] = 'images/fact14.gif'
	theFact[14] = 'images/fact15.gif'
	theFact[15] = 'images/fact16.gif'
	theFact[16] = 'images/fact17.gif'
	theFact[17] = 'images/fact18.gif'
	theFact[18] = 'images/fact19.gif'
	theFact[19] = 'images/fact20.gif'
	theFact[20] = 'images/fact21.gif'
	theFact[21] = 'images/fact22.gif'
	theFact[22] = 'images/fact23.gif'
	theFact[23] = 'images/fact24.gif'

	// do not edit anything below this line

	var j = 0
	var p = theFact.length;
	var preBuffer = new Array()
	for (i = 0; i < p; i++){
   		preBuffer[i] = new Image()
   		preBuffer[i].src = theFact[i]
	}
	var whichFact = Math.round(Math.random()*(p-1));
	function showFact(){
		document.write('<img src="'+theFact[whichFact]+'">');
	}
