    function getRadioButtonValue(radio) {
	var radioValue=0;
	
	if(radio==null) {
	    radioValue=0;
	}
	else {
	    for(i=0;i<radio.length; i++) { 
		if(radio[i].checked) { 
		    radioValue=radio[i].value;
		} 
	    }
	}
	
	return radioValue;
    }
    
    function divDisplayHide (divToShow, divToHide) {
    	document.getElementById(divToShow).style.visibility="visible";
	document.getElementById(divToShow).style.display="block";
    	document.getElementById(divToHide).style.visibility="hidden";
	document.getElementById(divToHide).style.display="none";
    }
    
    function displayNoAnswerAlert() {
    	alert("Please select an answer to see if your right!"); 
    }