function step1()
{
	for(var x = 1; x < 8; x++)
	{
		var sId = "step" + x;
		var sIdContent = "step" + x + "content";
		document.getElementById(sId).style.backgroundImage = "url(../cr/images/tab_inactive.jpg)";
		document.getElementById(sIdContent).style.display = "none";
	}
	document.getElementById("step1content").style.display = "block";
	document.getElementById("step1").style.backgroundImage = "url(../cr/images/tab_active.jpg)";
}

function step2()
{
	for(var x = 1; x < 8; x++)
	{
		var sId = "step" + x;
		var sIdContent = "step" + x + "content";
		document.getElementById(sId).style.backgroundImage = "url(../cr/images/tab_inactive.jpg)";
		document.getElementById(sIdContent).style.display = "none";
	}
	document.getElementById("step2content").style.display = "block";
	document.getElementById("step2").style.backgroundImage = "url(../cr/images/tab_active.jpg)";
}

function step3()
{
	for(var x = 1; x < 8; x++)
	{
		var sId = "step" + x;
		var sIdContent = "step" + x + "content";
		document.getElementById(sId).style.backgroundImage = "url(../cr/images/tab_inactive.jpg)";
		document.getElementById(sIdContent).style.display = "none";
	}
	document.getElementById("step3content").style.display = "block";
	document.getElementById("step3").style.backgroundImage = "url(../cr/images/tab_active.jpg)";
}

function step4()
{
	for(var x = 1; x < 8; x++)
	{
		var sId = "step" + x;
		var sIdContent = "step" + x + "content";
		document.getElementById(sId).style.backgroundImage = "url(../cr/images/tab_inactive.jpg)";
		document.getElementById(sIdContent).style.display = "none";
	}
	document.getElementById("step4content").style.display = "block";
	document.getElementById("step4").style.backgroundImage = "url(../cr/images/tab_active.jpg)";
}

function step5()
{
	for(var x = 1; x < 8; x++)
	{
		var sId = "step" + x;
		var sIdContent = "step" + x + "content";
		document.getElementById(sId).style.backgroundImage = "url(../cr/images/tab_inactive.jpg)";
		document.getElementById(sIdContent).style.display = "none";
	}
	document.getElementById("step5content").style.display = "block";
	document.getElementById("step5").style.backgroundImage = "url(../cr/images/tab_active.jpg)";
}

function step6()
{
	for(var x = 1; x < 8; x++)
	{
		var sId = "step" + x;
		var sIdContent = "step" + x + "content";
		document.getElementById(sId).style.backgroundImage = "url(../cr/images/tab_inactive.jpg)";
		document.getElementById(sIdContent).style.display = "none";
	}
	document.getElementById("step6content").style.display = "block";
	document.getElementById("step6").style.backgroundImage = "url(../cr/images/tab_active.jpg)";
}

function step7()
{
	for(var x = 1; x < 8; x++)
	{
		var sId = "step" + x;
		var sIdContent = "step" + x + "content";
		document.getElementById(sId).style.backgroundImage = "url(../cr/images/tab_inactive.jpg)";
		document.getElementById(sIdContent).style.display = "none";
	}
	document.getElementById("step7content").style.display = "block";
	document.getElementById("step7").style.backgroundImage = "url(../cr/images/tab_active.jpg)";
}