/* 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
  bannerImg[0]="images/1a.jpg";
  bannerImg[1]="images/2a.JPG";
  bannerImg[2]="images/3a.JPG";
  bannerImg[3]="images/4a.JPG";
  bannerImg[4]="images/5a.JPG";
  bannerImg[5]="images/6a.JPG";
  bannerImg[6]="images/7a.JPG";
  bannerImg[7]="images/8a.JPG";
  bannerImg[8]="images/9a.JPG";
  bannerImg[9]="images/10a.JPG";
  bannerImg[10]="images/11a.JPG";
  bannerImg[11]="images/12a.JPG";
  bannerImg[12]="images/13a.JPG";
  bannerImg[13]="images/14a.JPG";
  bannerImg[14]="images/15a.JPG"; 
  bannerImg[15]="images/16a.JPG";
  bannerImg[16]="images/17a.JPG";



var newBanner = 0;
var totalBan = bannerImg.length;

function cycleBan() {
  newBanner++;
  if (newBanner == totalBan) {
    newBanner = 0;
  }
  document.banner.src=bannerImg[newBanner];
  // set the time below for length of image display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan()", 4*1000);
}
window.onload=cycleBan;



