// This script was supplied free by Hypergurl
// http://www.hypergurl.com
<!--
    // JavaScript to interpolate random images into a page.
    var ic = 22;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames
        
xoxo[0] = "../randomimage/001.jpg";
xoxo[1] = "../randomimage/002.jpg";
xoxo[2] = "../randomimage/003.jpg";
xoxo[3] = "../randomimage/004.jpg";
xoxo[4] = "../randomimage/005.jpg";
xoxo[5] = "../randomimage/006.jpg";
xoxo[6] = "../randomimage/007.jpg";
xoxo[7] = "../randomimage/008.jpg";
xoxo[8] = "../randomimage/009.jpg";
xoxo[9] = "../randomimage/010.jpg";
xoxo[10] = "../randomimage/011.jpg";
xoxo[11] = "../randomimage/012.jpg";
xoxo[12] = "../randomimage/013.jpg";
xoxo[13] = "../randomimage/014.jpg";
xoxo[14] = "../randomimage/015.jpg";
xoxo[15] = "../randomimage/016.jpg";
xoxo[16] = "../randomimage/017.jpg";
xoxo[17] = "../randomimage/018.jpg";
xoxo[18] = "../randomimage/019.jpg";
xoxo[19] = "../randomimage/020.jpg";
xoxo[20] = "../randomimage/021.jpg";
xoxo[21] = "../randomimage/022.jpg";
xoxo[22] = "../randomimage/023.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);
// -->
