function submitForm(thisForm)
{
	if (thisForm.elements("appFirstName").value == "")
	{
		alert("First name must be populated");
		thisForm.elements("appFirstName").focus();
		return false;
	}
	
	if (thisForm.elements("appLastName").value == "")
	{
		alert("Last name must be populated");
		thisForm.elements("appLastName").focus();
		return false;
	}
	
	/*if (thisForm.elements("appEmail").value == "" || thisForm.elements("appDayPhone").value == "" ||  thisForm.elements("appEveningPhone").value == "")
	{
		alert("An email address, day phone and evening phone must be provided");
		thisForm.elements("appEmail").focus();
		return false;
	}*/
	
	if (thisForm.elements("appPhone1").value == "" &&  thisForm.elements("appPhone2").value == "")
	{
		alert("A phone number must be provided");
		thisForm.elements("appPhone1").focus();
		return false;
	}
	
	if (!thisForm.elements("appJobTypeLocal").checked && !thisForm.elements("appJobTypeOTR").checked && !thisForm.elements("appJobTypeMechanic").checked && !thisForm.elements("appJobTypeWarehouse").checked && !thisForm.elements("appJobTypeAdmin").checked && !thisForm.elements("appJobTypeOther").checked)
	{
		alert("Please select a desired job type");
		thisForm.elements("appJobTypeLocal").focus();
		return false;
	}
	
  	/*if (thisForm.elements("appEmail").value == "" || thisForm.elements("appEmail").value.indexOf('@') == -1 || 
      thisForm.elements("appEmail").value.indexOf('.') == -1) 
	{ 
    	alert("Please enter a valid e-mail address");
		thisForm.elements("appEmail").focus();
		return false;	
	}*/
	
	if (!thisForm.appValidLicense[0].checked && !thisForm.appValidLicense[1].checked)
	{
		alert("Plese indicate if you have a valid drivers license");
		thisForm.elements("appValidLicense").focus();
		return false;
	}
	
	if (thisForm.elements("appLicenseState").value == "SEL")
	{
		alert("Enter a drivers license state of issue");
		thisForm.elements("appLicenseState").focus();
		return false;
	}
	
	if (thisForm.elements("appLicenseClass").value == "")
	{
		alert("Enter a drivers license class");
		thisForm.elements("appLicenseClass").focus();
		return false;
	}
	
	if (thisForm.elements("appLicenseExpirationMonth").value == "SEL")
	{
		alert("Enter a drivers license expiration month");
		thisForm.elements("appLicenseExpirationMonth").focus();
		return false;
	}
	
	if (thisForm.elements("appLicenseExpirationYear").value == "SEL")
	{
		alert("Enter a drivers license expiration year");
		thisForm.elements("appLicenseExpirationYear").focus();
		return false;
	}
	
	if (!thisForm.appSuspendedLicense[0].checked && !thisForm.appSuspendedLicense[1].checked)
	{
		alert("Plese indicate if you have had your drivers license suspended or revoked");
		thisForm.elements("appSuspendedLicense").focus();
		return false;
	}
	
	if (thisForm.appSuspendedLicense[0].checked && thisForm.elements("appSuspendedInfo").value == "")
	{
		alert("Plese provide details of your license suspension/revocation");
		thisForm.elements("appSuspendedInfo").focus();
		return false;
	}

	if (thisForm.elements("appEmployer1Name").value == "")
	{
		alert("At least one previous employer reference must be entered completely");
		thisForm.elements("appEmployer1Name").focus();
		return false;
	}
	
	if (thisForm.elements("appEmployer1Address").value == "")
	{
		alert("At least one previous employer reference must be entered completely");
		thisForm.elements("appEmployer1Address").focus();
		return false;
	}
	
	if (thisForm.elements("appEmployer1Contact").value == "")
	{
		alert("At least one previous employer reference must be entered completely");
		thisForm.elements("appEmployer1Contact").focus();
		return false;
	}
	
	if (thisForm.elements("appEmployer1Tel").value == "")
	{
		alert("At least one previous employer reference must be entered completely");
		thisForm.elements("appEmployer1Tel").focus();
		return false;
	}
	
	if (thisForm.elements("appEmployer1EmployedFrom").value == "")
	{
		alert("At least one previous employer reference must be entered completely");
		thisForm.elements("appEmployer1EmployedFrom").focus();
		return false;
	}
	
	if (thisForm.elements("appEmployer1EmployedTo").value == "")
	{
		alert("At least one previous employer reference must be entered completely");
		thisForm.elements("appEmployer1EmployedTo").focus();
		return false;
	}
	
	if (thisForm.elements("appEmployer1ReasonForLeaving").value == "SEL")
	{
		alert("At least one previous employer reference must be entered completely");
		thisForm.elements("appEmployer1ReasonForLeaving").focus();
		return false;
	}
	
	if (!thisForm.elements("appAcceptConditions").checked)
	{
		alert("The application release must be approved - please check the release checkbox");
		thisForm.elements("appAcceptConditions").focus();
		return false;
	}
	
	if (thisForm.elements("appSignatureDate").value == "")
	{
		alert("The application release must be dated");
		thisForm.elements("appSignatureDate").focus();
		return false;
	}
	
	thisForm.submit();
}
