// JavaScript Document


<!--
var theImages = new Array() 

theImages[0] = '../images/facts/fact1.jpg'
theImages[1] = '../images/facts/fact2.jpg'
theImages[2] = '../images/facts/fact3.jpg'
theImages[3] = '../images/facts/fact4.jpg'
theImages[4] = '../images/facts/fact5.jpg'
theImages[5] = '../images/facts/fact6.jpg'
theImages[6] = '../images/facts/fact7.jpg'
theImages[7] = '../images/facts/fact8.jpg'
theImages[8] = '../images/facts/fact9.jpg'
theImages[9] = '../images/facts/fact10.jpg'
theImages[10] = '../images/facts/fact11.jpg'
theImages[11] = '../images/facts/fact12.jpg'
theImages[12] = '../images/facts/fact13.jpg'
theImages[13] = '../images/facts/fact14.jpg'
theImages[14] = '../images/facts/fact15.jpg'
theImages[15] = '../images/facts/fact16.jpg'
theImages[16] = '../images/facts/fact17.jpg'
theImages[17] = '../images/facts/fact18.jpg'
theImages[18] = '../images/facts/fact19.jpg'
theImages[19] = '../images/facts/fact20.jpg'
theImages[20] = '../images/facts/fact21.jpg'
theImages[21] = '../images/facts/fact22.jpg'
theImages[22] = '../images/facts/fact23.jpg'
theImages[23] = '../images/facts/fact24.jpg'
theImages[24] = '../images/facts/fact25.jpg'
theImages[25] = '../images/facts/fact26.jpg'
theImages[26] = '../images/facts/fact27.jpg'
theImages[27] = '../images/facts/fact28.jpg'
theImages[28] = '../images/facts/fact29.jpg'
theImages[29] = '../images/facts/fact30.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));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}
//-->
