var theImages = new Array();

//theImages[0] = 'img/banner_accord.jpg'
//theImages[1] = 'img/banner_mash.jpg'
//theImages[2] = 'img/banner_larmer.jpg'
//theImages[3] = 'img/banner_mando.jpg'

//theImages[0] = 'img/banner_chest.jpg'
//theImages[1] = 'img/banner_rings.jpg'
//theImages[2] = 'img/banner_band.jpg'
//theImages[3] = 'img/banner_caravan.jpg'
//theImages[4] = 'img/banner_band2.jpg'
theImages[0] = 'img/banner_jim.jpg'
theImages[1] = 'img/banner_john.jpg'
theImages[2] = 'img/banner_dave.jpg'
theImages[3] = 'img/banner_ido.jpg'
theImages[4] = 'img/banner_jim2.jpg'
theImages[5] = 'img/banner_jim.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]+'">');
}
