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