// JavaScript To Expand and Collapse the menu block of the left hand side - Gopinath - 08 Dec 2008

function showNode(currentNode)
{	
	var totAnswers = document.getElementById('totalAnswers').value;	
	for(var totCnt = 1; totCnt <= totAnswers; totCnt++) {
	    if(totCnt != currentNode) {
	        document.getElementById('answer'+totCnt).style.display="none";
	    } else {
	        document.getElementById('answer'+totCnt).style.display="block";
	    }
	}
	
}
 