if ((document.easyform.ghost[0].checked
+ document.easyform.ghost[1].checked
+ document.easyform.ghost[2].checked) > 2)
{
alert("Hey! You cannot be a ghost and not be a ghost! Please answer the question again.");
return false;
} else {
alert("Thanks for filling out my questionnaire, "
+ document.easyform.yourname.value
+ ".");
return true;
}