document.write('<link rel="shortcut icon" type="image/x-icon" href="/FF/favicon1.ico" />');

sas_tmstp=Math.round(Math.random()*10000000000);sas_masterflag=1;
function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
	if (sas_masterflag==1) {
		sas_masterflag=0;
		sas_master='M';
	}
	else {
		sas_master='S';
	}
	document.write('<scr'+'ipt SRC="http://www.smartadserver.com/call/pubj/' + sas_pageid + '/' + sas_formatid + '/'+sas_master + '/' + sas_tmstp + '/' + escape(sas_target) + '?"></scr'+'ipt>');
}
function changeActuClubs(code)
{
	var url = "/FF/include_v3/bottom_clubs_"+code+".html";
	
	/* jquery 
	
	$("#bottom-clubs").load(url);
	$("#bottom_ong_D1").removeClass("actif");
	$("#bottom_ong_D2").removeClass("actif");
	switch(code)
	{
		case "D1" : $("#bottom_ong_D2").addClass("off");break;
		case "D2" : $("#bottom_ong_D1").addClass("off");break;
	}
	$("#bottom_ong_"+code).addClass("actif");
	
	*/
	/* proto */
	$("bottom-clubs").load(url);
	$("bottom_ong_D1").removeClassName("actif");
	$("bottom_ong_D2").removeClassName("actif");
	$("bottom_ong_D1").style.fontWeight = "normal";
	$("bottom_ong_D2").style.fontWeight = "normal";
	
	switch(code)
	{
		case "D1" : $("bottom_ong_D2").addClassName("off");$("bottom_ong_D1").removeClassName("off");break;
		case "D2" : $("bottom_ong_D1").addClassName("off");$("bottom_ong_D2").removeClassName("off");break;
	}
	$("bottom_ong_"+code).addClassName("actif");
	$("bottom_ong_"+code).style.fontWeight = "bold";
	/* */
	

}
function Cacher(id) {
	//N : solution de facilité pour replier les autres
	initialize();
	if (document.getElementById(id).style.display == "none") {
		document.getElementById(id).style.display = "inline";
	}
	else {
		document.getElementById(id).style.display = "none";
	}
}
function initialize()
{
}
if(document.getElementById)
	window.onload = initialize;
document.write('<link rel="shortcut icon" type="image/x-icon" href="/FF/favicon1.ico" />');
sas_tmstp=Math.round(Math.random()*10000000000);
sas_masterflag=1;
function SmartAdServer(sas_pageid,sas_formatid,sas_target)
{	
	if (sas_masterflag==1)
	{
		sas_masterflag=0;
		sas_master='M';
	}
	else
	{
		sas_master='S';
	}
	document.write('<scr'+'ipt SRC="http://www.smartadserver.com/call/pubj/' + sas_pageid + '/' + sas_formatid + '/'+sas_master + '/' + sas_tmstp + '/' + escape(sas_target) + '?"></scr'+'ipt>');
}
function chooseTarget()
{
	if (this.document.queryForm.target[1].checked)
	{
		// this.document.queryForm.action = 'http://fr.search.yahoo.com/search';
		this.document.queryForm.action = 'http://www.lequipe.fr/sdx/lqs/ff/search';
		this.document.queryForm.p.value = this.document.queryForm.q.value;
	}
	else
	{
		this.document.queryForm.action = 'http://www.lequipe.fr/sdx/lqs/ff/search';
	}
}
function afficheChrono(num){
	var bloc = num - 1;
	new Ajax.Request('/FF/include_v3/bloc_breves_'+bloc+'.html', {
		  method: 'get',
		  onSuccess: function(codeHTML) {
			var blocHTML = codeHTML.responseText;
			$('liste-breves').innerHTML=blocHTML;
		  }
	});
}

Element.addMethods({   load: function(element, url) {      new Ajax.Updater(element, url, {method:'get',evalScripts:'true'})    }});