// JavaScript Document
var homeImg = new Array();
  // Enter the names of the images below
  homeImg[0]="images/home001.png";
  homeImg[1]="images/home002.png";
  homeImg[2]="images/home003.png";
  homeImg[3]="images/home004.png";

var newImg = 0;
var totalImg = homeImg.length;

function cycleImg() {
  newImg++;
  if (newImg == totalImg) {
    newImg = 0;
  }
  document.home.src=homeImg[newImg];
  // set the time below for length of image display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleImg()", 10*1000);
}
window.onload=cycleImg;


