// Set the number of question/answers there are
questionCount = 24;
// This hides the visible layers so they only have 1 open at a time
function hideAll() {
	for (i=1;i<=questionCount;i++) {
		document.getElementById("answer_" + i).style.display = "none";
	}
}
// This shows all the answers if they so choose to
function showAll() {
	for (i=1;i<=questionCount;i++) {
		document.getElementById("answer_" + i).style.display = "block";
	}
}
// This shows or hides the layer that are lookign at
function rotateLayer(d) {
	if(document.getElementById("answer_" + d).style.display == "none") { 
		document.getElementById("answer_" + d).style.display = "block";
	} else {
		document.getElementById("answer_" + d).style.display = "none";
	}
}