<!--

   function CheckMand() {

      // Declare variables
      var nEmailLength = document.frmContact.txtEmail.value.length;
      var nTotal = 0;
      var sBeginError = "";
      var sEmailError = "";
      var sEmailValue = document.frmContact.txtEmail.value;
      var sError = "";

      // Add error keys if required
      if (document.frmContact.txtName.value == "") {
         sError = sError + "\n - Name";
      }
      
      if (sEmailValue == "") {
         sError = sError + "\n - E-mail Address";

      } else {

         // Check e-mail string for @ symbol
         for (var i = 0; i < nEmailLength; i++) {
            if ((sEmailValue.charAt(i)) != "@") {
	       nTotal = nTotal + 1;
	    }
         }

        // Is error message is required?
        if (nTotal == nEmailLength) {
            sEmailError = "Please ensure you have entered your e-mail address correctly.";
        }

      }

      if ((sError != "") || (sEmailError != "")) {
         
         sBeginError = "You must enter information in all compulsory fields to contact us.\n"
         
         // Create error message         
         if (sError != "") {
            sBeginError = sBeginError + "Please complete the following required information:\n";
            sError = sError + "\n\n";
         }
         
         // Amalgamate errors and send to screen
         sError = sBeginError + sError + sEmailError;
         alert(sError);

         // Error have been detected, stop submission
         return false;

      } else {
         // All fields are OK - allow form to submit
         return true;
      }

   }

//-->