$(document).ready(function() {
var tb = jQuery.noConflict();
	//When page loads...
	tb(".tab-content").hide(); //Hide all content
	tb("ul.tabs li:first").addClass("active").show(); //Activate first tab
	tb(".tab-content:first").show(); //Show first tab content

	//On Click Event
	tb("ul.tabs li").click(function() {

		tb("ul.tabs li").removeClass("active"); //Remove any "active" class
		tb(this).addClass("active"); //Add "active" class to selected tab
		tb(".tab-content").hide(); //Hide all tab content

		var activeTab = tb(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		tb(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});

});

