// JavaScript Document for randomized image displayed on the OME homepage
// random image code
//
// randimage: array of random photos
//

var randimage = new Array(
  	'images/home-photo1.jpg',  
  	'images/home-photo2.jpg',  
  	'images/home-photo3.jpg',  
  	'images/home-photo4.jpg',  
  	'images/home-photo5.jpg'  
);

// find random number based on number of pics in array
var randnum = Math.floor(Math.random()*randimage.length);