
function isEmpty(field){

	if (field.value == "")
		return true;
	else
		return false;
}

function isButtonNull(field){
	var b = getSelectedButton(field);
	if (b == -1)
		return true;
	else
		return false;
}

function isChecked(field){
	if (field.checked)
		return true;
	else
		return false;
}

function showAlert(str,field){
	alert("You must enter " + str + ".");
	if (field != null)
		field.focus();
}
function showAlertButton(str,field){
	alert("You must enter " + str + ".");	
	field[0].focus();
}

function getSelectedButton(buttonGroup) {
	for (var i=0; i< buttonGroup.length; i++) {
		if (buttonGroup[i].checked) {
			return i;
		}
	}
	return -1;
}

function setFocus(f){
	f.focus();
}


function checkFields(f){
	
	if (isEmpty(f.todaysDate)){
		showAlert("today's Date",f.todaysDate);		
		return false;
	}
	
	if (isEmpty(f.Fullname)){
		showAlert("your full name",f.Fullname);		
		return false;
	}
	
	if (isEmpty(f.currentAddress)){
		showAlert("your current address",f.currentAddress);		
		return false;
	}
	
	if (isEmpty(f.currentcity)){
		showAlert("your current city",f.currentcity);		
		return false;
	}
	
	if (isEmpty(f.currentstate)){
		showAlert("your current state",f.currentstate);		
		return false;
	}
	
	if (isEmpty(f.currentzip)){
		showAlert("your current zip",f.currentzip);		
		return false;
	}
	
	if (isEmpty(f.appliedposition)){
		showAlert("the position you're applying for",f.appliedposition);		
		return false;
	}
		
	if (isButtonNull(f.appliedtype)){
		showAlertButton("a position type",f.appliedtype);		
		return false;
	}
	
	if (isButtonNull(f.workedforus)){
		showAlertButton("if you have worked for us before",f.workedforus);		
		return false;
	} else {
		var i = getSelectedButton(f.workedforus);
		if (i == 0) {
			if (isEmpty(f.workeddate1)){
				showAlert("date worked from",f.workeddate1);		
				return false;
			}
			if (isEmpty(f.workeddate2)){
				showAlert("date worked to",f.workeddate2);		
				return false;
			}
			if (isEmpty(f.workedforusLeave)){
				showAlert("reason for leaving",f.workedforusLeave);		
				return false;
			}
		}
	}
	
	if (isButtonNull(f.currentlyEmployed)){
		showAlertButton("if you are currently employed",f.currentlyEmployed);
		return false;
	}
	
	if (isButtonNull(f.highestgrade)){
		showAlertButton("the highest grade you completed",f.highestgrade);
		return false;
	}
	
	if (isEmpty(f.Lastschool)){
		showAlert("last school you attended",f.Lastschool);		
		return false;
	}	
	
	if (isButtonNull(f.bonded)){
		showAlertButton("if you have ever been bonded",f.highestgrade);
		return false;
	}
	
	if (isButtonNull(f.felony)){
		showAlertButton("if you have ever been convicted of a felony",f.felony);
		return false;
	} else {
		var i = getSelectedButton(f.felony);
		if (i == 0) {
			if (isEmpty(f.felonyexplain)){
				showAlert("felony explaination",f.felonyexplain);		
				return false;
			}			
		}
	}
	
	if (isEmpty(f.DOB)){
		showAlert("your date of birth",f.DOB);		
		return false;
	}
	
	if (isEmpty(f.SSN)){
		showAlert("your social security number",f.SSN);		
		return false;
	}
	
	if (isEmpty(f.Lastschool)){
		showAlert("last school you attended",f.Lastschool);		
		return false;
	}
	
	if (isEmpty(f.licenceState1)){
		showAlert("the state that issued your license",f.licenceState1);		
		return false;
	}
	
	if (isEmpty(f.licenceNumber1)){
		showAlert("your license number",f.licenceNumber1);		
		return false;
	}
	
	if (isEmpty(f.licenceClass1)){
		showAlert("your license class",f.licenceClass1);		
		return false;
	}
	
	if (isEmpty(f.licenceEndorsements1)){
		showAlert("license endorsements",f.licenceEndorsements1);		
		return false;
	}
	
	if (isEmpty(f.licenceExpdate1)){
		showAlert("your license expiration date",f.licenceExpdate1);		
		return false;
	}
	
	if (isButtonNull(f.denied_licence)){
		showAlertButton("if you have ever been denied a license to operate a motor vehicle",f.denied_licence);
		return false;
	} else {
		var i = getSelectedButton(f.denied_licence);
		if (i == 0) {
			if (isEmpty(f.licence_details)){
				showAlert("license details",f.licence_details);		
				return false;
			}
		}
	}
	
	if (isButtonNull(f.suspended_licence)){
		showAlertButton("if you have ever had a license suspended or revoked",f.suspended_licence);
		return false;
	} else {
		var i = getSelectedButton(f.suspended_licence);
		if (i == 0) {
			if (isEmpty(f.licence_details)){
				showAlert("license details",f.licence_details);		
				return false;
			}
		}
	}
	
	if (isButtonNull(f.disqualified_licence)){
		showAlertButton("if you have ever been disqualified for violations",f.disqualified_licence);
		return false;
	} else {
		var i = getSelectedButton(f.disqualified_licence);
		if (i == 0) {
			if (isEmpty(f.licence_details)){
				showAlert("license details",f.licence_details);		
				return false;
			}
		}
	}
	
	if (isButtonNull(f.drugtest)){
		showAlertButton("if you have ever tested positive or refused a drug test",f.drugtest);
		return false;
	}
	
	if (isChecked(f.exp_equip1)){
		if (isEmpty(f.exp_equip1_type)){
			showAlert("straight truck equipment type",f.exp_equip1_type);		
			return false;
		}		
		if (isEmpty(f.exp_equip1_date1)){
			showAlert("straight truck date from",f.exp_equip1_date1);		
			return false;
		}
		if (isEmpty(f.exp_equip1_date2)){
			showAlert("straight truck date to",f.exp_equip1_date2);		
			return false;
		}
		if (isEmpty(f.exp_equip1_miles)){
			showAlert("straight truck approximate total miles",f.exp_equip1_miles);		
			return false;
		}
	}
	if (isChecked(f.exp_equip2)){
		if (isEmpty(f.exp_equip2_type)){
			showAlert("tractor and semi trailer equipment type",f.exp_equip2_type);		
			return false;
		}		
		if (isEmpty(f.exp_equip2_date1)){
			showAlert("tractor and semi trailer date from",f.exp_equip2_date1);		
			return false;
		}
		if (isEmpty(f.exp_equip2_date2)){
			showAlert("tractor and semi trailer date to",f.exp_equip2_date2);		
			return false;
		}
		if (isEmpty(f.exp_equip2_miles)){
			showAlert("tractor and semi trailer approximate total miles",f.exp_equip2_miles);		
			return false;
		}
	}
	if (isChecked(f.exp_equip3)){
		if (isEmpty(f.exp_equip3_type)){
			showAlert("twin trailers equipment type",f.exp_equip3_type);		
			return false;
		}		
		if (isEmpty(f.exp_equip3_date1)){
			showAlert("twin trailers date from",f.exp_equip3_date1);		
			return false;
		}
		if (isEmpty(f.exp_equip3_date2)){
			showAlert("twin trailers date to",f.exp_equip3_date2);		
			return false;
		}
		if (isEmpty(f.exp_equip3_miles)){
			showAlert("twin trailers approximate total miles",f.exp_equip3_miles);		
			return false;
		}
	}
	if (isChecked(f.exp_equip4)){
		if (isEmpty(f.exp_equip4_type)){
			showAlert("other equipment type",f.exp_equip4_type);		
			return false;
		}		
		if (isEmpty(f.exp_equip4_date1)){
			showAlert("other date from",f.exp_equip4_date1);		
			return false;
		}
		if (isEmpty(f.exp_equip4_date2)){
			showAlert("other date to",f.exp_equip4_date2);		
			return false;
		}
		if (isEmpty(f.exp_equip4_miles)){
			showAlert("other approximate total miles",f.exp_equip4_miles);		
			return false;
		}
	}
	
	if (isButtonNull(f.accidentpast3years)){
		showAlertButton("if you have had an accident in the past 3 years",f.accidentpast3years);
		return false;
	} else {
		var i = getSelectedButton(f.accidentpast3years);
		if (i == 0) {
			if (isEmpty(f.accident_date1)){
				showAlert("the last accident date",f.accident_date1);		
				return false;
			}
			if (isEmpty(f.accident_nature1)){
				showAlert("the nature of the last accident",f.accident_nature1);		
				return false;
			}
			if (isButtonNull(f.accident_fatalities1)){
				showAlertButton("if you there were any fatalities in the last accident",f.accident_fatalities1);
				return false;
			}
			if (isButtonNull(f.accident_Injuries1)){
				showAlertButton("if you there were any injuries in the last accident",f.accident_Injuries1);
				return false;
			}
			
		}
	}
	
	
	if (isButtonNull(f.trafficconvictions)){
		showAlertButton("if you have had any traffic convictions or forfeitures in the past 3 years\n(other than parking violations)",f.trafficconvictions);
		return false;
	} else {
		var i = getSelectedButton(f.trafficconvictions);
		if (i == 0) {
			if (isEmpty(f.traffic_location1)){
				showAlert("the traffic conviction location",f.traffic_location1);		
				return false;
			}
			if (isEmpty(f.traffic_date1)){
				showAlert("the traffic conviction date",f.traffic_date1);		
				return false;
			}
			if (isEmpty(f.traffic_charge1)){
				showAlert("the traffic conviction charge",f.traffic_charge1);		
				return false;
			}
			if (isEmpty(f.traffic_penalty1)){
				showAlert("the traffic conviction penalty",f.traffic_penalty1);		
				return false;
			}
			if (!isEmpty(f.traffic_location2)){
				if (isEmpty(f.traffic_date2)){
					showAlert("the second traffic conviction date",f.traffic_date2);		
					return false;
				}
				if (isEmpty(f.traffic_charge2)){
					showAlert("the second traffic conviction charge",f.traffic_charge2);		
					return false;
				}
				if (isEmpty(f.traffic_penalty2)){
					showAlert("the second traffic conviction penalty",f.traffic_penalty2);		
					return false;
				}
			}
			if (!isEmpty(f.traffic_date2)){
				if (isEmpty(f.traffic_location2)){
					showAlert("the second traffic conviction location",f.traffic_location2);		
					return false;
				}
				if (isEmpty(f.traffic_charge2)){
					showAlert("the second traffic conviction charge",f.traffic_charge2);		
					return false;
				}
				if (isEmpty(f.traffic_penalty2)){
					showAlert("the second traffic conviction penalty",f.traffic_penalty2);		
					return false;
				}
			}
			if (!isEmpty(f.traffic_charge2)){
				if (isEmpty(f.traffic_location2)){
					showAlert("the second traffic conviction location",f.traffic_location2);		
					return false;
				}
				if (isEmpty(f.traffic_date2)){
					showAlert("the second traffic conviction date",f.traffic_date2);		
					return false;
				}
				if (isEmpty(f.traffic_penalty2)){
					showAlert("the second traffic conviction penalty",f.traffic_penalty2);		
					return false;
				}
			}
			
			if (!isEmpty(f.traffic_penalty2)){
				if (isEmpty(f.traffic_location2)){
					showAlert("the second traffic conviction location",f.traffic_location2);		
					return false;
				}
				if (isEmpty(f.traffic_date2)){
					showAlert("the second traffic conviction date",f.traffic_date2);		
					return false;
				}
				if (isEmpty(f.traffic_charge2)){
					showAlert("the second traffic conviction charge",f.traffic_charge2);		
					return false;
				}
			}
			
			
			if (!isEmpty(f.traffic_location3)){
				if (isEmpty(f.traffic_date3)){
					showAlert("the third traffic conviction date",f.traffic_date3);		
					return false;
				}
				if (isEmpty(f.traffic_charge3)){
					showAlert("the third traffic conviction charge",f.traffic_charge3);		
					return false;
				}
				if (isEmpty(f.traffic_penalty3)){
					showAlert("the third traffic conviction penalty",f.traffic_penalty3);		
					return false;
				}
			}
			if (!isEmpty(f.traffic_date3)){
				if (isEmpty(f.traffic_location3)){
					showAlert("the third traffic conviction location",f.traffic_location3);		
					return false;
				}
				if (isEmpty(f.traffic_charge3)){
					showAlert("the third traffic conviction charge",f.traffic_charge3);		
					return false;
				}
				if (isEmpty(f.traffic_penalty3)){
					showAlert("the third traffic conviction penalty",f.traffic_penalty3);		
					return false;
				}
			}
			if (!isEmpty(f.traffic_charge3)){
				if (isEmpty(f.traffic_location3)){
					showAlert("the third traffic conviction location",f.traffic_location3);		
					return false;
				}
				if (isEmpty(f.traffic_date3)){
					showAlert("the third traffic conviction date",f.traffic_date3);		
					return false;
				}
				if (isEmpty(f.traffic_penalty3)){
					showAlert("the third traffic conviction penalty",f.traffic_penalty3);		
					return false;
				}
			}
			
			if (!isEmpty(f.traffic_penalty3)){
				if (isEmpty(f.traffic_location3)){
					showAlert("the third traffic conviction location",f.traffic_location3);		
					return false;
				}
				if (isEmpty(f.traffic_date3)){
					showAlert("the third traffic conviction date",f.traffic_date3);		
					return false;
				}
				if (isEmpty(f.traffic_charge3)){
					showAlert("the third traffic conviction charge",f.traffic_charge3);		
					return false;
				}
			}
			
		}
	}
	
	if (isEmpty(f.employer1)){
		showAlert("the name of the last company your worked for",f.employer1);		
		return false;
	}
	if (isEmpty(f.employer1_city)){
		showAlert("the city of the last company your worked for",f.employer1_city);		
		return false;
	}	
	if (isEmpty(f.employer1_state)){
		showAlert("the state the last company your worked for",f.employer1_state);		
		return false;
	}
	if (isEmpty(f.employer1_position)){
		showAlert("the position you held at the last company your worked for",f.employer1_position);		
		return false;
	}
	if (isEmpty(f.employer1_date1)){
		showAlert("the date you started working at the last company you worked for",f.employer1_date1);		
		return false;
	}
	if (isEmpty(f.employer1_date2)){
		showAlert("the date you stopped working at the last company you worked for",f.employer1_date2);		
		return false;
	}
	if (isEmpty(f.employer1_leave)){
		showAlert("the reason you left the last company you worked for",f.employer1_leave);		
		return false;
	}
	
	
	if (!isEmpty(f.employer2)){		
		if (isEmpty(f.employer2_city)){
			showAlert("the city of the second previous company you worked for",f.employer2_city);		
			return false;
		}	
		if (isEmpty(f.employer2_state)){
			showAlert("the state of the second previous company you worked for",f.employer2_state);		
			return false;
		}
		if (isEmpty(f.employer2_position)){
			showAlert("the position you held at the second previous company you worked for",f.employer2_position);		
			return false;
		}
		if (isEmpty(f.employer2_date1)){
			showAlert("the date you started working at the second previous company you worked for",f.employer2_date1);		
			return false;
		}
		if (isEmpty(f.employer2_date2)){
			showAlert("the date you stopped working at the second previous company you worked for",f.employer2_date2);		
			return false;
		}
		if (isEmpty(f.employer2_leave)){
			showAlert("the reason you left the second previous company you worked for",f.employer2_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer2_city)){		
		if (isEmpty(f.employer2)){
			showAlert("the name of second previous company you worked for",f.employer2);		
			return false;
		}	
		if (isEmpty(f.employer2_state)){
			showAlert("the state of the second previous company you worked for",f.employer2_state);		
			return false;
		}
		if (isEmpty(f.employer2_position)){
			showAlert("the position you held at the second previous company you worked for",f.employer2_position);		
			return false;
		}
		if (isEmpty(f.employer2_date1)){
			showAlert("the date you started working at the second previous company you worked for",f.employer2_date1);		
			return false;
		}
		if (isEmpty(f.employer2_date2)){
			showAlert("the date you stopped working at the second previous company you worked for",f.employer2_date2);		
			return false;
		}
		if (isEmpty(f.employer2_leave)){
			showAlert("the reason you left the second previous company you worked for",f.employer2_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer2_state)){		
		if (isEmpty(f.employer2)){
			showAlert("the name of second previous company you worked for",f.employer2);		
			return false;
		}	
		if (isEmpty(f.employer2_city)){
			showAlert("the city of the second previous company you worked for",f.employer2_city);		
			return false;
		}
		if (isEmpty(f.employer2_position)){
			showAlert("the position you held at the second previous company you worked for",f.employer2_position);		
			return false;
		}
		if (isEmpty(f.employer2_date1)){
			showAlert("the date you started working at the second previous company you worked for",f.employer2_date1);		
			return false;
		}
		if (isEmpty(f.employer2_date2)){
			showAlert("the date you stopped working at the second previous company you worked for",f.employer2_date2);		
			return false;
		}
		if (isEmpty(f.employer2_leave)){
			showAlert("the reason you left the second previous company you worked for",f.employer2_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer2_position)){		
		if (isEmpty(f.employer2)){
			showAlert("the name of second previous company you worked for",f.employer2);		
			return false;
		}	
		if (isEmpty(f.employer2_city)){
			showAlert("the city of the second previous company you worked for",f.employer2_city);		
			return false;
		}
		if (isEmpty(f.employer2_state)){
			showAlert("the state of second previous company you worked for",f.employer2_state);		
			return false;
		}
		if (isEmpty(f.employer2_date1)){
			showAlert("the date you started working at the second previous company you worked for",f.employer2_date1);		
			return false;
		}
		if (isEmpty(f.employer2_date2)){
			showAlert("the date you stopped working at the second previous company you worked for",f.employer2_date2);		
			return false;
		}
		if (isEmpty(f.employer2_leave)){
			showAlert("the reason you left the second previous company you worked for",f.employer2_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer2_date1)){		
		if (isEmpty(f.employer2)){
			showAlert("the name of second previous company you worked for",f.employer2);		
			return false;
		}	
		if (isEmpty(f.employer2_city)){
			showAlert("the city of the second previous company you worked for",f.employer2_city);		
			return false;
		}
		if (isEmpty(f.employer2_state)){
			showAlert("the state of second previous company you worked for",f.employer2_state);		
			return false;
		}
		if (isEmpty(f.employer2_position)){
			showAlert("the position you held at the second previous company you worked for",f.employer2_position);		
			return false;
		}
		if (isEmpty(f.employer2_date2)){
			showAlert("the date you stopped working at the second previous company you worked for",f.employer2_date2);		
			return false;
		}
		if (isEmpty(f.employer2_leave)){
			showAlert("the reason you left the second previous company you worked for",f.employer2_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer2_date2)){		
		if (isEmpty(f.employer2)){
			showAlert("the name of second previous company you worked for",f.employer2);		
			return false;
		}	
		if (isEmpty(f.employer2_city)){
			showAlert("the city of the second previous company you worked for",f.employer2_city);		
			return false;
		}
		if (isEmpty(f.employer2_state)){
			showAlert("the state of second previous company you worked for",f.employer2_state);		
			return false;
		}
		if (isEmpty(f.employer2_position)){
			showAlert("the position you held at the second previous company you worked for",f.employer2_position);		
			return false;
		}
		if (isEmpty(f.employer2_date1)){
			showAlert("the date you started working at the second previous company you worked for",f.employer2_date1);		
			return false;
		}
		if (isEmpty(f.employer2_leave)){
			showAlert("the reason you left the second previous company you worked for",f.employer2_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer2_leave)){		
		if (isEmpty(f.employer2)){
			showAlert("the name of second previous company you worked for",f.employer2);		
			return false;
		}	
		if (isEmpty(f.employer2_city)){
			showAlert("the city of the second previous company you worked for",f.employer2_city);		
			return false;
		}
		if (isEmpty(f.employer2_state)){
			showAlert("the state of second previous company you worked for",f.employer2_state);		
			return false;
		}
		if (isEmpty(f.employer2_position)){
			showAlert("the position you held at the second previous company you worked for",f.employer2_position);		
			return false;
		}
		if (isEmpty(f.employer2_date1)){
			showAlert("the date you started working at the second previous company you worked for",f.employer2_date1);		
			return false;
		}
		if (isEmpty(f.employer2_date2)){
			showAlert("the date you stopped working at the second previous company you worked for",f.employer2_date2);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer3)){		
		if (isEmpty(f.employer3_city)){
			showAlert("the city of the third previous company you worked for",f.employer3_city);		
			return false;
		}	
		if (isEmpty(f.employer3_state)){
			showAlert("the state of the third previous company you worked for",f.employer3_state);		
			return false;
		}
		if (isEmpty(f.employer3_position)){
			showAlert("the position you held at the third previous company you worked for",f.employer3_position);		
			return false;
		}
		if (isEmpty(f.employer3_date1)){
			showAlert("the date you started working at the third previous company you worked for",f.employer3_date1);		
			return false;
		}
		if (isEmpty(f.employer3_date2)){
			showAlert("the date you stopped working at the third previous company you worked for",f.employer3_date2);		
			return false;
		}
		if (isEmpty(f.employer3_leave)){
			showAlert("the reason you left the third previous company you worked for",f.employer3_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer3_city)){		
		if (isEmpty(f.employer3)){
			showAlert("the name of third previous company you worked for",f.employer3);		
			return false;
		}	
		if (isEmpty(f.employer3_state)){
			showAlert("the state of the third previous company you worked for",f.employer3_state);		
			return false;
		}
		if (isEmpty(f.employer3_position)){
			showAlert("the position you held at the third previous company you worked for",f.employer3_position);		
			return false;
		}
		if (isEmpty(f.employer3_date1)){
			showAlert("the date you started working at the third previous company you worked for",f.employer3_date1);		
			return false;
		}
		if (isEmpty(f.employer3_date2)){
			showAlert("the date you stopped working at the third previous company you worked for",f.employer3_date2);		
			return false;
		}
		if (isEmpty(f.employer3_leave)){
			showAlert("the reason you left the third previous company you worked for",f.employer3_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer3_state)){		
		if (isEmpty(f.employer3)){
			showAlert("the name of third previous company you worked for",f.employer3);		
			return false;
		}	
		if (isEmpty(f.employer3_city)){
			showAlert("the city of the third previous company you worked for",f.employer3_city);		
			return false;
		}
		if (isEmpty(f.employer3_position)){
			showAlert("the position you held at the third previous company you worked for",f.employer3_position);		
			return false;
		}
		if (isEmpty(f.employer3_date1)){
			showAlert("the date you started working at the third previous company you worked for",f.employer3_date1);		
			return false;
		}
		if (isEmpty(f.employer3_date2)){
			showAlert("the date you stopped working at the third previous company you worked for",f.employer3_date2);		
			return false;
		}
		if (isEmpty(f.employer3_leave)){
			showAlert("the reason you left the third previous company you worked for",f.employer3_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer3_position)){		
		if (isEmpty(f.employer3)){
			showAlert("the name of third previous company you worked for",f.employer3);		
			return false;
		}	
		if (isEmpty(f.employer3_city)){
			showAlert("the city of the third previous company you worked for",f.employer3_city);		
			return false;
		}
		if (isEmpty(f.employer3_state)){
			showAlert("the state of third previous company you worked for",f.employer3_state);		
			return false;
		}
		if (isEmpty(f.employer3_date1)){
			showAlert("the date you started working at the third previous company you worked for",f.employer3_date1);		
			return false;
		}
		if (isEmpty(f.employer3_date2)){
			showAlert("the date you stopped working at the third previous company you worked for",f.employer3_date2);		
			return false;
		}
		if (isEmpty(f.employer3_leave)){
			showAlert("the reason you left the third previous company you worked for",f.employer3_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer3_date1)){		
		if (isEmpty(f.employer3)){
			showAlert("the name of third previous company you worked for",f.employer3);		
			return false;
		}	
		if (isEmpty(f.employer3_city)){
			showAlert("the city of the third previous company you worked for",f.employer3_city);		
			return false;
		}
		if (isEmpty(f.employer3_state)){
			showAlert("the state of third previous company you worked for",f.employer3_state);		
			return false;
		}
		if (isEmpty(f.employer3_position)){
			showAlert("the position you held at the third previous company you worked for",f.employer3_position);		
			return false;
		}
		if (isEmpty(f.employer3_date2)){
			showAlert("the date you stopped working at the third previous company you worked for",f.employer3_date2);		
			return false;
		}
		if (isEmpty(f.employer3_leave)){
			showAlert("the reason you left the third previous company you worked for",f.employer3_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer3_date2)){		
		if (isEmpty(f.employer3)){
			showAlert("the name of third previous company you worked for",f.employer3);		
			return false;
		}	
		if (isEmpty(f.employer3_city)){
			showAlert("the city of the third previous company you worked for",f.employer3_city);		
			return false;
		}
		if (isEmpty(f.employer3_state)){
			showAlert("the state of third previous company you worked for",f.employer3_state);		
			return false;
		}
		if (isEmpty(f.employer3_position)){
			showAlert("the position you held at the third previous company you worked for",f.employer3_position);		
			return false;
		}
		if (isEmpty(f.employer3_date1)){
			showAlert("the date you started working at the third previous company you worked for",f.employer3_date1);		
			return false;
		}
		if (isEmpty(f.employer3_leave)){
			showAlert("the reason you left the third previous company you worked for",f.employer3_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer3_leave)){		
		if (isEmpty(f.employer3)){
			showAlert("the name of third previous company you worked for",f.employer3);		
			return false;
		}	
		if (isEmpty(f.employer3_city)){
			showAlert("the city of the third previous company you worked for",f.employer3_city);		
			return false;
		}
		if (isEmpty(f.employer3_state)){
			showAlert("the state of third previous company you worked for",f.employer3_state);		
			return false;
		}
		if (isEmpty(f.employer3_position)){
			showAlert("the position you held at the third previous company you worked for",f.employer3_position);		
			return false;
		}
		if (isEmpty(f.employer3_date1)){
			showAlert("the date you started working at the third previous company you worked for",f.employer3_date1);		
			return false;
		}
		if (isEmpty(f.employer3_date2)){
			showAlert("the date you stopped working at the third previous company you worked for",f.employer3_date2);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer4)){		
		if (isEmpty(f.employer4_city)){
			showAlert("the city of the fourth previous company you worked for",f.employer4_city);		
			return false;
		}	
		if (isEmpty(f.employer4_state)){
			showAlert("the state of the fourth previous company you worked for",f.employer4_state);		
			return false;
		}
		if (isEmpty(f.employer4_position)){
			showAlert("the position you held at the fourth previous company you worked for",f.employer4_position);		
			return false;
		}
		if (isEmpty(f.employer4_date1)){
			showAlert("the date you started working at the fourth previous company you worked for",f.employer4_date1);		
			return false;
		}
		if (isEmpty(f.employer4_date2)){
			showAlert("the date you stopped working at the fourth previous company you worked for",f.employer4_date2);		
			return false;
		}
		if (isEmpty(f.employer4_leave)){
			showAlert("the reason you left the fourth previous company you worked for",f.employer4_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer4_city)){		
		if (isEmpty(f.employer4)){
			showAlert("the name of fourth previous company you worked for",f.employer4);		
			return false;
		}	
		if (isEmpty(f.employer4_state)){
			showAlert("the state of the fourth previous company you worked for",f.employer4_state);		
			return false;
		}
		if (isEmpty(f.employer4_position)){
			showAlert("the position you held at the fourth previous company you worked for",f.employer4_position);		
			return false;
		}
		if (isEmpty(f.employer4_date1)){
			showAlert("the date you started working at the fourth previous company you worked for",f.employer4_date1);		
			return false;
		}
		if (isEmpty(f.employer4_date2)){
			showAlert("the date you stopped working at the fourth previous company you worked for",f.employer4_date2);		
			return false;
		}
		if (isEmpty(f.employer4_leave)){
			showAlert("the reason you left the fourth previous company you worked for",f.employer4_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer4_state)){		
		if (isEmpty(f.employer4)){
			showAlert("the name of fourth previous company you worked for",f.employer4);		
			return false;
		}	
		if (isEmpty(f.employer4_city)){
			showAlert("the city of the fourth previous company you worked for",f.employer4_city);		
			return false;
		}
		if (isEmpty(f.employer4_position)){
			showAlert("the position you held at the fourth previous company you worked for",f.employer4_position);		
			return false;
		}
		if (isEmpty(f.employer4_date1)){
			showAlert("the date you started working at the fourth previous company you worked for",f.employer4_date1);		
			return false;
		}
		if (isEmpty(f.employer4_date2)){
			showAlert("the date you stopped working at the fourth previous company you worked for",f.employer4_date2);		
			return false;
		}
		if (isEmpty(f.employer4_leave)){
			showAlert("the reason you left the fourth previous company you worked for",f.employer4_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer4_position)){		
		if (isEmpty(f.employer4)){
			showAlert("the name of fourth previous company you worked for",f.employer4);		
			return false;
		}	
		if (isEmpty(f.employer4_city)){
			showAlert("the city of the fourth previous company you worked for",f.employer4_city);		
			return false;
		}
		if (isEmpty(f.employer4_state)){
			showAlert("the state of fourth previous company you worked for",f.employer4_state);		
			return false;
		}
		if (isEmpty(f.employer4_date1)){
			showAlert("the date you started working at the fourth previous company you worked for",f.employer4_date1);		
			return false;
		}
		if (isEmpty(f.employer4_date2)){
			showAlert("the date you stopped working at the fourth previous company you worked for",f.employer4_date2);		
			return false;
		}
		if (isEmpty(f.employer4_leave)){
			showAlert("the reason you left the fourth previous company you worked for",f.employer4_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer4_date1)){		
		if (isEmpty(f.employer4)){
			showAlert("the name of fourth previous company you worked for",f.employer4);		
			return false;
		}	
		if (isEmpty(f.employer4_city)){
			showAlert("the city of the fourth previous company you worked for",f.employer4_city);		
			return false;
		}
		if (isEmpty(f.employer4_state)){
			showAlert("the state of fourth previous company you worked for",f.employer4_state);		
			return false;
		}
		if (isEmpty(f.employer4_position)){
			showAlert("the position you held at the fourth previous company you worked for",f.employer4_position);		
			return false;
		}
		if (isEmpty(f.employer4_date2)){
			showAlert("the date you stopped working at the fourth previous company you worked for",f.employer4_date2);		
			return false;
		}
		if (isEmpty(f.employer4_leave)){
			showAlert("the reason you left the fourth previous company you worked for",f.employer4_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer4_date2)){		
		if (isEmpty(f.employer4)){
			showAlert("the name of fourth previous company you worked for",f.employer4);		
			return false;
		}	
		if (isEmpty(f.employer4_city)){
			showAlert("the city of the fourth previous company you worked for",f.employer4_city);		
			return false;
		}
		if (isEmpty(f.employer4_state)){
			showAlert("the state of fourth previous company you worked for",f.employer4_state);		
			return false;
		}
		if (isEmpty(f.employer4_position)){
			showAlert("the position you held at the fourth previous company you worked for",f.employer4_position);		
			return false;
		}
		if (isEmpty(f.employer4_date1)){
			showAlert("the date you started working at the fourth previous company you worked for",f.employer4_date1);		
			return false;
		}
		if (isEmpty(f.employer4_leave)){
			showAlert("the reason you left the fourth previous company you worked for",f.employer4_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer4_leave)){		
		if (isEmpty(f.employer4)){
			showAlert("the name of fourth previous company you worked for",f.employer4);		
			return false;
		}	
		if (isEmpty(f.employer4_city)){
			showAlert("the city of the fourth previous company you worked for",f.employer4_city);		
			return false;
		}
		if (isEmpty(f.employer4_state)){
			showAlert("the state of fourth previous company you worked for",f.employer4_state);		
			return false;
		}
		if (isEmpty(f.employer4_position)){
			showAlert("the position you held at the fourth previous company you worked for",f.employer4_position);		
			return false;
		}
		if (isEmpty(f.employer4_date1)){
			showAlert("the date you started working at the fourth previous company you worked for",f.employer4_date1);		
			return false;
		}
		if (isEmpty(f.employer4_date2)){
			showAlert("the date you stopped working at the fourth previous company you worked for",f.employer4_date2);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer5)){		
		if (isEmpty(f.employer5_city)){
			showAlert("the city of the fifth previous company you worked for",f.employer5_city);		
			return false;
		}	
		if (isEmpty(f.employer5_state)){
			showAlert("the state of the fifth previous company you worked for",f.employer5_state);		
			return false;
		}
		if (isEmpty(f.employer5_position)){
			showAlert("the position you held at the fifth previous company you worked for",f.employer5_position);		
			return false;
		}
		if (isEmpty(f.employer5_date1)){
			showAlert("the date you started working at the fifth previous company you worked for",f.employer5_date1);		
			return false;
		}
		if (isEmpty(f.employer5_date2)){
			showAlert("the date you stopped working at the fifth previous company you worked for",f.employer5_date2);		
			return false;
		}
		if (isEmpty(f.employer5_leave)){
			showAlert("the reason you left the fifth previous company you worked for",f.employer5_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer5_city)){		
		if (isEmpty(f.employer5)){
			showAlert("the name of fifth previous company you worked for",f.employer5);		
			return false;
		}	
		if (isEmpty(f.employer5_state)){
			showAlert("the state of the fifth previous company you worked for",f.employer5_state);		
			return false;
		}
		if (isEmpty(f.employer5_position)){
			showAlert("the position you held at the fifth previous company you worked for",f.employer5_position);		
			return false;
		}
		if (isEmpty(f.employer5_date1)){
			showAlert("the date you started working at the fifth previous company you worked for",f.employer5_date1);		
			return false;
		}
		if (isEmpty(f.employer5_date2)){
			showAlert("the date you stopped working at the fifth previous company you worked for",f.employer5_date2);		
			return false;
		}
		if (isEmpty(f.employer5_leave)){
			showAlert("the reason you left the fifth previous company you worked for",f.employer5_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer5_state)){		
		if (isEmpty(f.employer5)){
			showAlert("the name of fifth previous company you worked for",f.employer5);		
			return false;
		}	
		if (isEmpty(f.employer5_city)){
			showAlert("the city of the fifth previous company you worked for",f.employer5_city);		
			return false;
		}
		if (isEmpty(f.employer5_position)){
			showAlert("the position you held at the fifth previous company you worked for",f.employer5_position);		
			return false;
		}
		if (isEmpty(f.employer5_date1)){
			showAlert("the date you started working at the fifth previous company you worked for",f.employer5_date1);		
			return false;
		}
		if (isEmpty(f.employer5_date2)){
			showAlert("the date you stopped working at the fifth previous company you worked for",f.employer5_date2);		
			return false;
		}
		if (isEmpty(f.employer5_leave)){
			showAlert("the reason you left the fifth previous company you worked for",f.employer5_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer5_position)){		
		if (isEmpty(f.employer5)){
			showAlert("the name of fifth previous company you worked for",f.employer5);		
			return false;
		}	
		if (isEmpty(f.employer5_city)){
			showAlert("the city of the fifth previous company you worked for",f.employer5_city);		
			return false;
		}
		if (isEmpty(f.employer5_state)){
			showAlert("the state of fifth previous company you worked for",f.employer5_state);		
			return false;
		}
		if (isEmpty(f.employer5_date1)){
			showAlert("the date you started working at the fifth previous company you worked for",f.employer5_date1);		
			return false;
		}
		if (isEmpty(f.employer5_date2)){
			showAlert("the date you stopped working at the fifth previous company you worked for",f.employer5_date2);		
			return false;
		}
		if (isEmpty(f.employer5_leave)){
			showAlert("the reason you left the fifth previous company you worked for",f.employer5_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer5_date1)){		
		if (isEmpty(f.employer5)){
			showAlert("the name of fifth previous company you worked for",f.employer5);		
			return false;
		}	
		if (isEmpty(f.employer5_city)){
			showAlert("the city of the fifth previous company you worked for",f.employer5_city);		
			return false;
		}
		if (isEmpty(f.employer5_state)){
			showAlert("the state of fifth previous company you worked for",f.employer5_state);		
			return false;
		}
		if (isEmpty(f.employer5_position)){
			showAlert("the position you held at the fifth previous company you worked for",f.employer5_position);		
			return false;
		}
		if (isEmpty(f.employer5_date2)){
			showAlert("the date you stopped working at the fifth previous company you worked for",f.employer5_date2);		
			return false;
		}
		if (isEmpty(f.employer5_leave)){
			showAlert("the reason you left the fifth previous company you worked for",f.employer5_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer5_date2)){		
		if (isEmpty(f.employer5)){
			showAlert("the name of fifth previous company you worked for",f.employer5);		
			return false;
		}	
		if (isEmpty(f.employer5_city)){
			showAlert("the city of the fifth previous company you worked for",f.employer5_city);		
			return false;
		}
		if (isEmpty(f.employer5_state)){
			showAlert("the state of fifth previous company you worked for",f.employer5_state);		
			return false;
		}
		if (isEmpty(f.employer5_position)){
			showAlert("the position you held at the fifth previous company you worked for",f.employer5_position);		
			return false;
		}
		if (isEmpty(f.employer5_date1)){
			showAlert("the date you started working at the fifth previous company you worked for",f.employer5_date1);		
			return false;
		}
		if (isEmpty(f.employer5_leave)){
			showAlert("the reason you left the fifth previous company you worked for",f.employer5_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer5_leave)){		
		if (isEmpty(f.employer5)){
			showAlert("the name of fifth previous company you worked for",f.employer5);		
			return false;
		}	
		if (isEmpty(f.employer5_city)){
			showAlert("the city of the fifth previous company you worked for",f.employer5_city);		
			return false;
		}
		if (isEmpty(f.employer5_state)){
			showAlert("the state of fifth previous company you worked for",f.employer5_state);		
			return false;
		}
		if (isEmpty(f.employer5_position)){
			showAlert("the position you held at the fifth previous company you worked for",f.employer5_position);		
			return false;
		}
		if (isEmpty(f.employer5_date1)){
			showAlert("the date you started working at the fifth previous company you worked for",f.employer5_date1);		
			return false;
		}
		if (isEmpty(f.employer5_date2)){
			showAlert("the date you stopped working at the fifth previous company you worked for",f.employer5_date2);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer6)){		
		if (isEmpty(f.employer6_city)){
			showAlert("the city of the sixth previous company you worked for",f.employer6_city);		
			return false;
		}	
		if (isEmpty(f.employer6_state)){
			showAlert("the state of the sixth previous company you worked for",f.employer6_state);		
			return false;
		}
		if (isEmpty(f.employer6_position)){
			showAlert("the position you held at the sixth previous company you worked for",f.employer6_position);		
			return false;
		}
		if (isEmpty(f.employer6_date1)){
			showAlert("the date you started working at the sixth previous company you worked for",f.employer6_date1);		
			return false;
		}
		if (isEmpty(f.employer6_date2)){
			showAlert("the date you stopped working at the sixth previous company you worked for",f.employer6_date2);		
			return false;
		}
		if (isEmpty(f.employer6_leave)){
			showAlert("the reason you left the sixth previous company you worked for",f.employer6_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer6_city)){		
		if (isEmpty(f.employer6)){
			showAlert("the name of sixth previous company you worked for",f.employer6);		
			return false;
		}	
		if (isEmpty(f.employer6_state)){
			showAlert("the state of the sixth previous company you worked for",f.employer6_state);		
			return false;
		}
		if (isEmpty(f.employer6_position)){
			showAlert("the position you held at the sixth previous company you worked for",f.employer6_position);		
			return false;
		}
		if (isEmpty(f.employer6_date1)){
			showAlert("the date you started working at the sixth previous company you worked for",f.employer6_date1);		
			return false;
		}
		if (isEmpty(f.employer6_date2)){
			showAlert("the date you stopped working at the sixth previous company you worked for",f.employer6_date2);		
			return false;
		}
		if (isEmpty(f.employer6_leave)){
			showAlert("the reason you left the sixth previous company you worked for",f.employer6_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer6_state)){		
		if (isEmpty(f.employer6)){
			showAlert("the name of sixth previous company you worked for",f.employer6);		
			return false;
		}	
		if (isEmpty(f.employer6_city)){
			showAlert("the city of the sixth previous company you worked for",f.employer6_city);		
			return false;
		}
		if (isEmpty(f.employer6_position)){
			showAlert("the position you held at the sixth previous company you worked for",f.employer6_position);		
			return false;
		}
		if (isEmpty(f.employer6_date1)){
			showAlert("the date you started working at the sixth previous company you worked for",f.employer6_date1);		
			return false;
		}
		if (isEmpty(f.employer6_date2)){
			showAlert("the date you stopped working at the sixth previous company you worked for",f.employer6_date2);		
			return false;
		}
		if (isEmpty(f.employer6_leave)){
			showAlert("the reason you left the sixth previous company you worked for",f.employer6_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer6_position)){		
		if (isEmpty(f.employer6)){
			showAlert("the name of sixth previous company you worked for",f.employer6);		
			return false;
		}	
		if (isEmpty(f.employer6_city)){
			showAlert("the city of the sixth previous company you worked for",f.employer6_city);		
			return false;
		}
		if (isEmpty(f.employer6_state)){
			showAlert("the state of sixth previous company you worked for",f.employer6_state);		
			return false;
		}
		if (isEmpty(f.employer6_date1)){
			showAlert("the date you started working at the sixth previous company you worked for",f.employer6_date1);		
			return false;
		}
		if (isEmpty(f.employer6_date2)){
			showAlert("the date you stopped working at the sixth previous company you worked for",f.employer6_date2);		
			return false;
		}
		if (isEmpty(f.employer6_leave)){
			showAlert("the reason you left the sixth previous company you worked for",f.employer6_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer6_date1)){		
		if (isEmpty(f.employer6)){
			showAlert("the name of sixth previous company you worked for",f.employer6);		
			return false;
		}	
		if (isEmpty(f.employer6_city)){
			showAlert("the city of the sixth previous company you worked for",f.employer6_city);		
			return false;
		}
		if (isEmpty(f.employer6_state)){
			showAlert("the state of sixth previous company you worked for",f.employer6_state);		
			return false;
		}
		if (isEmpty(f.employer6_position)){
			showAlert("the position you held at the sixth previous company you worked for",f.employer6_position);		
			return false;
		}
		if (isEmpty(f.employer6_date2)){
			showAlert("the date you stopped working at the sixth previous company you worked for",f.employer6_date2);		
			return false;
		}
		if (isEmpty(f.employer6_leave)){
			showAlert("the reason you left the sixth previous company you worked for",f.employer6_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer6_date2)){		
		if (isEmpty(f.employer6)){
			showAlert("the name of sixth previous company you worked for",f.employer6);		
			return false;
		}	
		if (isEmpty(f.employer6_city)){
			showAlert("the city of the sixth previous company you worked for",f.employer6_city);		
			return false;
		}
		if (isEmpty(f.employer6_state)){
			showAlert("the state of sixth previous company you worked for",f.employer6_state);		
			return false;
		}
		if (isEmpty(f.employer6_position)){
			showAlert("the position you held at the sixth previous company you worked for",f.employer6_position);		
			return false;
		}
		if (isEmpty(f.employer6_date1)){
			showAlert("the date you started working at the sixth previous company you worked for",f.employer6_date1);		
			return false;
		}
		if (isEmpty(f.employer6_leave)){
			showAlert("the reason you left the sixth previous company you worked for",f.employer6_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer6_leave)){		
		if (isEmpty(f.employer6)){
			showAlert("the name of sixth previous company you worked for",f.employer6);		
			return false;
		}	
		if (isEmpty(f.employer6_city)){
			showAlert("the city of the sixth previous company you worked for",f.employer6_city);		
			return false;
		}
		if (isEmpty(f.employer6_state)){
			showAlert("the state of sixth previous company you worked for",f.employer6_state);		
			return false;
		}
		if (isEmpty(f.employer6_position)){
			showAlert("the position you held at the sixth previous company you worked for",f.employer6_position);		
			return false;
		}
		if (isEmpty(f.employer6_date1)){
			showAlert("the date you started working at the sixth previous company you worked for",f.employer6_date1);		
			return false;
		}
		if (isEmpty(f.employer6_date2)){
			showAlert("the date you stopped working at the sixth previous company you worked for",f.employer6_date2);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer7)){		
		if (isEmpty(f.employer7_city)){
			showAlert("the city of the seventh previous company you worked for",f.employer7_city);		
			return false;
		}	
		if (isEmpty(f.employer7_state)){
			showAlert("the state of the seventh previous company you worked for",f.employer7_state);		
			return false;
		}
		if (isEmpty(f.employer7_position)){
			showAlert("the position you held at the seventh previous company you worked for",f.employer7_position);		
			return false;
		}
		if (isEmpty(f.employer7_date1)){
			showAlert("the date you started working at the seventh previous company you worked for",f.employer7_date1);		
			return false;
		}
		if (isEmpty(f.employer7_date2)){
			showAlert("the date you stopped working at the seventh previous company you worked for",f.employer7_date2);		
			return false;
		}
		if (isEmpty(f.employer7_leave)){
			showAlert("the reason you left the seventh previous company you worked for",f.employer7_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer7_city)){		
		if (isEmpty(f.employer7)){
			showAlert("the name of seventh previous company you worked for",f.employer7);		
			return false;
		}	
		if (isEmpty(f.employer7_state)){
			showAlert("the state of the seventh previous company you worked for",f.employer7_state);		
			return false;
		}
		if (isEmpty(f.employer7_position)){
			showAlert("the position you held at the seventh previous company you worked for",f.employer7_position);		
			return false;
		}
		if (isEmpty(f.employer7_date1)){
			showAlert("the date you started working at the seventh previous company you worked for",f.employer7_date1);		
			return false;
		}
		if (isEmpty(f.employer7_date2)){
			showAlert("the date you stopped working at the seventh previous company you worked for",f.employer7_date2);		
			return false;
		}
		if (isEmpty(f.employer7_leave)){
			showAlert("the reason you left the seventh previous company you worked for",f.employer7_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer7_state)){		
		if (isEmpty(f.employer7)){
			showAlert("the name of seventh previous company you worked for",f.employer7);		
			return false;
		}	
		if (isEmpty(f.employer7_city)){
			showAlert("the city of the seventh previous company you worked for",f.employer7_city);		
			return false;
		}
		if (isEmpty(f.employer7_position)){
			showAlert("the position you held at the seventh previous company you worked for",f.employer7_position);		
			return false;
		}
		if (isEmpty(f.employer7_date1)){
			showAlert("the date you started working at the seventh previous company you worked for",f.employer7_date1);		
			return false;
		}
		if (isEmpty(f.employer7_date2)){
			showAlert("the date you stopped working at the seventh previous company you worked for",f.employer7_date2);		
			return false;
		}
		if (isEmpty(f.employer7_leave)){
			showAlert("the reason you left the seventh previous company you worked for",f.employer7_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer7_position)){		
		if (isEmpty(f.employer7)){
			showAlert("the name of seventh previous company you worked for",f.employer7);		
			return false;
		}	
		if (isEmpty(f.employer7_city)){
			showAlert("the city of the seventh previous company you worked for",f.employer7_city);		
			return false;
		}
		if (isEmpty(f.employer7_state)){
			showAlert("the state of seventh previous company you worked for",f.employer7_state);		
			return false;
		}
		if (isEmpty(f.employer7_date1)){
			showAlert("the date you started working at the seventh previous company you worked for",f.employer7_date1);		
			return false;
		}
		if (isEmpty(f.employer7_date2)){
			showAlert("the date you stopped working at the seventh previous company you worked for",f.employer7_date2);		
			return false;
		}
		if (isEmpty(f.employer7_leave)){
			showAlert("the reason you left the seventh previous company you worked for",f.employer7_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer7_date1)){		
		if (isEmpty(f.employer7)){
			showAlert("the name of seventh previous company you worked for",f.employer7);		
			return false;
		}	
		if (isEmpty(f.employer7_city)){
			showAlert("the city of the seventh previous company you worked for",f.employer7_city);		
			return false;
		}
		if (isEmpty(f.employer7_state)){
			showAlert("the state of seventh previous company you worked for",f.employer7_state);		
			return false;
		}
		if (isEmpty(f.employer7_position)){
			showAlert("the position you held at the seventh previous company you worked for",f.employer7_position);		
			return false;
		}
		if (isEmpty(f.employer7_date2)){
			showAlert("the date you stopped working at the seventh previous company you worked for",f.employer7_date2);		
			return false;
		}
		if (isEmpty(f.employer7_leave)){
			showAlert("the reason you left the seventh previous company you worked for",f.employer7_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer7_date2)){		
		if (isEmpty(f.employer7)){
			showAlert("the name of seventh previous company you worked for",f.employer7);		
			return false;
		}	
		if (isEmpty(f.employer7_city)){
			showAlert("the city of the seventh previous company you worked for",f.employer7_city);		
			return false;
		}
		if (isEmpty(f.employer7_state)){
			showAlert("the state of seventh previous company you worked for",f.employer7_state);		
			return false;
		}
		if (isEmpty(f.employer7_position)){
			showAlert("the position you held at the seventh previous company you worked for",f.employer7_position);		
			return false;
		}
		if (isEmpty(f.employer7_date1)){
			showAlert("the date you started working at the seventh previous company you worked for",f.employer7_date1);		
			return false;
		}
		if (isEmpty(f.employer7_leave)){
			showAlert("the reason you left the seventh previous company you worked for",f.employer7_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer7_leave)){		
		if (isEmpty(f.employer7)){
			showAlert("the name of seventh previous company you worked for",f.employer7);		
			return false;
		}	
		if (isEmpty(f.employer7_city)){
			showAlert("the city of the seventh previous company you worked for",f.employer7_city);		
			return false;
		}
		if (isEmpty(f.employer7_state)){
			showAlert("the state of seventh previous company you worked for",f.employer7_state);		
			return false;
		}
		if (isEmpty(f.employer7_position)){
			showAlert("the position you held at the seventh previous company you worked for",f.employer7_position);		
			return false;
		}
		if (isEmpty(f.employer7_date1)){
			showAlert("the date you started working at the seventh previous company you worked for",f.employer7_date1);		
			return false;
		}
		if (isEmpty(f.employer7_date2)){
			showAlert("the date you stopped working at the seventh previous company you worked for",f.employer7_date2);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer8)){		
		if (isEmpty(f.employer8_city)){
			showAlert("the city of the eighth previous company you worked for",f.employer8_city);		
			return false;
		}	
		if (isEmpty(f.employer8_state)){
			showAlert("the state of the eighth previous company you worked for",f.employer8_state);		
			return false;
		}
		if (isEmpty(f.employer8_position)){
			showAlert("the position you held at the eighth previous company you worked for",f.employer8_position);		
			return false;
		}
		if (isEmpty(f.employer8_date1)){
			showAlert("the date you started working at the eighth previous company you worked for",f.employer8_date1);		
			return false;
		}
		if (isEmpty(f.employer8_date2)){
			showAlert("the date you stopped working at the eighth previous company you worked for",f.employer8_date2);		
			return false;
		}
		if (isEmpty(f.employer8_leave)){
			showAlert("the reason you left the eighth previous company you worked for",f.employer8_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer8_city)){		
		if (isEmpty(f.employer8)){
			showAlert("the name of eighth previous company you worked for",f.employer8);		
			return false;
		}	
		if (isEmpty(f.employer8_state)){
			showAlert("the state of the eighth previous company you worked for",f.employer8_state);		
			return false;
		}
		if (isEmpty(f.employer8_position)){
			showAlert("the position you held at the eighth previous company you worked for",f.employer8_position);		
			return false;
		}
		if (isEmpty(f.employer8_date1)){
			showAlert("the date you started working at the eighth previous company you worked for",f.employer8_date1);		
			return false;
		}
		if (isEmpty(f.employer8_date2)){
			showAlert("the date you stopped working at the eighth previous company you worked for",f.employer8_date2);		
			return false;
		}
		if (isEmpty(f.employer8_leave)){
			showAlert("the reason you left the eighth previous company you worked for",f.employer8_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer8_state)){		
		if (isEmpty(f.employer8)){
			showAlert("the name of eighth previous company you worked for",f.employer8);		
			return false;
		}	
		if (isEmpty(f.employer8_city)){
			showAlert("the city of the eighth previous company you worked for",f.employer8_city);		
			return false;
		}
		if (isEmpty(f.employer8_position)){
			showAlert("the position you held at the eighth previous company you worked for",f.employer8_position);		
			return false;
		}
		if (isEmpty(f.employer8_date1)){
			showAlert("the date you started working at the eighth previous company you worked for",f.employer8_date1);		
			return false;
		}
		if (isEmpty(f.employer8_date2)){
			showAlert("the date you stopped working at the eighth previous company you worked for",f.employer8_date2);		
			return false;
		}
		if (isEmpty(f.employer8_leave)){
			showAlert("the reason you left the eighth previous company you worked for",f.employer8_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer8_position)){		
		if (isEmpty(f.employer8)){
			showAlert("the name of eighth previous company you worked for",f.employer8);		
			return false;
		}	
		if (isEmpty(f.employer8_city)){
			showAlert("the city of the eighth previous company you worked for",f.employer8_city);		
			return false;
		}
		if (isEmpty(f.employer8_state)){
			showAlert("the state of eighth previous company you worked for",f.employer8_state);		
			return false;
		}
		if (isEmpty(f.employer8_date1)){
			showAlert("the date you started working at the eighth previous company you worked for",f.employer8_date1);		
			return false;
		}
		if (isEmpty(f.employer8_date2)){
			showAlert("the date you stopped working at the eighth previous company you worked for",f.employer8_date2);		
			return false;
		}
		if (isEmpty(f.employer8_leave)){
			showAlert("the reason you left the eighth previous company you worked for",f.employer8_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer8_date1)){		
		if (isEmpty(f.employer8)){
			showAlert("the name of eighth previous company you worked for",f.employer8);		
			return false;
		}	
		if (isEmpty(f.employer8_city)){
			showAlert("the city of the eighth previous company you worked for",f.employer8_city);		
			return false;
		}
		if (isEmpty(f.employer8_state)){
			showAlert("the state of eighth previous company you worked for",f.employer8_state);		
			return false;
		}
		if (isEmpty(f.employer8_position)){
			showAlert("the position you held at the eighth previous company you worked for",f.employer8_position);		
			return false;
		}
		if (isEmpty(f.employer8_date2)){
			showAlert("the date you stopped working at the eighth previous company you worked for",f.employer8_date2);		
			return false;
		}
		if (isEmpty(f.employer8_leave)){
			showAlert("the reason you left the eighth previous company you worked for",f.employer8_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer8_date2)){		
		if (isEmpty(f.employer8)){
			showAlert("the name of eighth previous company you worked for",f.employer8);		
			return false;
		}	
		if (isEmpty(f.employer8_city)){
			showAlert("the city of the eighth previous company you worked for",f.employer8_city);		
			return false;
		}
		if (isEmpty(f.employer8_state)){
			showAlert("the state of eighth previous company you worked for",f.employer8_state);		
			return false;
		}
		if (isEmpty(f.employer8_position)){
			showAlert("the position you held at the eighth previous company you worked for",f.employer8_position);		
			return false;
		}
		if (isEmpty(f.employer8_date1)){
			showAlert("the date you started working at the eighth previous company you worked for",f.employer8_date1);		
			return false;
		}
		if (isEmpty(f.employer8_leave)){
			showAlert("the reason you left the eighth previous company you worked for",f.employer8_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer8_leave)){		
		if (isEmpty(f.employer8)){
			showAlert("the name of eighth previous company you worked for",f.employer8);		
			return false;
		}	
		if (isEmpty(f.employer8_city)){
			showAlert("the city of the eighth previous company you worked for",f.employer8_city);		
			return false;
		}
		if (isEmpty(f.employer8_state)){
			showAlert("the state of eighth previous company you worked for",f.employer8_state);		
			return false;
		}
		if (isEmpty(f.employer8_position)){
			showAlert("the position you held at the eighth previous company you worked for",f.employer8_position);		
			return false;
		}
		if (isEmpty(f.employer8_date1)){
			showAlert("the date you started working at the eighth previous company you worked for",f.employer8_date1);		
			return false;
		}
		if (isEmpty(f.employer8_date2)){
			showAlert("the date you stopped working at the eighth previous company you worked for",f.employer8_date2);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer9)){		
		if (isEmpty(f.employer9_city)){
			showAlert("the city of the ninth previous company you worked for",f.employer9_city);		
			return false;
		}	
		if (isEmpty(f.employer9_state)){
			showAlert("the state of the ninth previous company you worked for",f.employer9_state);		
			return false;
		}
		if (isEmpty(f.employer9_position)){
			showAlert("the position you held at the ninth previous company you worked for",f.employer9_position);		
			return false;
		}
		if (isEmpty(f.employer9_date1)){
			showAlert("the date you started working at the ninth previous company you worked for",f.employer9_date1);		
			return false;
		}
		if (isEmpty(f.employer9_date2)){
			showAlert("the date you stopped working at the ninth previous company you worked for",f.employer9_date2);		
			return false;
		}
		if (isEmpty(f.employer9_leave)){
			showAlert("the reason you left the ninth previous company you worked for",f.employer9_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer9_city)){		
		if (isEmpty(f.employer9)){
			showAlert("the name of ninth previous company you worked for",f.employer9);		
			return false;
		}	
		if (isEmpty(f.employer9_state)){
			showAlert("the state of the ninth previous company you worked for",f.employer9_state);		
			return false;
		}
		if (isEmpty(f.employer9_position)){
			showAlert("the position you held at the ninth previous company you worked for",f.employer9_position);		
			return false;
		}
		if (isEmpty(f.employer9_date1)){
			showAlert("the date you started working at the ninth previous company you worked for",f.employer9_date1);		
			return false;
		}
		if (isEmpty(f.employer9_date2)){
			showAlert("the date you stopped working at the ninth previous company you worked for",f.employer9_date2);		
			return false;
		}
		if (isEmpty(f.employer9_leave)){
			showAlert("the reason you left the ninth previous company you worked for",f.employer9_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer9_state)){		
		if (isEmpty(f.employer9)){
			showAlert("the name of ninth previous company you worked for",f.employer9);		
			return false;
		}	
		if (isEmpty(f.employer9_city)){
			showAlert("the city of the ninth previous company you worked for",f.employer9_city);		
			return false;
		}
		if (isEmpty(f.employer9_position)){
			showAlert("the position you held at the ninth previous company you worked for",f.employer9_position);		
			return false;
		}
		if (isEmpty(f.employer9_date1)){
			showAlert("the date you started working at the ninth previous company you worked for",f.employer9_date1);		
			return false;
		}
		if (isEmpty(f.employer9_date2)){
			showAlert("the date you stopped working at the ninth previous company you worked for",f.employer9_date2);		
			return false;
		}
		if (isEmpty(f.employer9_leave)){
			showAlert("the reason you left the ninth previous company you worked for",f.employer9_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer9_position)){		
		if (isEmpty(f.employer9)){
			showAlert("the name of ninth previous company you worked for",f.employer9);		
			return false;
		}	
		if (isEmpty(f.employer9_city)){
			showAlert("the city of the ninth previous company you worked for",f.employer9_city);		
			return false;
		}
		if (isEmpty(f.employer9_state)){
			showAlert("the state of ninth previous company you worked for",f.employer9_state);		
			return false;
		}
		if (isEmpty(f.employer9_date1)){
			showAlert("the date you started working at the ninth previous company you worked for",f.employer9_date1);		
			return false;
		}
		if (isEmpty(f.employer9_date2)){
			showAlert("the date you stopped working at the ninth previous company you worked for",f.employer9_date2);		
			return false;
		}
		if (isEmpty(f.employer9_leave)){
			showAlert("the reason you left the ninth previous company you worked for",f.employer9_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer9_date1)){		
		if (isEmpty(f.employer9)){
			showAlert("the name of ninth previous company you worked for",f.employer9);		
			return false;
		}	
		if (isEmpty(f.employer9_city)){
			showAlert("the city of the ninth previous company you worked for",f.employer9_city);		
			return false;
		}
		if (isEmpty(f.employer9_state)){
			showAlert("the state of ninth previous company you worked for",f.employer9_state);		
			return false;
		}
		if (isEmpty(f.employer9_position)){
			showAlert("the position you held at the ninth previous company you worked for",f.employer9_position);		
			return false;
		}
		if (isEmpty(f.employer9_date2)){
			showAlert("the date you stopped working at the ninth previous company you worked for",f.employer9_date2);		
			return false;
		}
		if (isEmpty(f.employer9_leave)){
			showAlert("the reason you left the ninth previous company you worked for",f.employer9_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer9_date2)){		
		if (isEmpty(f.employer9)){
			showAlert("the name of ninth previous company you worked for",f.employer9);		
			return false;
		}	
		if (isEmpty(f.employer9_city)){
			showAlert("the city of the ninth previous company you worked for",f.employer9_city);		
			return false;
		}
		if (isEmpty(f.employer9_state)){
			showAlert("the state of ninth previous company you worked for",f.employer9_state);		
			return false;
		}
		if (isEmpty(f.employer9_position)){
			showAlert("the position you held at the ninth previous company you worked for",f.employer9_position);		
			return false;
		}
		if (isEmpty(f.employer9_date1)){
			showAlert("the date you started working at the ninth previous company you worked for",f.employer9_date1);		
			return false;
		}
		if (isEmpty(f.employer9_leave)){
			showAlert("the reason you left the ninth previous company you worked for",f.employer9_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer9_leave)){		
		if (isEmpty(f.employer9)){
			showAlert("the name of ninth previous company you worked for",f.employer9);		
			return false;
		}	
		if (isEmpty(f.employer9_city)){
			showAlert("the city of the ninth previous company you worked for",f.employer9_city);		
			return false;
		}
		if (isEmpty(f.employer9_state)){
			showAlert("the state of ninth previous company you worked for",f.employer9_state);		
			return false;
		}
		if (isEmpty(f.employer9_position)){
			showAlert("the position you held at the ninth previous company you worked for",f.employer9_position);		
			return false;
		}
		if (isEmpty(f.employer9_date1)){
			showAlert("the date you started working at the ninth previous company you worked for",f.employer9_date1);		
			return false;
		}
		if (isEmpty(f.employer9_date2)){
			showAlert("the date you stopped working at the ninth previous company you worked for",f.employer9_date2);		
			return false;
		}
	}
	if (!isEmpty(f.employer10)){		
		if (isEmpty(f.employer10_city)){
			showAlert("the city of the tenth previous company you worked for",f.employer10_city);		
			return false;
		}	
		if (isEmpty(f.employer10_state)){
			showAlert("the state of the tenth previous company you worked for",f.employer10_state);		
			return false;
		}
		if (isEmpty(f.employer10_position)){
			showAlert("the position you held at the tenth previous company you worked for",f.employer10_position);		
			return false;
		}
		if (isEmpty(f.employer10_date1)){
			showAlert("the date you started working at the tenth previous company you worked for",f.employer10_date1);		
			return false;
		}
		if (isEmpty(f.employer10_date2)){
			showAlert("the date you stopped working at the tenth previous company you worked for",f.employer10_date2);		
			return false;
		}
		if (isEmpty(f.employer10_leave)){
			showAlert("the reason you left the tenth previous company you worked for",f.employer10_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer10_city)){		
		if (isEmpty(f.employer10)){
			showAlert("the name of tenth previous company you worked for",f.employer10);		
			return false;
		}	
		if (isEmpty(f.employer10_state)){
			showAlert("the state of the tenth previous company you worked for",f.employer10_state);		
			return false;
		}
		if (isEmpty(f.employer10_position)){
			showAlert("the position you held at the tenth previous company you worked for",f.employer10_position);		
			return false;
		}
		if (isEmpty(f.employer10_date1)){
			showAlert("the date you started working at the tenth previous company you worked for",f.employer10_date1);		
			return false;
		}
		if (isEmpty(f.employer10_date2)){
			showAlert("the date you stopped working at the tenth previous company you worked for",f.employer10_date2);		
			return false;
		}
		if (isEmpty(f.employer10_leave)){
			showAlert("the reason you left the tenth previous company you worked for",f.employer10_leave);		
			return false;
		}
	}
	
	if (!isEmpty(f.employer10_state)){		
		if (isEmpty(f.employer10)){
			showAlert("the name of tenth previous company you worked for",f.employer10);		
			return false;
		}	
		if (isEmpty(f.employer10_city)){
			showAlert("the city of the tenth previous company you worked for",f.employer10_city);		
			return false;
		}
		if (isEmpty(f.employer10_position)){
			showAlert("the position you held at the tenth previous company you worked for",f.employer10_position);		
			return false;
		}
		if (isEmpty(f.employer10_date1)){
			showAlert("the date you started working at the tenth previous company you worked for",f.employer10_date1);		
			return false;
		}
		if (isEmpty(f.employer10_date2)){
			showAlert("the date you stopped working at the tenth previous company you worked for",f.employer10_date2);		
			return false;
		}
		if (isEmpty(f.employer10_leave)){
			showAlert("the reason you left the tenth previous company you worked for",f.employer10_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer10_position)){		
		if (isEmpty(f.employer10)){
			showAlert("the name of tenth previous company you worked for",f.employer10);		
			return false;
		}	
		if (isEmpty(f.employer10_city)){
			showAlert("the city of the tenth previous company you worked for",f.employer10_city);		
			return false;
		}
		if (isEmpty(f.employer10_state)){
			showAlert("the state of tenth previous company you worked for",f.employer10_state);		
			return false;
		}
		if (isEmpty(f.employer10_date1)){
			showAlert("the date you started working at the tenth previous company you worked for",f.employer10_date1);		
			return false;
		}
		if (isEmpty(f.employer10_date2)){
			showAlert("the date you stopped working at the tenth previous company you worked for",f.employer10_date2);		
			return false;
		}
		if (isEmpty(f.employer10_leave)){
			showAlert("the reason you left the tenth previous company you worked for",f.employer10_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer10_date1)){		
		if (isEmpty(f.employer10)){
			showAlert("the name of tenth previous company you worked for",f.employer10);		
			return false;
		}	
		if (isEmpty(f.employer10_city)){
			showAlert("the city of the tenth previous company you worked for",f.employer10_city);		
			return false;
		}
		if (isEmpty(f.employer10_state)){
			showAlert("the state of tenth previous company you worked for",f.employer10_state);		
			return false;
		}
		if (isEmpty(f.employer10_position)){
			showAlert("the position you held at the tenth previous company you worked for",f.employer10_position);		
			return false;
		}
		if (isEmpty(f.employer10_date2)){
			showAlert("the date you stopped working at the tenth previous company you worked for",f.employer10_date2);		
			return false;
		}
		if (isEmpty(f.employer10_leave)){
			showAlert("the reason you left the tenth previous company you worked for",f.employer10_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer10_date2)){		
		if (isEmpty(f.employer10)){
			showAlert("the name of tenth previous company you worked for",f.employer10);		
			return false;
		}	
		if (isEmpty(f.employer10_city)){
			showAlert("the city of the tenth previous company you worked for",f.employer10_city);		
			return false;
		}
		if (isEmpty(f.employer10_state)){
			showAlert("the state of tenth previous company you worked for",f.employer10_state);		
			return false;
		}
		if (isEmpty(f.employer10_position)){
			showAlert("the position you held at the tenth previous company you worked for",f.employer10_position);		
			return false;
		}
		if (isEmpty(f.employer10_date1)){
			showAlert("the date you started working at the tenth previous company you worked for",f.employer10_date1);		
			return false;
		}
		if (isEmpty(f.employer10_leave)){
			showAlert("the reason you left the tenth previous company you worked for",f.employer10_leave);		
			return false;
		}
	}
	if (!isEmpty(f.employer10_leave)){		
		if (isEmpty(f.employer10)){
			showAlert("the name of tenth previous company you worked for",f.employer10);		
			return false;
		}	
		if (isEmpty(f.employer10_city)){
			showAlert("the city of the tenth previous company you worked for",f.employer10_city);		
			return false;
		}
		if (isEmpty(f.employer10_state)){
			showAlert("the state of tenth previous company you worked for",f.employer10_state);		
			return false;
		}
		if (isEmpty(f.employer10_position)){
			showAlert("the position you held at the tenth previous company you worked for",f.employer10_position);		
			return false;
		}
		if (isEmpty(f.employer10_date1)){
			showAlert("the date you started working at the tenth previous company you worked for",f.employer10_date1);		
			return false;
		}
		if (isEmpty(f.employer10_date2)){
			showAlert("the date you stopped working at the tenth previous company you worked for",f.employer10_date2);		
			return false;
		}
	}
	
	if (isEmpty(f.argreeDate)){
		showAlert("the agreement date",f.argreeDate);		
		return false;
	}
	
	if (!isChecked(f.IAgree)){
		showAlert("that you agree to the terms of the application",null);
		return false;
	}	

}
