// JavaScript Document
var imageList = new Array;
var transitionList = new Array;

imageList[0] = new Image;
imageList[0].src = "images/image12.jpg";
transitionList[0] = 3000;
imageList[1] = new Image;
imageList[1].src = "images/image1.jpg";
transitionList[1] = 3000;
imageList[2] = new Image;
imageList[2].src = "images/image2.jpg";
transitionList[2] = 3000;
imageList[3] = new Image;
imageList[3].src = "images/image3.jpg";
transitionList[3] = 3000;
imageList[4] = new Image;
imageList[4].src = "images/image13.jpg";
transitionList[4] = 3000;
imageList[5] = new Image;
imageList[5].src = "images/image4.jpg";
transitionList[5] = 3000;
imageList[6] = new Image;
imageList[6].src = "images/image5.jpg";
transitionList[6] = 3000;
imageList[7] = new Image;
imageList[7].src = "images/image6.jpg";
transitionList[7] = 3000;
imageList[8] = new Image;
imageList[8].src = "images/image7.jpg";
transitionList[8] = 3000;
imageList[9] = new Image;
imageList[9].src = "images/image14.jpg";
transitionList[9] = 3000;
imageList[10] = new Image;
imageList[10].src = "images/image8.jpg";
transitionList[10] = 3000;
imageList[11] = new Image;
imageList[11].src = "images/image15.jpg";
transitionList[11] = 3000;
imageList[12] = new Image;
imageList[12].src = "images/image9.jpg";
transitionList[12] = 3000;
imageList[13] = new Image;
imageList[13].src = "images/image10.jpg";
transitionList[13] = 3000;
imageList[14] = new Image;
imageList[14].src = "images/image11.jpg";
transitionList[14] = 3000;

function rotateBanner(frameNumber) {
	document.banner.src = imageList[frameNumber].src;
	var imageChoice = frameNumber + 1;
		if (imageChoice == imageList.length) {
			imageChoice = 0;
			}
			window.setTimeout("rotateBanner(" + imageChoice + ")",transitionList[frameNumber]);
}