$(document).ready(function() {
	// links for the nav tabs.
	// clicking on an anchor hides the content, loads new content, and fades the new in.
	// this function also changes the class of the tabs and prevents the browser from loading the href
	$('#nav a').click(function(event) {
		$('#c').hide().load($(this).attr("href") + ' #c').fadeIn(1000);
		// remove active link class for all links then change the class of the link
		$('#nav a').removeClass("activeLink");
		$(this).addClass("activeLink");
		// used in place of 'return false;' as suggested by http://docs.jquery.com/Events_%28Guide%29
		event.preventDefault();
	});
});
