function questionnaireValidator(){
	// Make quick references to our fields

	if ((document.forms.Questionnaire.Contact0FirstName.value == "") ) {
		alert("Please Enter Your First Name");
		document.forms.Questionnaire.Contact0FirstName.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.Questionnaire.Contact0LastName.value == "") ) {
		alert("Please Enter Your Last Name");
		document.forms.Questionnaire.Contact0LastName.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.Questionnaire.Contact0State.value == "") ) {
		alert("Please Enter Your State or Province");
		document.forms.Questionnaire.Contact0State.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.Questionnaire.Contact0Email.value == "") ) {
		alert("Please Enter Your Email Address");
		document.forms.Questionnaire.Contact0Email.focus(); // set the focus to this input
		return false; }

return true;

}



function optinValidator(){


var emailcheck = document.forms.optin.Contact0Email.value;


	if ((document.forms.optin.Contact0FirstName.value == "First Name") ) {
		alert("Please Enter Your First Name");
		document.forms.optin.Contact0FirstName.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.optin.Contact0Email.value == "Valid Email") ) {
		alert("Please Enter Your Email Address");
		document.forms.optin.Contact0Email.focus(); // set the focus to this input
		return false; }

	else if (emailcheck.substr(-7) == "@kw.com") {
		alert("Sorry, but we are unfortunately unable to deliver to kw.com email addresses.  Please use an alternative email address.");
		document.forms.optin.Contact0Email.focus(); // set the focus to this input
		return false; }

return true;

}

function GuestPassValidator(){


var emailcheck = document.forms.guestpass.Contact0Email.value;


	if ((document.forms.guestpass.Contact0FirstName.value == "First Name") ) {
		alert("Please Enter Your First Name");
		document.forms.guestpass.Contact0FirstName.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.guestpass.Contact0LastName.value == "Last Name") ) {
		alert("Please Enter Your Last Name");
		document.forms.guestpass.Contact0LastName.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.guestpass.Contact0Email.value == "Valid Email") ) {
		alert("Please Enter Your Email Address");
		document.forms.guestpass.Contact0Email.focus(); // set the focus to this input
		return false; }

	else if (emailcheck.substr(-7) == "@kw.com") {
		alert("Sorry, but we are unfortunately unable to deliver to kw.com email addresses.  Please use an alternative email address.");
		document.forms.guestpass.Contact0Email.focus(); // set the focus to this input
		return false; }

return true;

}



function validateAndSubmitContactForm(){

	if ((document.forms.UserInfoForm.first_name.value == "") ) {
		alert("Please Enter Your First Name");
		document.forms.UserInfoForm.first_name.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.UserInfoForm.last_name.value == "") ) {
		alert("Please Enter Your Last Name");
		document.forms.UserInfoForm.last_name.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.UserInfoForm.MailingAddress1.value == "") ) {
		alert("Please Enter Your Mailing Address");
		document.forms.UserInfoForm.MailingAddress1.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.UserInfoForm.city.value == "") ) {
		alert("Please Enter Your City");
		document.forms.UserInfoForm.city.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.UserInfoForm.state.value == "") ) {
		alert("Please Enter Your State or Province");
		document.forms.UserInfoForm.state.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.UserInfoForm.zip.value == "") ) {
		alert("Please Enter Your Zip Code");
		document.forms.UserInfoForm.zip.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.UserInfoForm.phone.value == "") ) {
		alert("Please Enter Your Phone Number");
		document.forms.UserInfoForm.phone.focus(); // set the focus to this input
		return false; }

	else if ((document.forms.UserInfoForm.confirm_email.value != document.forms.UserInfoForm.email.value) ) {
		alert("The email addresses you entered do not match.");
		document.forms.UserInfoForm.confirm_email.focus(); // set the focus to this input
		return false; }

	else if ( !(document.forms.UserInfoForm.email.value.indexOf("@") >= 0) || !(document.forms.UserInfoForm.email.value.indexOf(".") >= 0) ) {
		alert("Please enter a valid email address.");
		document.forms.UserInfoForm.email.focus(); // set the focus to this input
		return false; }

return true; }

