<!--
function checkVal1(theForm)
{

 if (theForm.name.value == "")
  {
    alert("You have not entered your name.");
    theForm.name.focus();
    return (false);
  }
  
  if (theForm.comp.value == "")
  {
    alert("You have not entered your Company.");
    theForm.comp.focus();
    return (false);
  }
  
  if (theForm.phone.value == "")
  {
    alert("You have not entered your Phone #.");
    theForm.phone.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("You have not entered an email address.");
    theForm.email.focus();
    return (false);
  }

invalidChars = " /:,;"
  for (i=0; i<invalidChars.length; i++)
  	badChar = invalidChars.charAt(i)
  	if (theForm.email.value.indexOf(badChar,0) > -1) {
  		alert ('Your email address contains invalid chars.');
		theForm.email.focus();
  		return (false);
  		}
  		
  atPos = theForm.email.value.indexOf("@",1)
  if (atPos == -1) {
  	alert ('Your email address doesn\'t contain \"@\" ');
	theForm.email.focus();
  	return (false);
  	}
  	
  if (theForm.email.value.indexOf("@",atPos+1) >	 -1) {
 	alert ('Your email address contains 2 \"@s\" ');
	theForm.email.focus();
  	return (false);
  	}
  	
  	periodPos = theForm.email.value.indexOf(".",atPos)
  	if (periodPos == -1) {
  		alert ('Your email address doesn\'t contain \".\" ');
		theForm.email.focus();
		return (false);
  	}
  
  if (periodPos +2 > theForm.email.value.length) {
		alert ('Your email address incorrect. ');
		theForm.member_email.focus();
		return (false);
	}
	
  if (theForm.ad1.value == "")
  {
    alert("You have not entered your Address.");
    theForm.ad1.focus();
    return (false);
  }

if (theForm.city.value == "")
  {
    alert("You have not entered your city.");
    theForm.city.focus();
    return (false);
  }
 

   if (theForm.state.value == "0")
  {
    alert("You have not entered your state.");
    theForm.state.focus();
    return (false);
  }
  
   if (theForm.zip.value == "")
  {
    alert("You have not entered your zip code.");
    theForm.zip.focus();
    return (false);
  }
  
  
	check_email = confirm(" Is your email address, \"" +  theForm.email.value + "\" correct?")
  if (check_email != "0")
  {
    theForm.submit.value="Processing...";
    theForm.submit.disabled = true;
    return (true);
  }
  else
  {
    theForm.email.focus();
    return (false);
  }
 return (true);
 }
 //-->