// JQuery stuff, pour JoL-EoS
	$(document).ready(function () { 
		$("a.rss").click(function() { 
			$("#flux").fadeOut('slow'); 
			$("#actus_RSS").addClass("loading");
			$.get('rss.php?flux=' + this.name, function (c) {
				$("#flux").fadeOut('slow');
				$("#flux").hide();
				$("#flux").html(c);
				$("#flux").fadeIn('slow');
				$("#actus_RSS").removeClass("loading");
			}  );
			$("#RSS_hidden").hide('slow');
			$("#RSS_close").hide();
			$("#RSS_show").show();
			$("#Image_Flux").attr("src","http://medias.jeuxonline.info/empireofsports/site/img/logos/logo_" + this.name + ".png");
			return false;
		});
		$("a#RSS_show").click(function() {
			$("#RSS_hidden").show('slow');
			$("#RSS_show").hide();
			$("#RSS_close").show();
			return false;
		});
		$("#classement").addClass('loading');
		$.get('classement.php', function (d) {
			$("#classement").html(d);
			$("#classement").removeClass("loading");
		});
		$("#RSS_close").click(function() {
			$("#RSS_hidden").hide('slow');
			$("#RSS_close").hide();
			$("#RSS_show").show();
			return false;
		});
		$("a.rank_link").click(function() {
			$("#tableau_classement").fadeOut('slow'); 
			$(".texte").addClass("loading");
			$.get('http://empireofsports.jeuxonline.info/classement.php?ranking=cmplx&displ=' + this.name, function (e) {
				$("#tableau_classement").fadeOut('slow');
				$("#tableau_classement").hide();
				$("#tableau_classement").html(e);
				$("#tableau_classement").fadeIn('slow');
				$(".texte").removeClass("loading");
			});
			return false;
		});
	});
	$(document).click(function() {
		$("#RSS_hidden").hide('slow');
		$("#RSS_close").hide();
		$("#RSS_show").show();
	}); 