
window.onload = rotate;

var thisAd = 0;

function rotate() {
	var adImages = new Array("image1.jpg","image2.jpg","image3.jpg", "image4.jpg", "image5.jpg" , "image6.jpg", "image7.jpg", "image8.jpg");

	thisAd++;
	if (thisAd == adImages.length) {
		thisAd = 0;
	}
	document.getElementById("adBanner").src = adImages[thisAd];
	

	setTimeout(rotate, 5 * 1000);
}


