function showDiv(divId)
{
	if(document.getElementById(divId))
		document.getElementById(divId).style.display = "inline";
}
function showBlockDiv(divId)
{
	if(document.getElementById(divId))
		document.getElementById(divId).style.display = "block";
}
function hideDiv(divId)
{
	if(document.getElementById(divId))
		document.getElementById(divId).style.display = "none";
}
function toggleDiv(divId)
{
	obj = document.getElementById(divId);
	if(obj.style.visibility == "visible")
		obj.style.visibility = "hidden";
	else
		obj.style.visibility = "visible";
}

function showRecipe(recipeDivId)
{
	for(i=1;i<=8;i++)
	{
			hideDiv('recipe' + i);
	}
	if(recipeDivId != 0)
		showBlockDiv(recipeDivId);
	
}
