function validate() {

	getNotify0	= document.ContactForm.notify[0].checked;
	getNotify1	= document.ContactForm.notify[1].checked;
	getNotify2	= document.ContactForm.notify[2].checked;
	getNotify3	= document.ContactForm.notify[3].checked;

	getRetail0	= document.ContactForm.retail[0].checked;
	getRetail1	= document.ContactForm.retail[1].checked;

	getFName	= document.ContactForm.fname.value;
	getLName	= document.ContactForm.lname.value;
	getEmail	= document.ContactForm.email.value;
	getPhone	= document.ContactForm.phone.value;
	getDesc	= document.ContactForm.description.value;


	var pattern = /\s*\w+@[^\.]+\.[^\.]+(\.[^\.])*\s*/;
    legalChars = "~0123456789.-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_@+";
    errorMsg = "";

	if (!(getNotify0 || getNotify1 || getNotify2 || getNotify3))
			errorMsg += "\nPlease select a Notification period";

	if (!(getRetail0 || getRetail1))
			errorMsg += "\nPlease indicate if you are a retail buyer";

    if (getDesc.length < 10)  errorMsg += "\nPlease enter a detail description";

    if (getFName.length < 2)  errorMsg += "\nPlease enter your First Name";
    if (getLName.length < 2)  errorMsg += "\nPlease enter your Last Name";
    if (getPhone.length < 10)  errorMsg += "\nPlease enter a phone number";
    if (getEmail.length < 7) errorMsg += "\nE-Mail address must be at least 7 characters";
    //Validate Email against pattern match
    if (getEmail != "") {
	if(!pattern.test(getEmail)) {
	    errorMsg += "\nInvalid E-Mail Address."
	}
    }
    //This enhances the previous EMail check. This checks for legal values and returns illegal values
    if (getEmail != "" && getEmail.length > 1) {
	for(x=0; x < getEmail.length; x++) {
	    if (legalChars.indexOf(getEmail.substring(x,x+1)) < 0)
		errorMsg += "\n" + "Illegal character '"+getEmail.substring(x,x+1)+"' at position " +(x+1)+ " in E-Mail Address.";
	}
    }
    //FINAL CHECK FOR ERROR MESSAGES
    if (errorMsg.length > 0) {
	errorMsg = "The following errors must be corrected before submitting this form: \n" + errorMsg
	alert (errorMsg);
	return false;
    }
//return false;
return true;
}