var theImages = new Array() // do not change this

theImages[0] = 'logo/header1.jpg'
theImages[1] = 'logo/header2.jpg'
theImages[2] = 'logo/header3.jpg'
theImages[3] = 'logo/header4.jpg'
theImages[4] = 'logo/header5.jpg'
theImages[5] = 'logo/header6.jpg'
theImages[6] = 'logo/header7.jpg'
theImages[7] = 'logo/header8.jpg'
theImages[8] = 'logo/header9.jpg'
theImages[9] = 'logo/header10.jpg'
theImages[10] = 'logo/header11.jpg'
theImages[11] = 'logo/header12.jpg'
theImages[12] = 'logo/header13.jpg'
theImages[13] = 'logo/header14.jpg'
theImages[14] = 'logo/header15.jpg'
theImages[15] = 'logo/header16.jpg'
theImages[16] = 'logo/header17.jpg'
theImages[17] = 'logo/header18.jpg'
theImages[18] = 'logo/header19.jpg'
theImages[19] = 'logo/header20.jpg'
theImages[20] = 'logo/header21.jpg'
theImages[21] = 'logo/header22.jpg'
theImages[22] = 'logo/header23.jpg'
theImages[23] = 'logo/header24.jpg'
theImages[24] = 'logo/header25.jpg'
theImages[25] = 'logo/header26.jpg'
theImages[26] = 'logo/header27.jpg'
theImages[27] = 'logo/header28.jpg'
theImages[28] = 'logo/header29.jpg'
theImages[29] = 'logo/header30.jpg'
theImages[30] = 'logo/header31.jpg'
theImages[31] = 'logo/header32.jpg'
theImages[32] = 'logo/header33.jpg'
theImages[33] = 'logo/header34.jpg'
theImages[34] = 'logo/header35.jpg'
theImages[35] = 'logo/header36.jpg'
theImages[36] = 'logo/header37.jpg'
theImages[37] = 'logo/header38.jpg'
theImages[38] = 'logo/header39.jpg'
theImages[39] = 'logo/header40.jpg'
theImages[40] = 'logo/header41.jpg'
theImages[41] = 'logo/header42.jpg'
theImages[42] = 'logo/header43.jpg'
theImages[43] = 'logo/header44.jpg'
theImages[44] = 'logo/header45.jpg'
theImages[45] = 'logo/header46.jpg'
theImages[46] = 'logo/header47.jpg'

// ======================================
// do not change anything below this line
// ======================================

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]+'">');
}
