var theImages = new Array()

theImages[0] = 'bgBodyHome - 1024x909 - 40.jpg'
theImages[1] = 'bgBodyHome - 1024x909 - 40.jpg'
theImages[2] = 'bgBodyHome - 1024x909 - 40.jpg'
theImages[3] = 'bgBodyHome - 1024x909 - 40.jpg'
theImages[4] = 'bgBodyHome - 1024x909 - 40.jpg'
theImages[5] = 'bgBodyHome - 1024x909 - 40.jpg'

// 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 writeBGImage(whichImage)
{
  if(whichImage > 6) whichImage = 4;
  
	document.write('<img class="bgVisual" id="im" src="/img/bloesem/'+theImages[whichImage-1]+'"></a>');	
}
