
// Create arrays to contain all the values 

path = new Array

path[1]="i/home/fiber_optic_plug.jpg"

path[2]="i/home/light_blur_road.jpg"


// Create a random number between 1 and 4
random_num = (Math.round((Math.random()*1)+1))


// Write a values or src with random array
document.write('<img src="' + path[random_num] + '" alt="A mission-critical fiber optic network." />')