// JavaScript Document
jQuery(document).ready(function() {
	jQuery('#present').val('N/A');
	jQuery('#present').change(function() {
		present = new String(jQuery('#present').val());
		if (present.length > 0) {
			if ('N/A' == present.substr(0,3)) {
				jQuery('.present_section').slideUp('fast');
				jQuery('#present').val('N/A');
			}
			else {
				present = present.toLowerCase();
				present = present.replace(/ /g, '_');
				present = '.' + present.replace(/,/g, ',.');
				jQuery('.present_section').not(present).slideUp('fast');
				present_array = present.split(',');
				jQuery.each(present_array, function() {
					jQuery(String(this)).slideDown();
				});
			}
		}
	});
});
