$(document).ready(function() {
	$('#graphTabs li a').click(function(event) {
		event.preventDefault();
		
		var year = $(this).attr('id').substr(4);
		
		$(this).parent('li').siblings('li').children('a').removeClass('active');
		$(this).addClass('active');
		
		$('table[id^=graph-]').hide();
		$('#graph-'+year).show();
	});
});
