function  validateField() {



	var flagged = 0;

	var theFields = new Array();

	theFields[0] = document.application.first_name;

	theFields[1] = document.application.phone;

	theFields[2] = document.application.email;

	theFields[3] = document.application.last_name;

	theFields[4] = document.application.city;
	
	theFields[5] = document.application.zip;
	
	theFields[6] = document.application.state;



	for (i=0; i < theFields.length; i++) {

		if ((flagged < 1) && (theFields[i].value.length < 1)) {

			alert('You have not filled out a required field. Click OK to return to the field in question.');

			theFields[i].focus();

			flagged = 1;

		}

	}

	if (flagged) {

		return false;

	}

	else {

		return true;

	}

}  
