function Error()
	{
		//alert('error')
	}

Error.prototype.generateMessage = function(errorType,questionNumber)
	{
		if (errorType == "unansweredQuestion")
			{
  				if(questionNumber == 9)
					{
						alert("Please answer question 8"); // special case q8 really in two parts - 2nd part is q9, which means 
						return;
					}
				else if(questionNumber >9)
					{
						questionNumber = questionNumber - 1; // that after q9 all question numbers must be reduced by one to refer to the right question as far as the user is concerned
						alert("please answer question "+questionNumber);
  						return;
					}
				else
					{
						alert("please answer question "+questionNumber); // however, up to question 9, no need to do any manipulation
						return;
					}
			}
		else if (errorType == "nonNumericData")
			{
  				alert("Please enter a valid answer for question "+questionNumber);
  				return;
 			}
	}
	
	
	
