function Validate()
{
	var thisForm = document.questionForm;
	var cat = thisForm.qaCategoryID.value;
	var topic = thisForm.qaSubject.value;
	var name = thisForm.qaSubmitter.value;
	var email = thisForm.qaEmail.value;
	var aText = thisForm.qaQuestionText.value;
	
	// added October 5, 2005
	var searched = thisForm.qaSearchDone.checked;
	var guidelines = thisForm.qaGuidelines.checked;
	
	if (!searched) {
		alert("Please search for your answer before posting a question.  People don't like answering the same questions again and again.");
		return false;
	}
	
	if (!guidelines) {
		alert("Please read the Question Guidelines.");
		return false;
	}
	
	if (cat == "") {
		alert("Please select a category.");
		thisForm.qaCategoryID.focus();
		return false;
	}
	
	if (topic.length == 0) {
		alert("Please supply a subject. (A few words describing the nature of your question.)");
		thisForm.qaSubject.focus();
		return false;
	}
	
	if (name.length == 0) {
		alert("You must enter a name.");
		thisForm.qaSubmitter.focus();
		return false;
	}
	
	if (email.length != 0 && (email.indexOf ('@', 0) == -1 ||    email.indexOf ('.', 0) == -1)) {
		alert("Check your Email Address.");
		thisForm.qaEmail.focus();
		return false;
	}
	
	if (aText.length == 0) {
		alert("Please enter your question.");
		thisForm.qaQuestionText.focus();
		return false;
	}

	return true;
}
