var theImages = new Array()
	
theImages[0] = 'photos/index/1.jpg'
theImages[1] = 'photos/index/2.jpg'
theImages[2] = 'photos/index/3.jpg'
theImages[3] = 'photos/index/4.jpg'
theImages[4] = 'photos/index/5.jpg'
theImages[5] = 'photos/index/6.jpg'
theImages[6] = 'photos/index/7.jpg'
theImages[7] = 'photos/index/8.jpg'
theImages[8] = 'photos/index/9.jpg'
theImages[9] = 'photos/index/10.jpg'
theImages[10] = 'photos/index/11.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]+'" alt="Some work by Classic.">');
}
