var theImages = new Array() 

theImages[0] = 'spelbord/spelbord001.jpg';
theImages[1] = 'spelbord/spelbord002.jpg';
theImages[2] = 'spelbord/spelbord003.jpg';
theImages[3] = 'spelbord/spelbord004.jpg';
theImages[4] = 'spelbord/spelbord005.jpg';
theImages[5] = 'spelbord/spelbord006.jpg';
theImages[6] = 'spelbord/spelbord007.jpg';
theImages[7] = 'spelbord/spelbord008.jpg';
theImages[8] = 'spelbord/spelbord009.jpg';
theImages[9] = 'spelbord/spelbord010.jpg';
theImages[10] = 'spelbord/spelbord011.jpg';
theImages[11] = 'spelbord/spelbord012.jpg';
theImages[12] = 'spelbord/spelbord013.jpg';
theImages[13] = 'spelbord/spelbord014.jpg';
theImages[14] = 'spelbord/spelbord015.jpg';
theImages[15] = 'spelbord/spelbord016.jpg';
theImages[16] = 'spelbord/spelbord017.jpg';
theImages[17] = 'spelbord/spelbord018.jpg';
theImages[18] = 'spelbord/spelbord019.jpg';
theImages[19] = 'spelbord/spelbord020.jpg';
theImages[20] = 'spelbord/spelbord021.jpg';
theImages[21] = 'spelbord/spelbord022.jpg';
theImages[22] = 'spelbord/spelbord023.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('<td class="head_logo_spelbord" rowspan="2"><img src="'+theImages[whichImage]+'"height="55" width="180"></td>');
}