<!---- BEGIN FORM VALIDATION ---->	
	<!-- 
	function checkform(thisform)
	{
	
		if (document.theform.AA_Facility_Name.value == "")
		{
		document.theform.AA_Facility_Name.focus();
	    alert("Please provide facility name");
	    return false;
	    }
		
		if (document.theform.AC_Administrator.value == "")
		{
		document.theform.AC_Administrator.focus();
	    alert("Please provide administrator name");
	    return false;
	    }
		
		if (document.theform.AD_Admin_Email.value.indexOf("@") == -1 ||
	         (document.theform.AD_Admin_Email.value.indexOf('.') == -1))
	    {
		document.theform.AD_Admin_Email.focus();
	    alert("Please enter a valid e-mail address for administrator");
	    return false;
	    }
		
		if (document.theform.AE_Business_Office.value == "")
		{
		document.theform.AE_Business_Office.focus();
	    alert("Please provide business office adress");
	    return false;
	    }

		if (document.theform.AG_Telephone_Number.value == "")
		{
		document.theform.AG_Telephone_Number.focus();
	    alert("Please provide business office phone number");
	    return false;
	    }
	
	
		if (document.theform.BA_Applicant_Name.value == "")
		{
		document.theform.BA_Applicant_Name.focus();
	    alert("Please provide applicant name");
	    return false;
	    }
		
		if ( ( document.theform.BC_Gender[0].checked == false )
    	&& ( document.theform.BC_Gender[1].checked == false ) 
		)
    	{
		document.theform.BC_Gender[0].focus();
        alert ( "Please provide applicant gender" );
         return false;
    	}	
	
		if ( ( document.theform.BD_Marital_Status[0].checked == false )
    	&& ( document.theform.BD_Marital_Status[1].checked == false ) 
		&& ( document.theform.BD_Marital_Status[2].checked == false )
		&& ( document.theform.BD_Marital_Status[3].checked == false )
		)
    	{
		document.theform.BD_Marital_Status[0].focus();
        alert ( "Please provide applicant marital status" );
         return false;
    	}	
	
		if (document.theform.CA_Responsible_Rarty.value == "")
		{
		document.theform.CA_Responsible_Rarty.focus();
	    alert("Please provide responsible party name.");
	    return false;
	    }	
		
		if (document.theform.CB_Responsible_Relation.value == "")
		{
		document.theform.CB_Responsible_Relation.focus();
	    alert("Please provide responsible party's relationship to applicant.");
	    return false;
	    }	
		
		if (document.theform.CC_Responsible_Address.value == "")
		{
		document.theform.CC_Responsible_Address.focus();
	    alert("Please provide responsible party address.");
	    return false;
	    }	
		
		if (document.theform.CE_Responsible_Phone_1.value == "")
		{
		document.theform.CE_Responsible_Phone_1.focus();
	    alert("Please provide responsible party phone number.");
	    return false;
	    }	
		
		if (document.theform.CF_Responsible_Party_Email.value.indexOf("@") == -1 ||
	         (document.theform.CF_Responsible_Party_Email.value.indexOf('.') == -1))
	    {
		document.theform.CF_Responsible_Party_Email.focus();
	    alert("Please enter a valid e-mail address for responsible party");
	    return false;
	    }
		
		if (document.theform.DA_Person_Name.value == "")
		{
		document.theform.DA_Person_Name.focus();
	    alert("Please provide name of person filing form.");
	    return false;
	    }	
		
		if (document.theform.DD_Filing_Phone_1.value == "")
		{
		document.theform.DD_Filing_Phone_1.focus();
	    alert("Please provide telephone number of person filing form.");
	    return false;
	    }	
		
		if ( ( document.theform.HA_Who_Pays[0].checked == false )
    	&& ( document.theform.HA_Who_Pays[1].checked == false ) 
		)
    	{
		document.theform.HA_Who_Pays[0].focus();
        alert ( "Please select the party responsible for payment" );
         return false;
    	}										
		
	}	
	  // -->			  
<!---- END FORM VALIDATION ---->	
