// This shows answers for the Questions and Answers page
function showAnswer(intQuestion) {
	// Hides any old answers
	for (i=1; i <= intAnswers; i++)
	{
		document.getElementById('answer' + i).style.display = "none";
	}
	// Displays the actual answer
	document.getElementById('answer' + intQuestion).style.display = "block";

}

// This sets up the page, after the content has loaded
function qandaSetup() {
	// Hiding all the stuff for non-js users
	document.write('<style type="text/css">');
	document.write('#qanda h2 { cursor: pointer; color: #639;}');
	document.write('</style>');
	// Hiding all the answers
	for (i=1; i <= intAnswers; i++)
	{
		document.getElementById('answer' + i).style.display = "none";
	}
}