function showAnswer(anchor) {
	clearQuestions();
	anchor.className = "active";
	
	var ac = document.getElementById("answer");
	while (ac.firstChild != null) ac.removeChild(ac.firstChild);
	
	var q = anchor.firstChild.nodeValue;
	var qh = document.createElement("h3");
	qh.appendChild(document.createTextNode(q));
	ac.appendChild(qh);
	
	var a = anchor.nextSibling;
	while (a != null) {
		if (a.nodeName == "P") ac.appendChild(a.cloneNode(true));
		a = a.nextSibling;
	}
}

function clearQuestions() {
	var u = document.getElementById("questions");
	
	for (var q = 0; q < u.childNodes.length; q++) {
		if (u.childNodes[q].nodeName == "LI") {
			for (var w = 0; w < u.childNodes[q].childNodes.length; w++) {
				if (u.childNodes[q].childNodes[w].nodeName == "A") u.childNodes[q].childNodes[w].className = "";
			}
		}
	}
}