// JavaScript Document

// Drummy's Random Image Script
// (C) 2006 Paul Voth, Drummy.org

function get_random()
{

// Make sure that random()*X) has the correct
// number. The number of images defined below.
var ranNum= Math.floor(Math.random()*9);
return ranNum;
}
var whichImg=get_random();

function show_image() {

// Add your images here.
// Make sure that Array(X) has the number
// of images that you want to include
var img=new Array(9)
img[0]="../images/dolomite_bridge.jpg";
img[1]="../images/eastway.jpg";
img[2]="../images/maharastra.jpg";
img[3]="../images/nanaimo.jpg";
img[4]="../images/power_station.jpg";
img[5]="../images/skeena.jpg";
img[6]="../images/southern_alps.jpg";
img[7]="../images/the_city.jpg";
img[8]="../images/pacific_ocean.jpg";
 // Here the actual displaying of the image is taking place.
document.write("<img src='images/");
document.write(img[whichImg]);
document.write("' border='0' />");
}

