// Create arrays to contain all the values 
// for image locations

image = new Array
image[1]="/images/wellmissed.jpg"
image[2]="/images/manly_game.jpg"
image[3]="/images/children_playing2.jpg"
image[4]="/images/pensive_mood2.gif"

// Create a random number between 1 and five
random_num = (Math.round((Math.random()*3)+1))


// Write the image tag with a random array element
document.write("<img src=\"" + image[random_num] + "\">");