// This script was supplied free by Hypergurl
// http://www.hypergurl.com
// Modified by Peter Crighton
<!--
    // JavaScript to interpolate random images into a page.
    var ic = 9;     // Number of alternative images = 1 more than last index
    var photo = new Array(ic);  // Array to hold filenames
    var caption = new Array(ic);  // Array to hold filenames
        
photo[0] = 'photos/kelmarsh.jpg" ALT="Kelmarsh Tunnel"';
caption[0] = 'Kelmarsh Tunnel - <i>John Cutler</i>';
photo[1] = 'photos/floods.jpg" ALT="Riding in the floods - Feb 2002"';
caption[1] = 'Riding in the floods Feb 2002 - <i>John Cutler</i>';
photo[2] = 'photos/guilsborough.jpg" ALT="Riding near Yelvertoft"';
caption[2] = 'Riding near Yelvertoft - <i>Peter Crighton</i>';
photo[3] = 'photos/radar.jpg" ALT="Radar Ride"';
caption[3] = 'Radar Ride - <i>Claire Yearby</i>';
photo[4] = 'photos/puncture.jpg" ALT="Puncture in Kettering"';
caption[4] = 'Puncture in Kettering - <i>Ian Macsporran</i>';
photo[5] = 'photos/velodrome.jpg" ALT="Manchester Velodrome visit"';
caption[5] = 'Visit to Manchester Velodrome - <i>Philip Gray</i>';
photo[6] = 'photos/carnival06_5.JPG" ALT="CTC at the carnival"';
caption[6] = 'CTC at the carnival - <i>Philip Gray</i>';
photo[7] = 'photos/Carnivalbikes.jpg" ALT="Carnival bikes"';
caption[7] = 'Carnival bikes - <i>Philip Gray</i>';
photo[8] = 'photos/Flanders2007.jpg" ALT="Cycling in Flanders"';
caption[8] = 'Cycling in Flanders - <i>Philip Gray</i>';

//photo[x] = '"photos/.jpg" ALT=""';
//caption[x] = ' - <i></i>';
	
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);
// -->