//Scott Hicks, HCJ Web Development, 4/9/2010

var i = 0;
function ro()
{
	i++;
	
	var thedoc = new Array();
  	thedoc[0] = document.getElementById("d1");
  	thedoc[1] = document.getElementById("d2");
  	thedoc[2] = document.getElementById("d3");
   	thedoc[3] = document.getElementById("d4");
  	//thedoc[4] = document.getElementById("d5");
  	//thedoc[5] = document.getElementById("d6");
  	//thedoc[6] = document.getElementById("d7");
  	//thedoc[7] = document.getElementById("d8");
  	//thedoc[8] = document.getElementById("d9");
  	//thedoc[9] = document.getElementById("d10");
			  	
  	for (x = 0; x <= (thedoc.length - 1); x++)
  	{
	  	//alert(x);
	  	thedoc[x].style.display = "none";
  	}
  	
  	if (thedoc[i] == null)
	{
		i = 0;
	}
  	
  	thedoc[i].style.display = "block";

	
	var j = setTimeout("ro()", 5000);
}

function cgo()
{
	var sonic = document.getElementById("about");
	sonic.style.backgroundColor = "#ffffff";
}
function cstop()
{
	var sonic = document.getElementById("about");
	sonic.style.backgroundColor = "#eae7da";
}

