

$(document).ready(function() {

// groupFitness1.html

	$('#classDescriptions p, #classDescriptions h2').hide();
	$('#classDescriptions p#ins').show();
	
	$("td a").click(function(){
		$('#classDescriptions p, #classDescriptions h2').hide();
		var whichClass = "#classDescriptions #" + $(this).attr("class");
		$(whichClass).show();
		return false;
	});
	
// trainers.html

	$('#bios p, #bios h2').hide();
	$("#content area").click(function(){
		$('#bios p, #bios h2').hide();
		var whichTrainer = "#" + $(this).attr("rel");
		$(whichTrainer).show();
		return false;
	});

// nav
	
	function showSecondaryNav() {
		$('#nav a.scheds').show();
	}
	function hideSecondaryNav() {
		$('#nav a.scheds').hide();
	}

	$('#nav .sched a, .sched a').hover(showSecondaryNav,hideSecondaryNav);
	
	hideSecondaryNav();



});