function open_link(n) {
	navRoot = document.getElementById("reason_" + n);
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.className == "head") {
			for (i=0; i<node.childNodes.length; i++) {
				node2 = node.childNodes[i];
				if (node2.className == "learn_more visible") {
					node2.className = "learn_more invisible";
				}
			}
		}
	}
}

function open_text(n) {
	navRoot = document.getElementById("reason_" + n);
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.className == "body invisible") {
			node.className = "body visible";
		}
	}
}

function open_reason(n) {
	open_link(n);
	open_text(n);
}

function close_link(n) {
	navRoot = document.getElementById("reason_" + n);
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.className == "head") {
			for (i=0; i<node.childNodes.length; i++) {
				node2 = node.childNodes[i];
				if (node2.className == "learn_more invisible") {
					node2.className = "learn_more visible";
				}
			}
		}
	}
}

function close_text(n) {
	navRoot = document.getElementById("reason_" + n)
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.className == "body visible") {
			node.className = "body invisible";
		}
	}
}

function close_reason(n) {
	close_link(n);
	close_text(n);
}