











<!--

// the number in the brackets below is the number of images to be used

var images = new Array(9)

// this is the list of images that will be used in the random selection
// use this form: images[x] = 'pathtoimage.gif';
// note the first element must have the number 0

images[0] = '/promise1.jpg';
images[1] = '/promise2.jpg';
images[2] = '/promise3.jpg';
images[3] = '/promise4.jpg';
images[4] = '/promise5.jpg';
images[5] = '/promise6.jpg';
images[6] = '/promise7.jpg';
images[7] = '/promise8.jpg';
images[8] = '/promise9.jpg';

// get a random number between 0 and 3 (get used to counting from 0 when programming)

var rand = Math.floor(Math.random() * images.length);
var rand2 = rand;

while (rand2 == rand)
   {
 	  rand2 = Math.floor(Math.random() * images.length);
   }


var rand3 = rand;
while (rand3 == rand || rand3 == rand2) {
	var rand3 = Math.floor(Math.random() * images.length);


}

// get the image URL corresponding to the random number

var image = images[rand];
var image2 = images[rand2];
var image3 = images[rand3];


// "write" the HTML code for the image to the document



//-->




