<!--
    // JavaScript to interpolate random images into a page.
    var ic = 9;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames

xoxo[0] = 'images/random/1.jpg'
xoxo[1] = 'images/random/2.jpg'
xoxo[2] = 'images/random/3.jpg'
xoxo[3] = 'images/random/4.jpg'
xoxo[4] = 'images/random/5.jpg'
xoxo[5] = 'images/random/6.jpg'
xoxo[6] = 'images/random/7.jpg'
xoxo[7] = 'images/random/8.jpg'
xoxo[8] = 'images/random/9.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);
// -->
