

<!-- Thanks to http://www.netlobo.com/div_hiding.html -->

function toggleLayer(whichLayer,whichAnchor,showText,hideText)
{
	if (document.getElementById)
	{
		var style2 = document.getElementById(whichLayer).style;
		var ahtml = document.getElementById(whichAnchor);
	}
	else if (document.all)
	{
		var style2 = document.all[whichLayer].style;
		var ahtml = document.all[whichAnchor];
	}
	else if (document.layers)
	{
		var style2 = document.layers[whichLayer].style;
		var ahtml = document.layers[whichAnchor];
	}

	if( style2.display == "none" )
	{
		style2.display = "block";
		ahtml.innerHTML = hideText;
	}
	else
	{
		style2.display = "none";
		ahtml.innerHTML = showText;
	}
}
