var theImages = new Array()

theImages[0] = '001.png'
//theImages[1] = '002.png'
theImages[1] = '003.png'
theImages[2] = '004.png'
theImages[3] = '005.png'
theImages[4] = '006.png'
theImages[5] = '007.png'

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="_common/images/random/'+theImages[whichImage]+'" width="825" height="283" alt="Image" />');
}
