
BannerArray = new Array (3); // This must match the total number of images in array.
BannerArray[0] = "images/logos/photo1.jpg";
BannerArray[1] = "images/logos/photo2.jpg";
BannerArray[2] = "images/logos/photo3.jpg";
BannerArray[3] = "images/logos/photo4.jpg";
BannerArray[4] = "images/logos/photo5.jpg";

current_banner=0; // This number represents which banner to use when page loads.
banner=BannerArray.length;
function CycleBanner() {
if (current_banner==banner) {
current_banner=0;
}
document.MyBanner.src=BannerArray[current_banner];
current_banner ++;
// Change the number below to alter the amount of seconds each banner appears for.
setTimeout("CycleBanner()", 2*1000);
}
