	$(function() {
		
		//When page loads...
		$("ul.tabs").each(function(){
			$(this).children("li:eq(1)").addClass("active").show();
		})
		$("ul.tabs5").each(function(){
			$(this).children("li:eq(1)").addClass("active").show();
		})
		$(".tab_content").hide(); //Hide all content
		$(".tab_container").each(function(){
			$(this).children(".tab_content:eq(1)").show(); //Show first tab content
		});
		$(".tab_content2").hide(); //Hide all content
		$(".tab_container").each(function(){
			$(this).children(".tab_content2:eq(1)").show(); //Show first tab content
		});
		//On Click Event
		$("ul.tabs li").click(function() {
			$(".tab_content:visible .pagination li:eq(0) a").trigger("click");
			$(this).siblings("ul.tabs li").removeClass("active"); //Remove any "active" class
			$(this).addClass("active"); //Add "active" class to selected tab
			$(".tab_content").hide(); //Hide all tab content
			var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
			$(".superTab1 "+activeTab).fadeIn(); //Fade in the active ID content
			return false;
		});
		$("ul.tabs5 li").click(function() {
			$(this).siblings("ul.tabs5 li").removeClass("active"); //Remove any "active" class
			$(this).addClass("active"); //Add "active" class to selected tab
			$(".tab_content2").hide(); //Hide all tab content
			var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
			$(".superTab2 "+activeTab).fadeIn(); //Fade in the active ID content
			return false;
		});
		$("ul.tabs3 li:eq(1)").addClass("active").show(); //Activate first tab
		$(".superTab1").show(); //Show first tab content
		$(".superTab2").hide(); //Show first tab content
		//On Click Event
		$("ul.tabs3 li").click(function() {
			$("ul.tabs3 li").removeClass("active"); //Remove any "active" class
			$(this).addClass("active"); //Add "active" class to selected tab
			$(".superTab1").hide();
			$(".superTab2").hide();
			var activeTab = $(this).find("a").attr("rel"); //Find the href attribute value to identify the active tab + content
			$("."+activeTab).fadeIn(); //Fade in the active ID content
			return false;
		});
	});
