$(document).ready(function(){
	$("#accordion").accordion({ header: "h3" });
	$("#one-applicant-no-next").hide();
	$("#applicant-company-yes-next").hide();

	$("#one-applicant-no").click(
		function() {
			// if 'no', there is 1 applicant
			$("#one-applicant-no-next").fadeIn('slow');
		}
	);
	$("#one-applicant-yes").click(
		function() {
			// if 'yes', there is > 1 applicant
			$("#one-applicant-no-next").fadeOut('slow');
		}
	);
	$("#applicant-company-no").click(
		function() {
			// if 'no', it is an individual
			$("#applicant-company-yes-next").fadeOut('slow');
		}
	);
	$("#applicant-company-yes").click(
		function() {
			// if 'yes', it is a company
			$("#applicant-company-yes-next").fadeIn('slow');
		}
	);
});