function validateFormOnSubmit(theForm,sPage) {
var reason = "";

  reason += validateEmpty(theForm.Name,"Name");
  reason += validateEmpty(theForm.Email,"Email");
  reason += validateEmpty(theForm.Phone,"Phone");
  reason += validateEmpty(theForm.Help,"Help");
  reason += validateLength(theForm.Help);
  reason += validateEmpty(theForm.Disclaim,"Check the Disclaimer");   
  
  if (reason != "") {
    alert("Some fields need correction:\n" + reason);
    return false;
  }

  theForm.Page.value= sPage
  return true;
}

function validateLength(fld) {
	var error = "";
	if (fld.value.length > 200) {
		error = "Your message is too long.  Please restrict your message to 200 characters or less.";
	}
	return error;
}

function validateEmpty(fld,fldNm) {
    var error = "";
  
    if (fld.value.length == 0) {
        error = fldNm + "\n"
    } 
    return error;   
}
