<!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.organisation_name.value == "")
  {
	alert("Please enter a value for the \"organisation_name\" field.");
	theForm.organisation_name.focus();
	return (false);
  }

  if (theForm.organisation_name.value.length < 6)
  {
	alert("Please enter at least 6 characters in the \"organisation_name\" field.");
	theForm.organisation_name.focus();
	return (false);
  }

  if (theForm.Organisation_Type.selectedIndex < 0)
  {
	alert("Please select one of the \"Organisation Type\" options.");
	theForm.Organisation_Type.focus();
	return (false);
  }

  if (theForm.Organisation_Type.selectedIndex == 0)
  {
	alert("The first \"Organisation Type\" option is not a valid selection.  Please choose one of the other options.");
	theForm.Organisation_Type.focus();
	return (false);
  }

  if (theForm.Name.value == "")
  {
	alert("Please enter a value for the \"Your Name\" field.");
	theForm.Name.focus();
	return (false);
  }

  if (theForm.Name.value.length < 3)
  {
	alert("Please enter at least 3 characters in the \"Your Name\" field.");
	theForm.Name.focus();
	return (false);
  }

  if (theForm.phone.value == "")
  {
	alert("Please enter a value for the \"Telephone Number\" field.");
	theForm.phone.focus();
	return (false);
  }

  if (theForm.phone.value.length < 6)
  {
	alert("Please enter at least 6 characters in the \"Telephone Number\" field.");
	theForm.phone.focus();
	return (false);
  }

  if (theForm.email.value == "")
  {
	alert("Please enter a value for the \"Your Email Address\" field.");
	theForm.email.focus();
	return (false);
  }

  if (theForm.email.value.length < 6)
  {
	alert("Please enter at least 6 characters in the \"Your Email Address\" field.");
	theForm.email.focus();
	return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@-_.";
  var checkStr = theForm.email.value;
  var allValid = true;
  var validGroups = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
	ch = checkStr.charAt(i);
	for (j = 0;  j < checkOK.length;  j++)
	  if (ch == checkOK.charAt(j))
		break;
	if (j == checkOK.length)
	{
	  allValid = false;
	  break;
	}
  }
  if (!allValid)
  {
	alert("Please enter only letter, digit and \"@-_.\" characters in the \"Your Email Address\" field.");
	theForm.email.focus();
	return (false);
  }

  if (theForm.password.value == "")
  {
	alert("Please enter a value for the \"Your National One Call Password\" field.");
	theForm.password.focus();
	return (false);
  }

  if (theForm.password.value.length < 6)
  {
	alert("Please enter at least 6 characters in the \"Your National One Call Password\" field.");
	theForm.password.focus();
	return (false);
  }
  return (true);
}
//-->
