adImages = new Array("images/poster1.gif","images/poster2.gif","images/poster3.gif","images/poster4.gif")

thisAd = 0

imgCt = adImages.length

function rotate() {
	if (document.images) {
		if (document.adPoster.complete) {
		thisAd++
		if (thisAd == imgCt) {
			thisAd = 0
			}
			document.adPoster.src=adImages[thisAd]
			}
			setTimeout("rotate()", 23 * 1000)
		}
	}	