var iRotateInterval = 5000; //REPLACE THIS MILLISECOND VALUE TO CHANGE THE ROTATION INTERVAL
var iLastVisibleIndex = -1;
var iMaximumIndex = 9;
var aBanner = new Array()
aBanner[0]="Great Value in Page/Lake Powell!   Super Late August rates and ask about our suites.  All rooms includes our signature Full Hot Breakfast Buffet.  What a Deal!  Book Now!"//END
aBanner[1]="Great Value in Page/Lake Powell!   Super Late August rates and ask about our suites.  All rooms includes our signature Full Hot Breakfast Buffet.  What a Deal!  Book Now!"//END
aBanner[2]="Great Value in Page/Lake Powell!   Super Late August rates and ask about our suites.  All rooms includes our signature Full Hot Breakfast Buffet.  What a Deal!  Book Now!"//END
aBanner[3]="Great Value in Page/Lake Powell!   Super Late August rates and ask about our suites.  All rooms includes our signature Full Hot Breakfast Buffet.  What a Deal!  Book Now!"//END
aBanner[4]="Great Value in Page/Lake Powell!   Super Late August rates and ask about our suites.  All rooms includes our signature Full Hot Breakfast Buffet.  What a Deal!  Book Now!"//END
aBanner[5]="Great Value in Page/Lake Powell!   Super Late August rates and ask about our suites.  All rooms includes our signature Full Hot Breakfast Buffet.  What a Deal!  Book Now!"//END
aBanner[6]="Great Value in Page/Lake Powell!   Super June rates and ask about our suites.  All rooms includes our signature Full Hot Breakfast Buffet.  What a Deal!  Book Now!"//END
aBanner[7]="We offer luxury family suites with 3 queen beds and a sofa bed.  Great Family Deal!  Better than 2 rooms."//END
aBanner[8]="We offer luxury family suites with 3 queen beds and a sofa bed.  Great Family Deal!  Better than 2 rooms."//END
aBanner[9]="We offer luxury family suites with 3 queen beds and a sofa bed.  Great Family Deal!  Better than 2 rooms."//END

function rotate()
{
	var iIndex, iCurrentVisibleIndex;
	
	iCurrentVisibleIndex = iLastVisibleIndex + 1;
	if(iCurrentVisibleIndex > iMaximumIndex || aBanner[iCurrentVisibleIndex].length == 0)
		iCurrentVisibleIndex = 0;
	
	//IF THE CURRENT ARRAY INDEX HAS A VALUE, THEN DISPLAY IT
	if(aBanner[iCurrentVisibleIndex].length > 0) 
		document.getElementById("whatsHotContent").innerHTML = aBanner[iCurrentVisibleIndex];			

	iLastVisibleIndex = iCurrentVisibleIndex;
	
	setTimeout("rotate();", iRotateInterval);
}