/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Lee Underwood :: http://javascript.internet.com/ */

var bannerImg = new Array();
  // Enter the names of the images below

theImages[0] = 'images/headers/0.jpg'
theImages[1] = 'images/headers/1.jpg'
theImages[2] = 'images/headers/4.jpg'
theImages[3] = 'images/headers/8.jpg'
theImages[4] = 'images/headers/15.jpg'
theImages[5] = 'images/headers/28.jpg'
theImages[6] = 'images/headers/20.jpg'
theImages[7] = 'images/headers/22.jpg'
theImages[8] = 'images/headers/29.jpg'
theImages[9] = 'images/headers/24.jpg'



var newBanner = 0;
var totalBan = theImages.length;

function cycleBan() {
  newBanner++;
  if (newBanner == totalBan) {
    newBanner = 0;
  }
  document.banner.src=theImages[newBanner];
  // set the time below for length of image display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan()", 4*1000);
}
window.onload=cycleBan;
