jQuery(function($){
	if($("body").is("#awards")){
		//Show hide stuff
		$bioInfo = $(".bioInfo");
		
		//Hide all the bios
		$bioInfo.find(".bio").hide();
		
		//Apply the click action
		$bioInfo.find("h3").click(function(){
			var $this = $(this);
			var $parentLI = $this.parents("li");
			
			//Horribly hacky, Sorry!
			if($parentLI.hasClass("show")){
				$parentLI.removeClass("show");
				$parentLI.find(".bio").slideUp();
				$parentLI.find("h3 b").removeClass("up").addClass("down");
			} else {
				if($bioInfo.find(".clicker").hasClass("show")){
					var $found = $bioInfo.find(".show");
					
					$found.removeClass("show");
					$found.find(".bio").slideUp();
					$found.find("h3 b").removeClass("up").addClass("down");
				}
				
				if($parentLI.hasClass("show")){
					//Hide the content
					$parentLI.removeClass("show");
					
					//Hide the content
					$parentLI.find(".bio").slideUp();
					
					//Change the arrow
					$parentLI.find("h3 b").removeClass("up").addClass("down");
				} else {
					//Show the content
					$parentLI.addClass("show");
					
					//Show the content
					$parentLI.find(".bio").slideDown();
					
					//Change the arrow
					$parentLI.find("h3 b").removeClass("down").addClass("up");
				}
			}
		}).hover(function(){
			$(this).addClass("hovered");
			},
		function(){
			$(this).removeClass("hovered");
			});
	}
});
