var images = new Array() 
images[0] = 'gfx/index1.jpg'
images[1] = 'gfx/index2.jpg'
images[2] = 'gfx/index3.jpg'
images[3] = 'gfx/index4.jpg'
images[4] = 'gfx/index5.jpg'
var j = 0
var p = images.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = images[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+images[whichImage]+'" alt="Fotograf Göteborg, Reklamfoto, Bröllopsfoto, Barnfoto" class="imgNL" border="0">');
}
