function validateForm()
{
	var validated = true;
	var validations = new Array();
	
	// Creates an array to denote what fields are required and should be validated
	// @param: the id of the input field to validate against
	// @param: the id of where on the form to display the error message if validation for the field fails
	// @param: the text to display when validation for the field fails
	// @param: true or false whether or not to change color of a field if validation fails
	// @param: the id of the field to change color to red if validation fails
	validations.push(validation.required("firstName", "firstNameLabel", "* ", true, "firstNameLabel"));
	validations.push(validation.required("lastName", "lastNameLabel", "* ", true, "lastNameLabel"));
	validations.push(validation.required("designation", "designationLabel", "* ", true, "designationLabel"));
	validations.push(validation.required("email", "emailLabel", "* ", true, "emailLabel"));
	validations.push(validation.required("phone", "phoneLabel", "* ", true, "phoneLabel"));
	validations.push(validation.required("mailing", "mailingLabel", "* ", true, "mailingLabel"));
	validations.push(validation.required("city", "cityLabel", "* ", true, "cityLabel"));
	validations.push(validation.required("state", "stateLabel", "* ", true, "stateLabel"));
	validations.push(validation.required("zip", "zipLabel", "* ", true, "zipLabel"));
	// validations.push(validation.required("whoyou", "whoLabel", "* ", true, "whoLabel"));
					
	for (var v in validations) 
		validated = validated && validations[v];

	return validated;
}

