	function ValidateInput() {

		// File Name......: inquiry.js

		// Function Name..: ValidateInput

		// Synopsis.......: Validate form input.

		// Arguments......: None.

		// Author.........: David A. Gray, of WizardWrx.

		// Created........: 29 April 2001.

		// Copyright......: 2001-2004, P6 Consulting. All rights reserved world wide.
		//                  2005-2007, WizardWrx. All rights reserved world wide.

		// History........: Date       Version Author Comment
		//                  ========== ======= ====== ==================================
		//					2003/08/22 1.00    DAG    Adapt for use on mail form for Dr. 
		//											  Cynthia Pladziewicz and others.

		//					2007/08/05 1.01    DAG    Move from /tpl/inquiry.htm to
		//                                            "code behind" JavaScrip tfile
		//											  /_tpl/inquiry.js, to hide the code
		//											  from prying eyes, and to make it
		//											  more resistant to hacking.
		
		// Validate the E-Mail address field email1.

		if ( document.frmInquiry.email1.value == "" ) {
			alert ( "I need your E-Mail address in order to reply to you." ) ;
			document.frmInquiry.email1.focus () ;
			return false ;
		}
		if ( document.frmInquiry.email1.value.length < 4 ) {
			alert ( "Please enter at least 4 characters in the E-Mail address field." ) ;
			document.frmInquiry.email1.focus () ;
			return false ;
		}
		if ( document.frmInquiry.email1.value.length > 100 ) {
			alert ( "Please enter at most 100 characters in the E-Mail address field." ) ;
			document.frmInquiry.email1.focus () ;
			return false ;
		}
		if ( emailCheck ( document.frmInquiry.email1.value ) == false ) {
			alert ( "Please enter at most 100 characters in the E-Mail address field." ) ;
			document.frmInquiry.email1.focus () ;
			return false ;
		}
	}
