// JavaScript Document
var period = 4; // fade period in seconds.  Includes 1 second fade-in and 1 second fade-out
var fcontent = new Array();

fcontent[0]="Welcome to the White River Inn, Cotter, Arkansas. A luxury fishing lodge on a bluff overlooking the White River.";
fcontent[1]="\"No doubt the best accommodations on the White River!\" <br />Jeff Biggs, Dallas";
fcontent[2]="\"Thanks for two days of warmth, friendliness, and genuineness in a beautiful place.\"<br />Larry Dale, Harrison";
fcontent[3]="\"Moose and Tina are perfect hosts at an amazing B@B. As spectacular as the fishing is, They made the trip with their hospitality.\"<br />Richard York, Phoenix";
fcontent[4]="\"What a wonderful experience. The best bed and breakfast I have ever stayed in. I don't know what was better, the food, the view, or the hospitality? I hope to be back soon.\"<br />Gabrielle, Dallas";
fcontent[5] = "\"You have provided a wonderful retreat for all naturalists, fish hounds, and those in need of rejuvenation. A blessed, relaxing and harmonious spot. Oh, and Tina’s food is fabulous!!!\"<br />Barbara, Evergreen, CO";

index = 0
FadeList = []
function fade() {
FadeList[0] = setTimeout("fade()", period*2700)
for (i = 0; i <= 1000; i+=50) { // fade out.  i is in miliseconds 


FadeList[3*i/50+1] = setTimeout('document.getElementById("fscroller").style.filter = "alpha(opacity='+(1000-i)/2+')"', i) // for IE
FadeList[3*i/50+2] = setTimeout('document.getElementById("fscroller").style.MozOpacity = '+(1000-i)/1000, i) // for older firefox/mozilla versions
FadeList[3*i/50+3] = setTimeout('document.getElementById("fscroller").style.opacity = '+(1000-i)/1000, i) // for Opera, and newer firefox versions
	}
for (; i <= 2000; i+=50) { // fade in
FadeList[3*i/50+1] = setTimeout('document.getElementById("fscroller").style.filter = "alpha(opacity='+(i-1000)/2+')"', i)
FadeList[3*i/50+2] = setTimeout('document.getElementById("fscroller").style.MozOpacity = '+(i-1000)/1000, i)
FadeList[3*i/50+3] = setTimeout('document.getElementById("fscroller").style.opacity = '+(i-1000)/1000, i)
	}
FadeList[3*i/50+4] = setTimeout('document.getElementById("fscroller").innerHTML=fcontent[(index++)%fcontent.length]', 1000)			}

function CancelFade() {
	for (i = 0; i < FadeList.length; i++) {
		clearTimeout(FadeList[i])
	}
}
