function checkSubmit()
{   

   // check to see if email address field is of valid syntax
   substremail = document.frmAnalysis.email.value.split("@");
   if (substremail.length > 1)
   {
      index = substremail[1].indexOf(".");
      if (index == -1)
      {
         alert("Please enter your full email address");
         document.frmAnalysis.email.focus();
	     document.frmAnalysis.email.select();
         return false;
      }
   }  
   else
   {
      alert("Please enter your full email address");
      document.frmAnalysis.email.focus();
	  document.frmAnalysis.email.select();
      return false;
   }
   
	//check to see if name is filled out and valid
	if (document.frmAnalysis.name.value=="")
	{ 
       	alert("Please enter your name \(letters only\)");
	   	document.frmAnalysis.name.focus();
	   	document.frmAnalysis.name.select();
	   	return false;
	}
	
	//check to see if home telephone has been filled out
    if (document.frmAnalysis.home_phone.value=="")
	{
		alert("Please enter your home telephone number");
		document.frmAnalysis.home_phone.focus();
		document.frmAnalysis.home_phone.select();
		return false;
	}
    else
	{
		return true;
    }
}