	<!--
	function validate_form(fb_form)   {

		msg = "";

		 if (fb_form.name.value == "") {
			msg = "> Name must be entered.\n";
		 }

		 if (fb_form.address1.value == "") {
			msg += "> Address must be entered.\n";
		 }

		 if (fb_form.city.value == "") {
			msg += "> City must be entered.\n";
		 }

		 if (fb_form.state.value == "") {
			msg += "> State must be entered.\n";
		 }

	 	 if (fb_form.zip.value == "") {
			msg += "> Zip must be entered.\n";
		 }

		 if (fb_form.phone.value == "") {
			msg += "> Phone must be entered.\n";
		 }

	 //	 if (fb_form.subject.value == "") {
	//		msg += "> Subject must be entered.\n";
	//	 }

	 //	 if (fb_form.comments.value == "") {
	//		msg += "> Comments must be entered.\n";
	//	 }

	 	 email_id = fb_form.email_id.value;

		// Check if they entered an email address.
		 if (email_id == "") {
		 	msg += "> Email ID must be entered.\n";
		}

		 if (email_id) {

			// Check for invalid characters.
			invalidChars = " /:,;~#%\\()+$&*|^=<>?[]\"\' "
			for (i=0; i<invalidChars.length; i++) {
				badChar = invalidChars.charAt(i)
				if (email_id.indexOf(badChar,0) != -1) {
					msg += "> Email ID has invalid character(s).\n";
				}
			}

			// Check if they entered an @ sign.
			atsign = email_id.indexOf("@",1)
			if (atsign == -1) {
				msg += "> Email ID is missing an @ sign.\n";
			}

			// Check if they entered more than one @ sign/
			if (email_id.indexOf("@",atsign+1) != -1) {
				msg += "> Email ID contains more than one @ sign.\n";
			}

			// Check if a period has been entered.
			period = email_id.indexOf(".",atsign)
			if (period == -1) {
				msg += "> Email ID is missing a period.\n";
			}

			// Check if there is more than one period.
			if (email_id.indexOf(".",period+1) != -1) {
				msg += "> Email ID contains more than one period.\n";
			}

			// Must be 3 characters after the email address.
			if (period+3 > email_id.length) {
				msg += "> Email ID cannot have more than 3 characters after the period.\n";
			}
		}


		if (msg) {
			errormsg   = "____________________________________________________\n\n";
			errormsg += "The form was NOT submitted because of the following error(s).\n";
			errormsg += "Please correct error(s), and re-submit.\n";
			errormsg += "____________________________________________________\n\n";

			errormsg += msg;
			alert(errormsg);
			return false;
		}

	 	return true;
	}

	// -->
