	var browser = navigator.appName;
	iter=1;

function GetCount(countDown,iter) {

	widd = (screen.width)-24;
	document.getElementById("carousel").style.width = widd + "px";

	if (iter==1) {
		slideVar = "scroll1";
	} else if (iter==2) {
		slideVar = "scroll2";
	} else if (iter==3) {
		slideVar = "scroll3";
	} 
	
	countDown -= 1000;

	if(countDown<0) {
		fadeOut(1);
	} else {
		amnt = countDown;
		amnt = Math.floor(amnt/1000);

		mins = Math.floor(amnt/60);
		amnt = amnt%60;

		secs = Math.floor(amnt);
		
		t=setTimeout("GetCount('"+countDown+"','"+iter+"')", 1000);
	}
}

function fadeOut(i) {
	if (i<11) {
		if (browser=="Microsoft Internet Explorer") {
			iePostOp = i*10;
			iePostOp = 100 - iePostOp;
			document.getElementById(slideVar).style.filter = 'alpha(opacity='+iePostOp+')';
			document.getElementById("apDiv4").style.filter = 'alpha(opacity='+iePostOp+')';
		} else {
			firefoxPostOp = i*0.1;
			firefoxPostOp = 1 - firefoxPostOp;
			document.getElementById(slideVar).style.opacity = firefoxPostOp;
			document.getElementById("apDiv4").style.opacity = firefoxPostOp;
		}
		i++;
		iTwo = i;
		setTimeout("fadeOut('"+iTwo+"')",50);
	} else {
		document.getElementById(slideVar).style.display = "none";
			iter += 1;
				if (iter==1) {
					slideVar = "scroll1";
					document.getElementById("apDiv4").innerHTML = '<div style="font-weight:bold;">&quot;Valeri is one of the most extraordinary musicians in the world&quot;</div><div style="padding-left:34px; font-size:13px">- Merrill Osmond of the Osmond Brothers</div>';
				} else if (iter==2) {
					slideVar = "scroll2";
					document.getElementById("apDiv4").innerHTML = '<div style="font-weight:bold;">&quot;One of our best presentations&quot;</div><div style="padding-left:34px; font-size:13px">- Redmond Community Concert Association</div>';
				} else if (iter==3) {
					slideVar = "scroll3";
					document.getElementById("apDiv4").innerHTML = '<div style="font-weight:bold;">&quot;A wonderful evening, with a taste of Russia&quot;</div><div style="padding-left:34px; font-size:13px">- Star Valley Arts Council</div>';
				} else {
					iter=1;
					slideVar = "scroll1";
					document.getElementById("apDiv4").innerHTML = '<div style="font-weight:bold;">&quot;Valeri is one of the most extraordinary musicians in the world&quot;</div><div style="padding-left:34px; font-size:13px">- Merrill Osmond of the Osmond Brothers</div>';
				}
		fadeIn(1);
	}
}

function fadeIn(i) {
		document.getElementById(slideVar).style.display = "block";
	if (i<11) {
		if (browser=="Microsoft Internet Explorer") {
			iePostOp = i*10;
			document.getElementById(slideVar).style.filter = 'alpha(opacity='+iePostOp+')';
			document.getElementById("apDiv4").style.filter = 'alpha(opacity='+iePostOp+')';
		} else {
			firefoxPostOp = i*0.1;
			document.getElementById(slideVar).style.opacity = firefoxPostOp;
			document.getElementById("apDiv4").style.opacity = firefoxPostOp;
		}
		i++;
		iTwo = i;
		setTimeout("fadeIn('"+iTwo+"')",50);
	} else {
		GetCount(10000,iter);
	}
}

window.onload=function(){GetCount(10000,1);}