<!--
function checkForm(){

	var iCheck = /^\d+$/;
	/*
	var userPhone = document.frmMain.phone;
	if ( userPhone.value.length > 0 ){
		if ( !iCheck.test(userPhone.value) ){
			alert('Please use only numbers in the telephone number field. \n Please do not use hyphens, dots or spaces to seperate numbers.');
			userPhone.focus();
			return;
		}
	}

	var userFax = document.frmMain.fax;
	if ( userPhone.value.length > 0 ){
		if ( !iCheck.test(userFax.value) ){
			alert('Please use only numbers in the fax number field. \n Please do not use hyphens, dots or spaces to seperate numbers.');
			userFax.focus();
			return;
		}
	}
	*/
	document.frmMain.submit();
}

function checkForm2(){
			formRef = document.contactForm;

			if ( formRef.lastName.value.length <  2 ){
				alert('Please enter your name in the "Name" field.');
				formRef.lastName.focus();
				return;
			}

			if( formRef.subjectMatter.selectedIndex == 0 ){
				alert('Please enter the subject matter of your email in the "Subject Matter" field.');
				formRef.subjectMatter.focus();
				return;
			}

			if ( formRef.organization.value.length <  2 ){
				alert('Please enter the Organization name in the "Organization" field.');
				formRef.organization.focus();
				return;
			}

			if ( formRef.phAreaCode.value.length <  3 ){
				alert('Please enter an area code in the "Area Code" field.');
				formRef.phAreaCode.focus();
				return;
			}

			if ( formRef.phPrefix.value.length <  3 ){
				alert('Please enter a complete phone number in the "Phone Number" field.');
				formRef.phPrefix.focus();
				return;
			}

			if ( formRef.phone.value.length <  4 ){
				alert('Please enter a complete phone number in the "Phone Number" field.');
				formRef.phone.focus();
				return;
			}
			
			if ( formRef.fromemail.value.length <  2 ){
				alert('Please enter an email address in the "Email Address " field.');
				formRef.fromemail.focus();
				return;
			}

			if ( formRef.custAddress1.value.length <  2 ){
				alert('Please enter an address in the "Address" field.');
				formRef.custAddress1.focus();
				return;
			}

			if ( formRef.city.value.length <  2 ){
				alert('Please enter a city name in the "City" field.');
				formRef.city.focus();
				return;
			}

			if ( formRef.state.value.length <  2 ){
				alert('Please enter a state in the "State" field.');
				formRef.state.focus();
				return;
			}

			if ( formRef.zip.value.length <  2 ){
				alert('Please enter a zip code in the "Zip Code" field.');
				formRef.zip.focus();
				return;
			}

			if ( formRef.message.value.length <  2 ){
				alert('Please enter a message in the "Message" field.');
				formRef.message.focus();
				return;
			}

			
			formRef.submit();
		}
-->