jQ(document).ready(function() {

	//Default Action
	jQ(".tab_content").hide(); //Hide all content
	jQ("ul.tabs li:first").addClass("active").show(); //Activate first tab
	jQ(".tab_content:first").show(); //Show first tab content
	
	//On Click Event
	jQ("ul.tabs li").click(function() {
		jQ("ul.tabs li").removeClass("active"); //Remove any "active" class
		jQ(this).addClass("active"); //Add "active" class to selected tab
		jQ(".tab_content").hide(); //Hide all tab content
		var activeTab = jQ(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		jQ(activeTab).fadeIn(); //Fade in the active content
		return false;
	});

});

