function valid8 ()
{
	if (document.form.name.value == ""||document.form.name.value == "NAME") {
		alert ("You must enter your name.");
		document.form.name.focus();
		return false;
	}
	else if (document.form.email.value == ""||document.form.email.value == "EMAIL ADDRESS") {
		alert ("You must enter your email address.");
		document.form.email.focus();
		return false;
	}
	else if (document.form.phone.value == ""||isTele(document.form.phone.value) == false ) {
		alert ("You must enter a valid telephone number.");
		document.form.phone.focus();
		return false;
	}
	else if (document.form.privacy.checked != 1) {
		alert ("You must agree with our privacy policy to proceed.");
		document.form.privacy.focus();
		return false;
	}	
	return true;
}

function isTele(strString)
   //  check for valid numeric strings	
   {
   var strValidChars = "0123456789()+ ";
   var strChar;
   var blnResult = true;

   if (strString.length == 0) return false;

   //  test strString consists of valid characters listed above
   for (i = 0; i < strString.length && blnResult == true; i++)
      {
      strChar = strString.charAt(i);
      if (strValidChars.indexOf(strChar) == -1)
         {
         blnResult = false;
         }
      }
   return blnResult;
   }


