<!-- MAIN IMAGE BLOCK

// Set up the image files to be used.

var mainImages = new Array() // do not change this

// To add more image files, continue with the
// pattern below, adding to the array.

mainImages[0] = 'images/family1a.jpg'
mainImages[1] = 'images/family2a.jpg'
mainImages[2] = 'images/family3a.jpg'


// do not edit anything below this line

var j = 0
var p = mainImages.length;
var preBuffer = new Array()

for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = mainImages[i]
}

var whichMainImage = Math.round(Math.random()*(p-1));

function show_main_image(){
	document.write('<img src="'+mainImages[whichMainImage]+'">');
}

//  End -->

