$(function() {

	$("ul.tabs li").click(function() {
	
		$("ul.tabs li a").removeClass("active"); 
		$('a',$(this)).addClass("active"); 

		$(".details_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
		return false;
		
	});
	
	$("ul.tabs li").eq(0).trigger('click');
	
});

