// JavaScript Document
function validate() {
	if(document.form1.name_first.value.length < 1) {
		window.alert("Please enter your first name.");
		return false;
	}
	if(document.form1.name_last.value.length < 1) {
		window.alert("Please enter your last name.");
		return false;
	}
	if(document.form1.cust_address.value.length < 1) {
		window.alert("Please enter your address.");
		return false;
	}
	if(document.form1.cust_city.value.length < 1) {
		window.alert("Please enter the city in which you reside.");
		return false;
	}
	if (document.form1.state.selectedIndex == 0 ) {
		window.alert ("Please select the state in which you reside.");
		return false;
    	}
/*	if(document.form1.cust_state.value.length < 1) {
		window.alert("Please enter the state in which you reside.");
		return false;
	}
*/	if(document.form1.cust_zip.value.length < 1) {
		window.alert("Please enter your zip code.");
		return false;
	}
	if(document.form1.cust_phone.value.length < 10) {
		window.alert("Please enter a valid phone number.");
		return false;
	}
	if(document.form1.cust_email.value.length < 1) {
		window.alert("Please enter your email address.");
		return false;
	}
	if (document.form1.age.selectedIndex == 0 ) {
        window.alert ("Please tell us the age of your child.");
		return false;
    }
	return true;
}