
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theImages[0] = 'http://www.nvconcordia.nl/images/footer-2trucks.jpg'
theImages[1] = 'http://www.nvconcordia.nl/images/footer-index.jpg'
theImages[2] = 'http://www.nvconcordia.nl/images/footer-3opeenrij.jpg'
theImages[3] = 'http://www.nvconcordia.nl/images/footer-6trucks.jpg'
theImages[4] = 'http://www.nvconcordia.nl/images/footer-grill2.jpg'
theImages[5] = 'http://www.nvconcordia.nl/images/footer-laaden.jpg'
theImages[6] = 'http://www.nvconcordia.nl/images/footer-detail.jpg'
theImages[7] = 'http://www.nvconcordia.nl/images/footer-rietkraag.jpg'
theImages[8] = 'http://www.nvconcordia.nl/images/footer-laadplaten.jpg'
theImages[9] = 'http://www.nvconcordia.nl/images/footer-laadhout.jpg'
theImages[10] = 'http://www.nvconcordia.nl/images/footer-truckingiethoorn.jpg'
theImages[11] = 'http://www.nvconcordia.nl/images/footer-volgeladen.jpg'
theImages[12] = 'http://www.nvconcordia.nl/images/footer-dvb.jpg'
theImages[13] = 'http://www.nvconcordia.nl/images/footer-ddv.jpg'
theImages[14] = 'http://www.nvconcordia.nl/images/footer-stw.jpg'
theImages[15] = 'http://www.nvconcordia.nl/images/footer-hgv.jpg'


// ======================================
// do not change anything below this line
// ======================================

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]+'">');
}
