<!--
//Copy line 5 of the code and paste it after line 10 as many times as you have new images. Then change the zero between the brackets to the next sequential number. Also make sure the the path and image name is correct.

//The new line of code should look similar to:
	//xoxo[6] = “images/home/07.jpg”;

//After you add all of the new images you need to change the code on line 3. You will now want it to read:
	//var ic = x;

//Where ‘x’ will represent the new number of images in the list.

    // JavaScript to interpolate random images into a page.
    var ic = 8;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames
        
xoxo[0] = "images/home/01.jpg";
xoxo[1] = "images/home/02.jpg";
xoxo[2] = "images/home/03.jpg";
xoxo[3] = "images/home/04.jpg";
xoxo[4] = "images/home/05.jpg";
xoxo[5] = "images/home/06.jpg";
xoxo[6] = "images/home/07.jpg";
xoxo[7] = "images/home/08.jpg";

function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
// Write out an IMG tag, using a randomly-chosen image name.
var choice = pickRandom(ic);
// -->