<!-- field validation script

function ValidateForm(form1) {
	var strName = form1.Name.value;
//	var strAddress = form.Address.value;
//	var strCity = form.City.value;
//	var strState = form.State.value;
	var strPhone = form1.Phone.value;
//	var strDay = form.Day.value;
//	var strTime = form.Time.value;
//	var strBest = form.Best_Time_To_Phone.value;
	var strEmail = form1.email.value;
	var strADate = form1.Arrival_Date.value;
	var strDDate = form1.Departure_Date.value;
	var strTGuests = form1.Total_Guests.value;
	var strTChildren = form1.Total_Children.value;

        if (strName.length < 4) {
		alert('Please enter your Name so we could better serve you.  Thank You!');
		form1.Name.focus();
		return(false);
	}

        if ((strEmail.length < 6) || (strEmail.indexOf ('@', 0) == -1)  || (strEmail.indexOf ('.', 0) == -1) ) {
		alert('Please enter your Email address so we could better serve you.  Thank You!');
		form1.email.focus();
		return(false);
	}
	
        if (strPhone.length < 10) {
		alert('Please enter your 10 digit Phone Number (123-456-7890) so we could better serve you.  Thank You!');
		form1.Phone.focus();
		return(false);
	}

        if (strADate.length < 8) {
		alert('Please enter your Arrival Date (format MM/DD/YY) so we could better serve you.  Thank You!');
		form1.Arrival_Date.focus();
		return(false);
	}
	
        if (strDDate.length < 8) {
		alert('Please enter your Departure Date (format MM/DD/YY) so we could better serve you.  Thank You!');
		form1.Departure_Date.focus();
		return(false);
	}
	
        if (strTGuests == "") {
		alert('Please enter Total Guests so we could better serve you.  Thank You!');
		form1.Total_Guests.focus();
		return(false);
	}
	
        if (strTChildren == "") {
		alert('Please enter Total Children so we could better serve you.  Thank You!');
		form1.Total_Children.focus();
		return(false);
	}
	
//        if (strDay.length < 2) {
//		alert('Please enter Day so we could better serve you.  Thank You!');
//		form.Day.focus();
//		return(false);
//	}

//        if (strTime.length < 3) {
//		alert('Please enter Time so we could better serve you.  Thank You!');
//		form.Time.focus();
//		return(false);
//	}

//        if (strBest.length < 3) {
//		alert('Please enter the Best Time To Phone so we could better serve you.  Thank You!');
//		form.Best_Time_To_Phone.focus();
//		return(false);
//	}
//       if (strAddress.length < 8) {
//		alert('Please enter your Address so we could better serve you.  Thank You!');
//		form.Address.focus();
//		return(false);
//	}
//        if (strCity.length < 3) {
//		alert('Please enter your City so we could better serve you.  Thank You!');
//		form.City.focus();
//		return(false);
//	}
//        if (strState.length < 2) {
//		alert('Please enter your State so we could better serve you.  Thank You!');
//		form.State.focus();
//		return(false);
//	}

// Required field are ok, submit form for processing.
	return(true);
}

//-->
