    // JavaScript to interpolate random images into a page.
    var ic = 20;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames
        
xoxo[0] = "http://www.pplbiomechanics.ie/other_images/rotate1.jpg";
xoxo[1] = "http://www.pplbiomechanics.ie/other_images/rotate2.jpg";
xoxo[2] = "http://www.pplbiomechanics.ie/other_images/rotate3.jpg";
xoxo[3] = "http://www.pplbiomechanics.ie/other_images/rotate4.jpg";
xoxo[4] = "http://www.pplbiomechanics.ie/other_images/rotate5.jpg";
xoxo[5] = "http://www.pplbiomechanics.ie/other_images/rotate6.jpg";
xoxo[6] = "http://www.pplbiomechanics.ie/other_images/rotate7.jpg";
xoxo[7] = "http://www.pplbiomechanics.ie/other_images/rotate8.jpg";
xoxo[8] = "http://www.pplbiomechanics.ie/other_images/rotate9.jpg";
xoxo[9] = "http://www.pplbiomechanics.ie/other_images/rotate10.jpg";
xoxo[10] = "http://www.pplbiomechanics.ie/other_images/rotate11.jpg";
xoxo[11] = "http://www.pplbiomechanics.ie/other_images/rotate12.jpg";
xoxo[12] = "http://www.pplbiomechanics.ie/other_images/rotate13.jpg";
xoxo[13] = "http://www.pplbiomechanics.ie/other_images/rotate14.jpg";
xoxo[14] = "http://www.pplbiomechanics.ie/other_images/rotate15.jpg";
xoxo[15] = "http://www.pplbiomechanics.ie/other_images/rotate16.jpg";
xoxo[16] = "http://www.pplbiomechanics.ie/other_images/rotate17.jpg";
xoxo[17] = "http://www.pplbiomechanics.ie/other_images/rotate18.jpg";
xoxo[18] = "http://www.pplbiomechanics.ie/other_images/rotate19.jpg";
xoxo[19] = "http://www.pplbiomechanics.ie/other_images/rotate20.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);
