// JavaScript Document



bannerPic = new Array("graphics/bannerpic1.jpg","graphics/bannerpic3.jpg")
imgCt = bannerPic.length
firstTime = true


function rotate() {
	if (document.images) {
	if (firstTime) {
		thisAd = Math.floor
		((Math.random() * imgCt))
		firstTime = false
		}
		else{
		thisAd++
		if (thisAd == imgCt) {
		thisAd = 0
		}
		}
		
		document.bannerpic.src=bannerPic
		[thisAd]
	
	}
}









