// JavaScript Document
/* 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 banner2Img = new Array();
  // Enter the names of the images below
  banner2Img[0]="../images/mariangownsmall.jpg";
  banner2Img[1]="../images/mariangown_front.jpg";
  banner2Img[3]="../images/mariangownbackwithtrain.jpg";
  banner2Img[2]="../images/mariangownbacknotrain.jpg";

var newBanner2 = 0
var totalBan2 = banner2Img.length

function cycleBan2() {
  newBanner2++
  if (newBanner2 == totalBan2) {
    newBanner2 = 0
  }
  document.banner2.src=banner2Img[newBanner2]
  // set the time below for length of image display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan2()", 3*1000)
}
window.onload2=cycleBan2;

