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 Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[1]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[2]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[3]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[4]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[5]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[6]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[7]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[8]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//END
aBanner[9]="Great Fall Value and discounts.  Check online to find your qualified discount program.  Family suites that sleeps 6.  Rooms include hotel continental breakfast."//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);
}
