

var host = window.location.hostname;

// Client side validation routine
var submitcount=0;

// Verify information on form before submitting //
function CheckForm()
{
  Ctrl = document.seacoForm;

	if (Ctrl.firstName.value == "") {
		alert("Please enter your first name.");
	return (false);
	}
	
	if (Ctrl.lastName.value == "") {
		alert("Please enter your last name.");
	return (false);
	}
	
	if (Ctrl.company.value == "") {
		alert("Please enter the name of your company.");
	return (false);
	}
	
	if (Ctrl.email.value == "") {
		alert("Please enter a valid email address.");
	return (false);
	}
	
	

 

  //Submit the form
  if (submitcount == 0)
  {
      submitcount++;
      return (true);
  }
  else
  {
      alert("The form is still processing. Please wait...");
      return (false);
  }
}
