(function($) {
	$(document).ready(function () {
		$("body:not('.js-enabled')").addClass("js-enabled");

		$(".podcast-menu ul li a").mouseover(function() {	
			var el = $(this).attr("class");

			$(".podcast-sections dt").hide();
			$(".podcast-sections dd").hide();

			$(".podcast-sections dt#" + el).show();
			$(".podcast-sections dd." + el).show();

			return false;
		});
		
		// Presentation javascript to move the footer below a relative/absolute positioned element
		var contentTopX = $("#content").offset();
		var lastListItemTopX = $(".podcast-menu li ul li:last").offset();
		var lastElementHeight = $(".podcast-menu li ul li:last").height();
		var contentHeight = lastListItemTopX.top - contentTopX.top + lastElementHeight + 10;
		$("#content").css({height: contentHeight});
		
	});
}) (jQuery);