<!-- Begin
// 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.

theImages[0] = 'img/headers/1.jpg' // Mercedes SLR
theImages[1] = 'img/headers/2.jpg' // BMW Z4 Cabrio
theImages[2] = 'img/headers/3.jpg' // BMW 7 serie
theImages[3] = 'img/headers/4.jpg' // Mercedes CL
theImages[4] = 'img/headers/5.jpg' // A6 Avant
theImages[5] = 'img/headers/6.jpg' // Range Rover Sport
theImages[6] = 'img/headers/7.jpg' // BMW 6 serie cabrio
theImages[7] = 'img/headers/8.jpg' // BMW M6 coupe
theImages[8] = 'img/headers/9.jpg' // Jaguar XKR
theImages[9] = 'img/headers/10.jpg' // Mercedes S-klasse
theImages[10] = 'img/headers/11.jpg' // BMW 3 cabrio
theImages[11] = 'img/headers/12.jpg' // Beetle cabrio
theImages[12] = 'img/headers/13.jpg' // Mini cabrio
theImages[13] = 'img/headers/14.jpg' // SLK cabrio
theImages[14] = 'img/headers/15.jpg' // S5
theImages[15] = 'img/headers/16.jpg' // TT
theImages[16] = 'img/headers/17.jpg' // C-klasse

// do not edit 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]+'">');
}

//  End -->
