$(document).ready(function(){ // This sets the opacity of the thumbs to fade down to 60% when the page loads
	initPalmaresJury();
});

function reloadPalmaresJury()
{
	$("#palmares-jury-container").load("/user/axPalmares");
	initPalmaresJury();
}

function initPalmaresJury()
{
	$(".palmares-jury-clickable").click(function(){
		$("#palmares-jury-container").load($(this).attr("rel"),{},function (tt){
				initPalmaresJury();
			});
		return false;
	});
	$("#classement-show-jury").click(function(){
		$("#classement-jury-container").hide();
		$("#classement-show-jury").hide();
		$("#classement-public-container").show();
		$("#classement-show-public").show();
	});
	$("#classement-show-public").click(function(){
		$("#classement-jury-container").show();
		$("#classement-show-jury").show();
		$("#classement-public-container").hide();
		$("#classement-show-public").hide();
	});

}
