NS6IE5 = (document.getElementById);IE = (document.all);NS = (document.layers);var timer;var timer_i;var timerC;var timer_iC=12;
function AffHorloge() {var d=new Date();var heure=d.getHours();var min=d.getMinutes();var sec=d.getSeconds();if (heure<10) heure="0"+heure;if (min<10) min="0"+min;if (sec<10) sec="0"+sec;contenu=+heure+":"+min+":"+sec;if (document.all) {horloge.innerHTML=contenu;}; setTimeout("AffHorloge()",1000);}
function InitHorloge() {if (document.all) {document.write("<DIV id='horloge'></DIV>");AffHorloge();}}
function expandDiv(mySpan){mySpanStyle = document.getElementById(mySpan).style;if (mySpanStyle.display == "none"){mySpanStyle.display = "inline";} else {mySpanStyle.display = "none";}}
function menuSmF(id,action){if (action){timer_i=0;timer = setTimeout("menuAnim("+id+");", 0);}else{if (timer_iC==12){clearTimeout(timer);menuAnim(-1);}}}
function menuSmFClick(id){clearTimeout(timer);if (timer_iC != 0){if ((id-timer_iC)>=0){changeMenu((id-timer_iC),'#21252E')}if ((id+timer_iC)<=11){changeMenu(parseInt(id+timer_iC),'#21252E')}timer_iC--;timerC = setTimeout("menuSmFClick("+id+");",75);}else{clearTimeout(timerC);timer_iC=12;}}
function menuAnim(id){var color;if (id != -1){switch(timer_i){case 0:	color='#FFFFFE'; break;case 1:	color='#FFEFCE'; break;case 2:	color='#FFDEBE'; break;case 3:	color='#FFCE9E'; break;case 4:	color='#FFBE8E'; break;case 5:	color='#FFAE7E'; break;case 6:	color='#FF9E6E'; break;case 7:	color='#FF9E5E'; break;case 8:	color='#FF8E4E'; break;default:color='#FF8E3E'; break;}if (timer_i!=0){if ((id-timer_i)>=-1){if ((id-timer_i)>=0){changeMenu((id-timer_i),color);}if (timer_i>1){changeMenu((id-timer_i+1),'');}}if ((id+timer_i)<=12){if ((id+timer_i)<=11){changeMenu(parseInt(id+timer_i),color)};if (timer_i>1){changeMenu(parseInt(id+timer_i-1),'')};}}else{changeMenu(id,color);}timer_i++;if (timer_i==13){timer_i=0;timer = setTimeout("menuAnim("+id+");",1000);}else if (timer_i!=1){timer = setTimeout("menuAnim("+id+");",50);}else{timer = setTimeout("menuAnim("+id+");",250);}}else{for (var i=0;i<12;i++){changeMenu(i,'');}}}
function changeMenu(id,color){if (NS6IE5){document.getElementById(id).style.backgroundColor = color;}else if (IE) {document.all[id].style.backgroundColor = color;}else if (NS) {document.layers[id].style.backgroundColor = color;}}
function MM_swapImgRestore(){var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}
function MM_preloadImages(){var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}
function MM_findObj(n,d){var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);if(!x && d.getElementById) x=d.getElementById(n); return x;}
function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}
MM_preloadImages('/slash5/s5images/commun/sinscrire_h.gif');MM_preloadImages('/slash5/s5images/commun/coucours_h.gif');MM_preloadImages('/slash5/s5images/commun/inscripstats_h.gif');MM_preloadImages('/slash5/s5images/commun/player_h.gif');