<!--
// JavaScript Document
// Script to display a randomized image from those listed in array image.

function StringArray(n)  {
   this.length = n;
   for (var i=0; i<n; i++) {
      this[i] = ' '
   }
}
image = new StringArray(4)
image[0] = 'images/homePhotos/CitizensNational.jpg'
image[1] = 'images/homePhotos/dogandcat.jpg'
image[2] = 'images/homePhotos/MainStPC.jpg'
image[3] = 'images/homePhotos/LaurelStation.jpg'

var imagetotal = image.length - 1;
var imagenum = Math.round(imagetotal*Math.random());

document.write("<img src='" +image[imagenum]+ "'>");
//-->