
function validate(theForm)
{

	if (theForm.first_name.value == "") {
		alert("Please input your First Name.");
		theForm.first_name.focus();
		theForm.action = "";
		return false;
	}
	
	if (theForm.last_name.value == "") {
		alert("Please input your Last Name.");
		theForm.last_name.focus();
		theForm.action = "";
		return false;
	}
	
	if (theForm.email.value == "") {
		alert("Please input your Email Address");
		theForm.email.focus();
		theForm.action = "";
		return false;
	}
	
	/*
	if (theForm.phone.value == "") {
		alert("Please input your Daytime Phone Number");
		theForm.phone.focus();
		theForm.action = "";
		return false;
	}
	
	if (theForm.street.value == "") {
		alert("Please input your address.");
		theForm.street.focus();
		theForm.action = "";
		return false;
	}
	
	if (theForm.city.value == "") {
		alert("Please input your City.");
		theForm.city.focus();
		theForm.action = "";
		return false;
	}
	
	if (theForm.state.value == "") {
		alert("Please input your State.");
		theForm.state.focus();
		theForm.action = "";
		return false;
	}
	*/
	
	if (theForm.zip.value == "") {
		alert("Please input your Zip/Postal Code.");
		theForm.zip.focus();
		theForm.action = "";
		return false;
	}
	
	theForm.action = "https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8";
	return true;

}
