
<!--
//Script perméttant l'ajout du site dans les favoris
function testresolution2()
	{if ((screen.width==640)&&(screen.height==480))
		location="accueil_800.htm"; // PAGE DE REDIRECTION SI RESOLUTION DE 640x480
	else if ((screen.width==800)&&(screen.height==600))
		location="accueil_800.htm"; // PAGE DE REDIRECTION SI RESOLUTION DE 800x600
	else if ((screen.width==1024)&&(screen.height==768))
		location="accueil_1024.htm"; // PAGE DE REDIRECTION SI RESOLUTION DE 1024x768
	else if ((screen.width==1152)&&(screen.height==864))
		location="accueil_1024.htm"; // PAGE DE REDIRECTION SI RESOLUTION DE 1152x864
	else if ((screen.width==1280)&&(screen.height==960))
		location="accueil_1024.htm"; // PAGE DE REDIRECTION SI RESOLUTION DE 1280x960
	else if ((screen.width==1280)&&(screen.height==1024))
		location="accueil_1024.htm"; // PAGE DE REDIRECTION SI RESOLUTION DE 1280x1024
	else
		location="accueil_1024.htm";} // PAGE PAR DEFAUT

//Mis en ligne: 26/01/03
//By FREDY
//-->

<!--
//Script perméttant l'ajout du site dans les favoris

var bookmarkurl="http://tcfoulayronnes.free.fr"
var bookmarktitle="Tennis Club de Foulayronnes"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

//Mis en ligne: 10/01/03
//By FREDY
//-->

<!--
//2° Script perméttant l'ajout du site dans les favoris
nav = navigator.appName.substring(0,3);
ver = navigator.appVersion.substring(0,1)
function addFav()
{
if (nav == "Mic" && ver >= 4)
{
url_site="http://f.goguet.fr";
titre_site = "Bienvenue sur Mon Site:-)";
document.write('<A HREF="#" onClick="window.external.AddFavorite(url_site,titre_site);return(false);">Cliquez ici pour mettre MON SITE dans vos favoris</A><BR>')
}
else
{
document.write('Faites CTRL+D pour ajouter ce site &agrave; vos favoris!')
}
}

//Mis en ligne: 22/01/03
//By FREDY
//-->

<!-- ZOOM dynamique -->
<!--
//Script perméttant l'affichage ou le cache d'une image
function montre(id) {
	  if (document.getElementById) {
		  document.getElementById(id).style.visibility="visible";
		} else if (document.all) {
		  document.all[id].style.visibility="visible";
		} else if (document.layers) {
		  document.layers[id].visibility="visible";
		} } 
		
function cache(id) {
	  if (document.getElementById) {
		  document.getElementById(id).style.visibility="hidden";
		  //alert("GET");
		} else if (document.all) {
		  document.all[id].style.visibility="hidden";
		  //alert("ALL");
		} else if (document.layers) {
		  document.layers[id].visibility="hidden";
		  //alert("LAYERS");
		} }

function montreadm(id,nom,prenom,lic,an,clt,clt1,clt2) {
	var nom = nom;
	
	  if (document.getElementById) {
		  document.getElementById(id).style.visibility="visible";
		} else if (document.all) {
		  document.all[id].style.visibility="visible";
		} else if (document.layers) {
		  document.layers[id].visibility="visible";
		} } 
		
function fermerzieu() {
	  if (document.getElementById) {
		  //document.getElementById(id).style.visibility="hidden";
		  //alert("GET function Fermerzieu");
		  compt=1;
			while (compt<11) {
		  document.getElementById("A"+compt).style.visibility="hidden";
		  //alert("GET A"+compt);
		  document.getElementById("B"+compt).style.visibility="hidden";
		  //alert("GET B"+compt);
		  document.getElementById("C"+compt).style.visibility="hidden";
		  //alert("GET C"+compt);
		  document.getElementById("D"+compt).style.visibility="hidden";
		  //alert("GET D"+compt);
		  document.getElementById("E"+compt).style.visibility="hidden";
		  //alert("GET E"+compt);
			compt++;
			}
		  //alert("Fin de boucle");
		} else if (document.all) {
		  document.all[id].style.visibility="hidden";
		  alert("ALL");
		} else if (document.layers) {
		  document.layers[id].visibility="hidden";
		  alert("LAYERS");
		} }
//Mis en ligne: 10/01/03
//By FREDY
//-->

<!-- function ouvre page situation -->
<!--
//Script perméttant l'ouverture d'une autre fenêtre 
function ouvre(nom){ 
window.open(nom,target="_top" );
}
//Mis en ligne: 14/01/03
//By FREDY
//-->

<!-- function recherche Nom Licencie  -->
<!--
//Script perméttant la recherche d'un texte dans une page 
function TextEnPage(str) {

  var txt, i, found;

  if (str == "")
    return false;

  // Find next occurance of the given string on the page, wrap around to the
  // start of the page if necessary.

  if (NS4) {

    // Look for match starting at the current point. If not found, rewind
    // back to the first match.

    if (!win.find(str))
      while(win.find(str, false, true))
        n++;
    else
      n++;

    // Aucun résultats trouvés (Netscape), envoi message.

    if (n == 0)
      alert("La recherche sur : "+str+" n'as pu aboutir");
  }

  if (IE4 ) {
    txt = win.document.body.createTextRange();

    // Find the nth match from the top of the page.

    for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) {
      txt.moveStart("character", 1);
      txt.moveEnd("textedit");
	  
    }
    // If found, mark it and scroll it into view.

    if (found) {
      txt.moveStart("character", -1);
      txt.findText(str);
      txt.select();
      txt.scrollIntoView();
      n++;
    }

    // Nouvelle Recherche, recherche s'il y as a nouveau le texte demandé.

    else {
      if (n >0) {
        n = 0;
       TextEnPage(str);
      }

      // Aucun resultats trouvés (Explorer), envoi message.

      else
        alert("La recherche sur : "+str+" n'as pu aboutir");
    }
  }

  return false;
}

//-->
<!-- function recherche Nom des Rues  -->
<!--
//Script perméttant la recherche d'un texte dans une page 
function RueEnPage(str) {

	var txt, i, found, alphabet, kill, mot;
	
	var alphabet =""; 
	var motnouveau = "";
	var mot = "";
	var maj=str.toUpperCase();
	var mini=str.toLowerCase();
	var alphabet = maj.charAt(0);
	var rue ="Rue"+alphabet ; 
	var lieu ="Lieu"+alphabet;
	var lieualphabet = alphabet+maj.charAt(0); 
 
  if (str == ""){
    alert("La recherche sur : \" "+str+" \" n'as pu aboutir\n Reformulez votre demande !");
    return false;
	}else{
	// Ferme tous les tableaux de rue ouvert
    //alert("Vous fermez tous les tableaux ouvert !");
	document.all.A.className = "masque";
	document.all.B.className = "masque";
	document.all.C.className = "masque";
	document.all.D.className = "masque";
	document.all.E.className = "masque";
	document.all.F.className = "masque";
	document.all.G.className = "masque";
	document.all.H.className = "masque";
	document.all.I.className = "masque";
	document.all.J.className = "masque";
	//document.all.K.className = "masque";
	document.all.L.className = "masque";
	document.all.M.className = "masque";
	document.all.N.className = "masque";
	document.all.O.className = "masque";
	document.all.P.className = "masque";
	//document.all.Q.className = "masque";
	document.all.R.className = "masque";
	document.all.S.className = "masque";
	document.all.T.className = "masque";
	document.all.U.className = "masque";
	document.all.V.className = "masque";
	//document.all.W.className = "masque";
	//document.all.X.className = "masque";
	//document.all.Y.className = "masque";
	document.all.Z.className = "masque";
	//
	// Ferme tous les tableaux de Lieu ouvert
    //alert("Vous fermez tous les tableaux ouvert !");
	document.all.AA.className = "masque";
	document.all.BB.className = "masque";
	document.all.CC.className = "masque";
	document.all.DD.className = "masque";
	document.all.EE.className = "masque";
	document.all.FF.className = "masque";
	document.all.GG.className = "masque";
	//document.all.HH.className = "masque";
	//document.all.II.className = "masque";
	document.all.JJ.className = "masque";
	//document.all.KK.className = "masque";
	document.all.LL.className = "masque";
	document.all.MM.className = "masque";
	document.all.NN.className = "masque";
	//document.all.OO.className = "masque";
	document.all.PP.className = "masque";
	//document.all.QQ.className = "masque";
	document.all.RR.className = "masque";
	document.all.SS.className = "masque";
	document.all.TT.className = "masque";
	//document.all.UU.className = "masque";
	document.all.VV.className = "masque";
	//document.all.WW.className = "masque";
	//document.all.XX.className = "masque";
	//document.all.YY.className = "masque";
	//document.all.ZZ.className = "masque";
	}
  // Find next occurance of the given string on the page, wrap around to the
  // start of the page if necessary.

// Test Case à cocher RUES ou LIEUX-DITS
//if (search.choix[0].checked) {
//	alert("Vous avez choisi la proposition " + search.choix[0].value);
	//var alphabet = maju.charAt(0); 
    //var rue ="Rue"+alphabet ;
	//alert ( alphabet+" "+rue );

		//Ouvrir la liste correspondante
	//document.all[rue].className = "ouvert";
	//document.all[alphabet].className = "montre";
//}
//if (search.choix[1].checked) {
	//var rue ="Lieu"+alphabet;
	//var alphabet = alphabet+maj.charAt(0); 
//}else{
    //var rue ="Rue"+alphabet ;
//}
// Fin test 

  if (NS4) {

    // Look for match starting at the current point. If not found, rewind
    // back to the first match.

    if (!win.find(str))
      while(win.find(str, false, true))
        n++;
    else
      n++;

    // Aucun résultats trouvés (Netscape), envoi message.

    if (n == 0)
      alert("La recherche sur : "+str+" n'as pu aboutir");
  }

  if (IE4 ) {
		txt = win.document.body.createTextRange();
		// Find the nth match from the top of the page.
	
		for (i = 0; i <= n && (found = txt.findText(maj)) != false; i++) {
			//Ouvrir la liste correspondante
			if (search.choix[1].checked) {
			document.all[lieu].className = "ouvert";
			document.all[lieualphabet].className = "montre";
			document.all[rue].className = "ouvert";
			document.all[alphabet].className = "montre";
				if (n <=0){
				alert("ATTENTION : "+str+" est peut-être une rue !");
				}
			}else{
			document.all[rue].className = "ouvert";
			document.all[alphabet].className = "montre";
			}
			//document.all[rue].className = "ouvert";
			//document.all[alphabet].className = "montre";
			//document.all[lieu].className = "ouvert";
			//document.all[lieualphabet].className = "montre";
	
			txt.moveStart("character", 1);
			txt.moveEnd("textedit");
		  
		}
    // If found, selectionne  et se place à l'endroit à visualiser dans la page.
    // A la fin retour en haut de page.

		if (found) {
		  //alert("Vous recherchez : "+str);
		  txt.moveStart("character", -1);
		  txt.findText(maj);
		  txt.select();
		  txt.scrollIntoView();
		  n++;
		}
		else {// Nouvelle Recherche, recherche s'il y as a nouveau le texte demandé.
			if (n >0) {
			n = 0;
			TextEnPage(maj);
				// Test si Nouvelle recherche
			alert("Toutes les occurences ont été trouvées, retour au début ");
			}
			else{// Aucun resultats trouvés (Explorer), envoi message.
			alert("La recherche sur : \" "+str+" \" n'as pu aboutir\n Reformulez votre demande !");
			}
		}
	  return false;
 }
}

//-->

<!-- function Ouverture Popup à la Taille des Images (Plans)  -->
<!-- Ouvre une popup qui s'ajuste automatiquement aux dimensions de l'image .
//Script perméttant l'Ouverture d'une Popup à la Taille des Images dans une page 
function PopupImage(img) {
	titre="PLAN d'Accès";
	w=open("",'image','width=650,height=550,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
function InstalImage(titre,img) {
	//titre="PLAN d'Accès";
	w=open("",'image','width=650,height=550,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

//Mis en ligne: 12/06/03
//By FREDY
//-->

<!-- function Ouverture Popup à la Taille des Images (Zooms)  -->
<!-- Ouvre une popup qui s'ajuste automatiquement aux dimensions de l'image .
//Script perméttant l'Ouverture d'une Popup à la Taille des Images dans une page
function ZoomImage1(id,img1,img2) {
	  if (document.getElementById) {
		  document.getElementById(id).style.visibility="visible";
		  document.getElementById(id).style.position="absolute";
		  document.getElementById(id).style.top="250";
		  document.getElementById(id).style.left="350";
		} else if (document.all) {
		  document.all[id].style.visibility="visible";
		} else if (document.layers) {
		  document.layers[id].visibility="visible";
		} }  
function ZoomImage(id,top,left,img1) {
	titre=id;
	x=top;
	y=left;
	w=open("",'image','width=50,height=50,top='+x+',left='+y+',toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+35); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img1+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
//Mis en ligne: 12/06/03
//By FREDY
//-->


<!-- function Infobulles défilantes  -->
<!-- 
// Copyright Peter Gehrig and Urs Dudli at www.24fun.com.
// If you add this script to a script-library 
// you have to insert a link to www.24fun.com 

// La largeur de l'infobulle.
var tickerwidth=180
// La hauteur de l'infobulle.
var tickerheight=40
// La distance entre le bord et le texte.
var tickerpadding=6
// La largeur du bord.
var borderwidth=1
// La police de caractères.
var fnt="Verdana"
// La taille du caractère.
var fntsize=8
// La taille du dernier caractère .
var fntsizelastletter=8
// La couleur des caractères.
var fntcolor="FFFFFF"
// La couleur du dernier caractère.
var fntcolorlastletter="FFFFFF"
// La graisse du dernier caractère de 1 à 9 (gras).
var fntweight=3
// La couleur d'arrière-plan de l'infobulle.
var backgroundcolor="9195c8"
// Le temps de pause entre les messages.
var standstill=1000
// La vitesse (plus = moins vite).
var speed=10
// La distance horizontale entre le lien et l'infobulle.
var xdistance=30
// La distance verticale entre le lien et l'infobulle.
var ydistance=10

///////////////////////////////////////////////
var timer
var topposition=0
var leftposition=0
var x,y
var i_substring=0
var i_presubstring=0
var i_message=0
var message
var messagecontent=""
var messagebackground=""
var messagepresubstring=""
var messageaftersubstring=""
fntweight=fntweight*100

function getmessagebackground() {
	messagebackground="<table border="+borderwidth+" width="+tickerwidth+" height="+tickerheight+" cellspacing=0 cellpadding=0><tr><td valign=top bgcolor='"+backgroundcolor+"'>"
	messagebackground+="&nbsp;</td></tr></table>"
}

function getmessagecontent() {	
	messagecontent="<table border=0 cellspacing=0 cellpadding="+tickerpadding+" width="+tickerwidth+" height="+tickerheight+"><tr><td valign=top>"
	messagecontent+="<span style='position:relative; font-family:"+fnt+";color:"+fntcolor+";font-size:"+fntsize+"pt;font-weight:"+fntweight+"'>"	
	messagecontent+="<font color='"+fntcolor+"'>"
	messagecontent+=messagepresubstring
	messagecontent+="</font>"
	messagecontent+="</span>"
	messagecontent+="<span style='position:relative; font-family:"+fnt+";color:"+fntcolor+";font-size:"+fntsizelastletter+"pt;font-weight:900'>"	
	messagecontent+="<font color='"+fntcolorlastletter+"'>"
	messagecontent+=messageaftersubstring
	messagecontent+="</font>"
	messagecontent+="</span>"
	messagecontent+="</td></tr></table>"
}

function showticker() {
	if (i_substring<=message.length-1) {
	i_substring++
	i_presubstring=i_substring-1
	if (i_presubstring<0) {i_presubstring=0}
        messagepresubstring=message.substring(0,i_presubstring)
        messageaftersubstring=message.substring(i_presubstring,i_substring)
	getmessagecontent()
	if (document.all) {
	ticker.innerHTML=messagecontent
	timer=setTimeout("showticker()", speed)
	}
	if (document.layers) {
	document.ticker.document.write(messagecontent)
	document.ticker.document.close()
	timer=setTimeout("showticker()", speed)
	}
	}
	else {
	clearTimeout(timer)
	}
}

function hideticker() {
	clearTimeout(timer)
	i_substring=0
	i_presubstring=0
	if (document.all) {
	document.all.ticker.style.visibility="hidden"
        document.all.tickerbg.style.visibility="hidden"
	}
	if (document.layers) {
	document.ticker.visibility="hidden"
        document.tickerbg.visibility="hidden"
	}
}

function showmessage(linkmessage) {
	getmessagebackground()
	message=linkmessage
   	i_substring=0
	i_presubstring=0
	leftposition=x+xdistance
	topposition=y+ydistance
	if (document.all) {	
	document.all.ticker.style.posLeft=leftposition
	document.all.ticker.style.posTop=topposition
	document.all.tickerbg.style.posLeft=leftposition
	document.all.tickerbg.style.posTop=topposition
	tickerbg.innerHTML=messagebackground
        document.all.ticker.style.visibility="visible"
        document.all.tickerbg.style.visibility="visible"
	showticker()
	}
	if (document.layers) {
        document.ticker.left=leftposition
	document.ticker.top=topposition
	document.tickerbg.left=leftposition
	document.tickerbg.top=topposition
	document.tickerbg.document.write(messagebackground)
	document.tickerbg.document.close()
        document.ticker.visibility="visible"
        document.tickerbg.visibility="visible"
	showticker()
	}
}

function handlerMM(e){
	x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
	y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
}

if (document.layers){
	document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
//Mis en ligne: 14/07/03
//By FREDY
//-->


<!-- function Popup  -->
<!-- 
//Ce script permet, à l'aide d'un bouton (fonction window.open et onclick), 
//de faire apparaître une fenêtre volante, également appelée pop-up. 
//Exemple ci-dessous si votre fichier se nomme Exemple.htm.


function aproposde()
{
window.open("exemple1.htm", "aproposde", "toolbar=no, location=no, directories=no, status=yes, scrollbars=no, resizable=no, copyhistory=no, width=300, height=300, left=300, top=50");
}
//Mis en ligne: 14/07/03
//By FREDY
//-->

<!-- DEBUT DU SCRIPT AFFICHAGE DATE TEXTE-->
/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
navvers = navigator.appVersion.substring(0,1);
if (navvers > 3)
	navok = true;
else
	navok = false;

today = new Date;
jour = today.getDay();
numero = today.getDate();
if (numero<10)
	numero = "0"+numero;
mois = today.getMonth();
if (navok)
	annee = today.getFullYear();
else
	annee = today.getYear();
TabJour = new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi");
TabMois = new Array("janvier","f&eacute;vrier","mars","avril","mai","juin","juillet","aout","septembre","octobre","novembre","dé&eacute;embre");
messageDate = TabJour[jour] + " " + numero + " " + TabMois[mois] + " " + annee;
<!-- FIN DU SCRIPT -->

<!-- DEBUT DU SCRIPT CHANGEMENT COULEUR TEXTE-->
// Hover-up Menu Bar: By Dynamicdrive.com
// Credit must stay intact for use
// Visit http://www.dynamicdrive.com for this script and more

// Script trouvé sur Le Webmestre www.le-webmestre.net info@le-webmestre.net
// Retrouvez des centaines de scripts et bien plus...

// CSS du menu
// Couleur de fond (#FFF2BF) et couleur des liens (black):
var cssdefinition='<style>\n.menuitems{\nborder:0px solid #FFF2BF;\n}\n\n.menuitems a{\ntext-decoration:none;\ncolor:white;\n}\n<\/style>'

// No need to edit beyond here
if (document.all||document.getElementById)
document.write(cssdefinition)

function over_effect(e,state, bgcolor){
if (document.all)
source4=event.srcElement
else if (document.getElementById)
source4=e.target
if (source4.className=="menuitems"){
//source4.style.border=2
source4.style.borderStyle=state
source4.style.backgroundColor=bgcolor
}
else{
while(source4.tagName!="DIV"){
source4=document.getElementById? source4.parentNode : source4.parentElement
if (source4.className=="menuitems"){
//source4.style.border=2
source4.style.borderStyle=state
source4.style.backgroundColor=bgcolor
}
}
}
}
<!-- FIN DU SCRIPT -->
<!-- DEBUT DU SCRIPT CHGT COULEUR LIGNE RESULTAT-->
function change_fond(cel)
{	
cel.bgColor=
(cel.bgColor=='#66ffcc')?'#3399ff':'#66ffcc';
}
<!-- FIN DU SCRIPT -->
<!-- DEBUT DU SCRIPT CHGT COULEUR LIGNE JUGES-->
function change_fond_juge(cel)
{	
cel.bgColor=
(cel.bgColor=='#66ffcc')?'#ffffff':'#66ffcc';
}
<!-- FIN DU SCRIPT -->