/* This script and many more are available <b style="color:black;background-color:#ff9999">free</b> online at
The <b style="color:black;background-color:#99ff99">JavaScript</b> Source :: http://<b style="color:black;background-color:#99ff99">javascript</b>.internet.com
Created by: Lee Underwood :: http://<b style="color:black;background-color:#99ff99">javascript</b>.internet.com/ */

var bannerImg = new Array();
  // Enter the names of the images below
  bannerImg[0]="images/page-images/home/home-text-greet.jpg";
  bannerImg[1]="images/page-images/home/home-text-gift.jpg";
  bannerImg[2]="images/page-images/home/home-text-passport.jpg";
  bannerImg[3]="images/page-images/home/home-text-prints.jpg";
  bannerImg[4]="images/page-images/home/home-award-2009.jpg";

var banner2Img = new Array();
  // Enter the names of the images below

  banner2Img[0]="images/page-images/home/homeimage1.jpg";
  banner2Img[1]="images/page-images/home/homeimage2.jpg";
  banner2Img[2]="images/page-images/home/homeimage3.jpg";
  banner2Img[3]="images/page-images/home/homeimage4.jpg";
  banner2Img[4]="images/page-images/home/homeimage5.jpg";
  banner2Img[5]="images/page-images/home/homeimage6.jpg";
  banner2Img[6]="images/page-images/home/homeimage7.jpg";

var newBanner2 = 0;
var totalBan2 = banner2Img.length;

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 <b style="color:black;background-color:#a0ffff">image</b> display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan()", 3*1000);
}

function cycleBan2() {
  newBanner2++;
  if (newBanner2 == totalBan2) {
    newBanner2 = 0;
  }
  document.banner2.src=banner2Img[newBanner2];
  // set the time below for length of <b style="color:black;background-color:#a0ffff">image</b> display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan2()", 3*1000);
}

window.onload=function(){
cycleBan();
cycleBan2();
}