var theImages = new Array() 

theImages[0] = '/a/img/prints/thumbs/BIS_26486.jpg'
theImages[1] = '/a/img/prints/thumbs/CHE_10695.jpg'
theImages[2] = '/a/img/prints/thumbs/CHE_D7904.jpg'
theImages[3] = '/a/img/prints/thumbs/ELE_26397.jpg'
theImages[4] = '/a/img/prints/thumbs/GB_31403.jpg'
theImages[5] = '/a/img/prints/thumbs/GORM_D3815.jpg'
theImages[6] = '/a/img/prints/thumbs/PB_D7498.jpg'
theImages[7] = '/a/img/prints/thumbs/PG_AD_9259.jpg'
theImages[8] = '/a/img/prints/thumbs/PG_CH_9990.jpg'
theImages[9] = '/a/img/prints/thumbs/WILD_D3973.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]+'">');
}