$(document).ready(function() {
	//When page loads...
//	$("section article.tab_container").hide(); //Hide all content
//	$("section header + article.tab_container").show(); //Show first tab content
//
//	$("section article.tab_container:first").show(); //Show first tab content

	//On Click Event
	$("ul.tabs li").click(function() {

		//alert ($(document));
		$(this).parent().children('li').removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(this).parent().parent().parent().children(".tab_container").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		//alert ($(activeTab).value);
		return false;
	});

});
