// ---------------------------------------------------------------------------------------------
// Function to show and hide sections. Requires an outer DIV, and an inner DIV with class
// "description". The inner DIV will be automatically hidden, and a link that calls this function
// will toggle show/hide
// ---------------------------------------------------------------------------------------------

function display(x) {
	var description;
	for (i = 0; i < x.parentNode.parentNode.childNodes.length; i++) {
		if (x.parentNode.parentNode.childNodes[i].className == "description") {
			description = x.parentNode.parentNode.childNodes[i];
			break;
		}
	}
	if (description.style.display == 'block') {
		description.style.display = 'none';
	} else {
		description.style.display = 'block';
	}
}
