<!--
function checkFields (name, maile, phone)
{
	if (name.value != "" && maile.value != "" && phone.value != "") {
		return true;
	}
	alert ("Please complete the required fields,\nthen press the \"Submit\" button again, thanks.");
	return false;
}

/* This is, at best, a simple test of email address 
    entry validity.  Is there an "@" sign and sufficient
    letters prefixing it. Alert user if questioned. */
 function emailCheck(maile) {
  if (maile.value.indexOf("@")<3){
   alert("We're sorry. This e-mail address seems wrong. Please"
   +" check the prefix and '@' sign.");
   return false;
  }
  return true;
 }

/* Ditto phone number test, must contain at least 7 valid characters. */
 function validPhone(phone)
 {
           digits="0123456789)(-+ /"
           for(i=0; i<7; i++)
             {if (digits.indexOf(phone.value.charAt(i))<0)
                {alert("We're sorry. Your phone number doesn't seem to have valid format.");
                return false;
                }
             }
    return true;
 }
 function validPhonelen(phone)
 {
           if(phone.value.length > 6)
              {return true;}
           alert("We're sorry. Your phone number doesn't seem to have valid format.");
                return false;
 }
// -->