// controls
var theImages = new Array() 

theImages[0] = 'images/startbild.gif'
theImages[1] = 'images/startbild1.gif'
theImages[2] = 'images/startbild2.gif'
theImages[3] = 'images/startbild3.gif'
theImages[4] = 'images/startbild4.gif'
theImages[5] = 'images/startbild5.gif'
theImages[6] = 'images/startbild6.gif'
theImages[7] = 'images/startbild7.gif'
theImages[8] = 'images/startbild8.gif'
theImages[9] = 'images/startbild9.gif'
theImages[10] = 'images/startbild10.gif'
theImages[11] = 'images/startbild11.gif'
theImages[12] = 'images/startbild12.gif'
theImages[13] = 'images/startbild13.gif'
theImages[14] = 'images/startbild14.gif'
theImages[15] = 'images/startbild15.gif'
theImages[16] = 'images/startbild16.gif'
theImages[17] = 'images/startbild17.gif'
theImages[18] = 'images/startbild18.gif'


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]+'" vspace=0 hspace=0 border=0>');
}

