// JavaScript Document// Number of alternative images var ic = 4; var image = new Array(ic); // Array to hold filenames image[0] = "http://www.hull-lighting.co.uk/pics/updated_images/refresh_images/brilliant.jpg"; image[1] = "http://www.hull-lighting.co.uk/pics/updated_images/refresh_images/dazzling.jpg";  image[2] = "http://www.hull-lighting.co.uk/pics/updated_images/refresh_images/sparkling.jpg";  image[3] = "http://www.hull-lighting.co.uk/pics/updated_images/refresh_images/gleaming.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);
