

var theImages = new Array() 
theImages[0] = '../album/nd-1.gif'
theImages[1] = '../album/nd-2.gif'
theImages[2] = '../album/nd-4.gif'
theImages[3] = '../album/nd-5.gif'
theImages[4] = '../album/msu-1.gif'
theImages[5] = '../album/msu-2.gif'
theImages[6] = '../album/msu-3.gif'
theImages[7] = '../album/msu-4.gif'
theImages[8] = '../album/chicago-1.gif'
theImages[9] = '../album/chicago-2.gif'
theImages[10] = '../album/chicago-3.gif'
theImages[11] = '../album/chicago-5.gif'

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]+'" border="0">');
}