function ValidateData(){
	var error = "";
	if (document.contactUs.name.value == ""){
		error += "Your Name\n";
		}
	
	if((document.contactUs.phone.value == "")&&
		(document.contactUs.email.value == "")){		/* email entered */
		error += "Phone or Email address\n";
		}
	
	if (document.contactUs.comment.value == ""){
		error += "Comment or Question\n";
		}
	
	if(error != ""){
		alert("The following fields must be filled out:\n" + error);
		return false;
		}
	
	if(document.contactUs.email.value != ""){		/* email entered */
		if(!emailAddrChecker(document.contactUs.email.value)){
			alert("Invalid Email address\n" + document.contactUs.email.value);
			return false;
			}
		}
	
	return true;
	}
	
function emailAddrChecker(inAddr){
	
	if((inAddr.length < 8) || (inAddr.length > 30))
		return false;
	
	var i0 = inAddr.indexOf("@");
	/* no "@" or no "." */
	if((i0 < 0) || (inAddr.indexOf(".",i0+2) < i0+2))
		return false;
	
	return true;
	}
