	var selectedIndex = '1';
	var maxIndex = '5';
	var timeoutId = "";

	function navMouseOver(image, index)
	{
		image.src = "/images/home/fy09/subnav_" + index + "_f2.gif";
	}

	function navMouseOut(image, index)
	{
		if (selectedIndex != index)
		{
			image.src = "/images/home/fy09/subnav_" + index + ".gif";
		}
	}

	function navRotate(index)
	{
		selectedIndex = index;
		prevIndex = maxIndex;

		if (selectedIndex > 1)
			prevIndex = parseInt(selectedIndex - 1);

		Effect.Fade('featureDiv' + parseInt(prevIndex), { duration: 1.0 });
		setTimeout("Effect.Appear(featureDiv" + index +", { duration: 1.5 })", 500);
		setTimeout("document.getElementById('featureImage" + index + "').src = '/images/home/fy09/subnav_" + index + "_f2.gif'", 1000);
		setTimeout("document.getElementById('featureImage" + parseInt(prevIndex) + "').src = '/images/home/fy09/subnav_" + prevIndex + ".gif'", 500);
	}

	function navClick(index)
	{
		clearTimeout(timeoutId);

		selectedIndex = index;

		for (i=1; i<=5; i++)
		{
			document.getElementById('featureDiv' + i).style.display = "none";
			document.getElementById('featureImage' + i).src = "/images/home/fy09/subnav_" + i + ".gif";
		}

		document.getElementById('featureDiv' + index).style.display = "block";
		document.getElementById('featureImage' + index).src = "/images/home/fy09/subnav_" + index + "_f2.gif";

	}

	function beginRotation()
	{
		timeoutId = setTimeout("rotate()", 5000);
	}

	function rotate()
	{
		if (selectedIndex == maxIndex)
			navRotate(1);
		else
			navRotate(parseInt(selectedIndex) + 1);

		timeoutId = setTimeout("rotate()", 5000)
	}

	function stopRotate()
	{
		clearTimeout(timeoutId);
	}