		  $(document).ready(function(){
			
			$("ul#nav li a").click(function () {
				
				
				// switch all tabs off
				$("ul#nav li a").removeClass("current");
				
				// switch this tab on
				$(this).addClass("current");
				
				// hide content
				$(".content").hide();
				
				// fade active content in
				var content_show = $(this).attr("title");
				$("#"+content_show).fadeIn();
			  
			});
		
		  });
