$(document).ready(function(){
	// Hide all records except the first
	$(".section").not(':first').hide();

	// Setup handler to fade in each record when the recordlink is clicked.
	$(".sectionnav").click(
		function(e){
			var idField = $(this).attr('id');
			var idNum = 0;
			if (idField.match(/(\d+)$/))
			{
				idNum = RegExp.$1;
			}
				
			$('.section').hide();
			$('#section_'+idNum).fadeIn("slow");
			e.stopPropagation();
			return false;
		}
	);

});
