function scoreQuiz(){

	//Score the quiz, and show appropriate layers depending on if the answers were correct
	// or incorrect
	//The index of forms[0].radio[X] where X=0 : A; X=1 : B; X=2 : C
		
    var score = 0;
	var img, x, y;
	
	img = getImage("phq1"); x = getImagePageLeft(img); y = getImagePageTop(img); moveLayerTo(getLayer('Question1Right'), x, y); moveLayerTo(getLayer('Question1Wrong'), x, y); 
	img = getImage("phq2"); x = getImagePageLeft(img); y = getImagePageTop(img); moveLayerTo(getLayer('Question2Right'), x, y); moveLayerTo(getLayer('Question2Wrong'), x, y);
	img = getImage("phq3"); x = getImagePageLeft(img); y = getImagePageTop(img); moveLayerTo(getLayer('Question3Right'), x, y); moveLayerTo(getLayer('Question3Wrong'), x, y);  
	img = getImage("phq4"); x = getImagePageLeft(img); y = getImagePageTop(img); moveLayerTo(getLayer('Question4Right'), x, y); moveLayerTo(getLayer('Question4Wrong'), x, y); 
	
	if (document.forms[0].radio1[1].checked){
		score++;
		MM_showHideLayers('Question1Right','','show', 'Question1Wrong','','hide') //Show correct layer
	}else{
		MM_showHideLayers('Question1Wrong','','show', 'Question1Right','','hide') //show incorrect layer
	}
	if (document.forms[0].radio2[1].checked){
		score++;
		MM_showHideLayers('Question2Right','','show', 'Question2Wrong','','hide') //Show correct layer
	}else{
		MM_showHideLayers('Question2Wrong','','show', 'Question2Right','','hide') //show incorrect layer
	}
	
	if (document.forms[0].radio3[0].checked){
		score++;
		MM_showHideLayers('Question3Right','','show', 'Question3Wrong','','hide') //Show correct layer
	}else{
		MM_showHideLayers('Question3Wrong','','show', 'Question3Right','','hide') //show incorrect layer
	}
	
	if (document.forms[0].radio4[1].checked){
		score++;
		MM_showHideLayers('Question4Right','','show', 'Question4Wrong','','hide') //Show correct layer
	}else{
		MM_showHideLayers('Question4Wrong','','show', 'Question4Right','','hide') //show incorrect layer
	}
	//Reposition the layers
	img = getImage("placeholder");
	x = getImagePageLeft(img); 
	y = getImagePageTop(img);
	
	moveLayerTo(getLayer('four'), x, y); 
	moveLayerTo(getLayer('three'), x, y);	
	moveLayerTo(getLayer('two'), x, y);  
	moveLayerTo(getLayer('one'), x, y); 
	moveLayerTo(getLayer('zero'), x, y);
	//Display the final score using one of the layers we created.
	if (score == 4)	     MM_showHideLayers('four','','show', 'three','','hide', 'two','','hide', 'one','','hide','zero','','hide');
	else if (score == 3) MM_showHideLayers('three','','show', 'four','','hide', 'two','','hide', 'one','','hide','zero','','hide');
	else if (score == 2) MM_showHideLayers('two','','show', 'three','','hide', 'four','','hide', 'one','','hide','zero','','hide');
	else if (score == 1) MM_showHideLayers('one','','show', 'three','','hide', 'four','','hide', 'two','','hide','zero','','hide');
	else MM_showHideLayers('zero','','show','one','','hide', 'three','','hide', 'four','','hide', 'two','','hide');
	return false;
}