var theImages = new Array()


theImages[0] = '/design/ducoma/images/afbeelding1_ducoma.jpg'
theImages[1] = '/design/ducoma/images/afbeelding2_ducoma.jpg'
theImages[2] = '/design/ducoma/images/afbeelding3_ducoma.jpg'
theImages[3] = '/design/ducoma/images/afbeelding4_ducoma.jpg'
theImages[4] = '/design/ducoma/images/afbeelding5_ducoma.jpg'
theImages[5] = '/design/ducoma/images/afbeelding8_ducoma.jpg'
theImages[6] = '/design/ducoma/images/afbeelding7_ducoma.jpg'
theImages[7] = '/design/ducoma/images/afbeelding8_ducoma.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]+'">');
}

