function validateMailInquiryForm(theForm) {
var fullSubject;
// Tag Subject 
if (theForm.subject.value.indexOf("WebMail")==-1) {
fullSubject = ("WebMail - " + theForm.subject.value);
	}
	theForm.subject.value = fullSubject;
// End Tag Subject

// Tag Subject 
	if ((theForm.realname.value!="") && (theForm.subject.value!="") && (theForm.email.value!="") ) {
	theForm.redirect.value = (theForm.redirect.value + "?" + theForm.realname.value + "&" + theForm.subject.value + "&" + theForm.email.value);
	}
// End Tag Subject

	var manager = new ValidationManager();

//	if (isEmptyString(theForm.cntct_name.value))
	if (isEmptyString(theForm.realname.value))
		manager.addError("Please enter your name");

//	if (isEmptyString(theForm.address.value))
	if (isEmptyString(theForm.email.value))
		manager.addError("Please enter your email address");

//	if (theForm.topic[0].selected)
	if (theForm.recipient[0].selected)
		manager.addError("Please select a topic");

	if (isEmptyString(theForm.subject.value))
		manager.addError("Please enter a short title");

	if (isEmptyString(theForm.Comment.value))
		manager.addError("Please enter your comment");

	if (manager.hasError())
		manager.displayError();

	return (! manager.hasError());
}