/* 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 banner_img = new Array();
  // Enter the names of the images below
  banner_img[0]="ad1.gif";
  banner_img[1]="ad2.gif";
  banner_img[2]="ad3.gif";

var new_banner = 0;
var totalban = banner_img.length;

function cycleBan2() {
  new_banner++;
  if (new_banner == totalban) {
    new_banner = 0;
  }
  document.banner2.src=banner_img[new_banner];
  // set the time below for length of image display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan2()", 3*1000);
}


