<!--
function submitform(form) { 

  if (document.form1.xemail.value == "" ||
      document.form1.xemail.value.indexOf('@') == -1 || 
      document.form1.xemail.value.indexOf('.') == -1 || 
      document.form1.firstname.value == "" ||
      document.form1.lastname.value == "" ||
      document.form1.address.value == "" ||
      document.form1.city.value == "" ||
      document.form1.state.value == "" ||
      document.form1.zip.value == "" ||
      document.form1.xdomain.value == "" ||
      document.form1.xuser.value == "" ||
      document.form1.xemail.value.length<6) { 
	// same for this alert and the focus issue.
    alert("All of the info on this form is required.\n\nName, Email Address, Domain Name and User Name.");
	document.form1.firstname.focus();
	return false;
  } 
  
    if (document.form1.xemail.value.indexOf("yahoo.com")!=-1 ||
      document.form1.xemail.value.indexOf("hotmail.com")!=-1 || 
      document.form1.xemail.value.indexOf("excite.com")!=-1 ) { 
	// same for this alert and the focus issue.
    alert("No email addresses from free email services please.\nYou must use your ISP email address like you@aol.com\nIf your ISP does not offer email and you only have\naccess to a free email address email contact@vermontwebhost.com\nand we will try to work something out with you.");
	document.form1.xemail.focus();
	return false;
  } 
  
  if (document.form1.xtos.checked==false){
     alert("You must agree to our Terms Of Service before proceeding.");
	document.form1.xtos.focus();
	return false;
 }
  // uncomment this to submit the form when all validated.
  ///document.form1.submit();
  return true;
}
-->

