/* 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]="http://oredesign.org/images/Hydrogen/4w.jpg";
  bannerImg[1]="http://oredesign.org/images/dekalb/dekalb_ore_16.jpg";
  bannerImg[2]="http://oredesign.org/images/244madison/244madison-9.jpg";
  bannerImg[3]="http://oredesign.org/images/5thStreetSlope/1.1.jpg";
  bannerImg[4]="http://oredesign.org/images/teahoney/th2.jpg";
  bannerImg[5]="http://oredesign.org/images/pour/pour2.jpg";
  bannerImg[6]="http://oredesign.org/images/Lumas/Loft.jpg";
  bannerImg[7]="http://oredesign.org/images/Porto/NIGHT_FIELD.jpg";
  bannerImg[8]="http://oredesign.org/images/Vena/Urban.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()", 5*1000);
}
window.onload=cycleBan;

