var $j = jQuery.noConflict(); 


function formatText(index, panel) {
  return index + "";
}

$j(function () {

	
	// ONGLETS
	$j(".tab").hide();
	$j("ul.onglets li:first-child ").addClass("active").show();
	$j(".on ").show(); 
	

	$j("ul.onglets li").click(function() {
		$j("ul.onglets li").removeClass("actif");
		$j(this).addClass("actif");
		$j(".tab").hide();
		var activeTab = $j(this).find("a").attr("href");
		$j(activeTab).fadeIn();
		return false;
	});
	


});

