function getRandImage() {
  images = new Array;
  images[0] = "images/home01.jpg";
  images[1] = "images/home02.jpg";
  images[2] = "images/home03.jpg";
  images[3] = "images/home04.jpg";
  images[4] = "images/home05.jpg";
  
  var rand1 = Math.round(Math.random() * 1000) % images.length;
  return images[rand1];
 }