function checkAnswer()
{
	answerKey = new Array()
	// Enter the first element in all the arrays as "0"
	answerKey[0] = new Array("0", "2", "2", "3", "4", "1", "2", "3", "4", "1", "2") //dummy section
	answerKey[1] = new Array("0", "2","4","1","3","2","4") //section 1
	answerKey[2] = new Array("0", "1", "3","1") //section 2 
	answerKey[3] = new Array("0", "3", "3","3","3","2","4") //section 3
	answerKey[4] = new Array("0", "2","3","1","2","4","2","1","2","3","3") //section 4
	answerKey[5] = new Array("0","4","4","3","3","2","2","3","2","2","4","2","3","4") //section 5
	answerKey[6] = new Array("0", "3","1","3","4","2","4","2") //section 6
	answerKey[7] = new Array("0", "3","1","3","2") //section 7
        answerKey[8] = new Array("0", "3") //section 8
        answerKey[9] = new Array("0", "4","2","3","1","4","4","3","4","1","1","4") //section 9
        answerKey[10] = new Array("0", "1","3","2","2","3", "4", "1", "1") //section 10
        answerKey[11] = new Array("0", "1","3","4","2","3","2","2") //section 11
        answerKey[12] = new Array("0", "1","2","3","1","2","3") //section 12
	possibleAnswer=-1
	thisAnswer = answerKey[thisSection][thisQuestion]
	
		for (i=0; i<questionForm.answerList.length; i++)
		{
			if (questionForm.answerList[i].checked)
			{
				possibleAnswer = i
			}
		}

	if (possibleAnswer == -1)
	{
		alert("Please answer the question before continuing.")
	}

	if (questionForm.answerList[possibleAnswer].value == thisAnswer)
	{
		alert("Correct Answer");
	}
	else
	{
		alert("Wrong Answer");

	}

}

