
/*==============================
	USER INTERFACE CONTROL
==============================*/

/*
	Toggles the visibility of an elements children
	
	eg. Shows/Hides the child elements of a header
*/
function toggleChild(el)
{
	var content = el.nextSibling.nextSibling;
	
	if (content.style.display == "none")
	{
		content.style.display = "block"
	}
	else if (content.style.display == "block")
	{
		content.style.display = "none"
	}
	else
	{
		content.style.display = "block"
	}
}