
var theImages = new Array() 

theImages[0] = '/a/img/collections/BATFX_14471.jpg'
theImages[1] = '/a/img/collections/CAR_D7539.jpg'
theImages[2] = '/a/img/collections/CHE_D_2292.jpg'
theImages[3] = '/a/img/collections/CHE_D4938.jpg'
theImages[4] = '/a/img/collections/ES_26624.jpg'
theImages[5] = '/a/img/collections/GB_330109.jpg'
theImages[6] = '/a/img/collections/HYE_D2903.jpg'
theImages[7] = '/a/img/collections/LIO_D7873.jpg'
theImages[8] = '/a/img/collections/PG_AD_9289.jpg'
theImages[9] = '/a/img/collections/WHAKILL_30543.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]+'">');
}