<!-- Start Tabs Functions JS -->
$(document).ready(function() {
	//Default Action
	$(".tab_content").hide(); //Hide all content
	$(".text").hide(); //Hide all content
//	$("ul.tabs li:first").addClass("active").slideDown("slow"); //Activate first tab
	$(".tab_content:first").delay(1000).slideDown(3000); //Show first tab content
	$(".progressbar").stop().delay(3000).animate({ width: '100%'}, { queue:true, duration: 3000, easing: 'easeInBounce',
	complete: function() {
	$(".text").show(500);
	}}
);
	//On Click Event
	$("ul.tabs li").click(function() {
//		$("ul.tabs li").removeClass("active"); //Remove any "active" class
//		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").slideUp("slow").animate({opacity: 0}); //Hide all tab content
//		var activeTab = $(this).find("a").attr("class"); //Find the rel attribute value to identify the active tab + content
//		$(activeTab).fadeOut().animate({opacity: 1.0}).slideDown("slow"); //Fade in the active content
//		return false;
	});

});



