/* DATE DE CREATION: 01/08/2004 */


function gestions() {
    // Creation de la fenetre en precisant le fichier a afficher et le
    // titre de la fenetre
    NewWindow = window.open("gestion/index.php","Gestion","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=810,height=500,top=100,left=20");

    // Creation de la propriete creator permettant de referencer 
    //     la fenetre source
    NewWindow.creator=self;
}

function plan() {
    // Creation de la fenetre en precisant le fichier a afficher et le
    // titre de la fenetre
    NewWindow = window.open("plan.html","Plan","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=580,height=510,top=100,left=20");

    // Creation de la propriete creator permettant de referencer 
    //     la fenetre source
    NewWindow.creator=self;
}

function menu(nom) {
    // Creation de la fenetre en precisant le fichier a afficher et le
    // titre de la fenetre
    NewWindow = window.open(nom,"Menu","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=580,height=450,top=100,left=20");

    // Creation de la propriete creator permettant de referencer 
    //     la fenetre source
    NewWindow.creator=self;
}

function info(nom) {
    // Creation de la fenetre en precisant le fichier a afficher et le
    // titre de la fenetre
    NewWindow = window.open(nom,"Info","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=580,height=300,top=100,left=20");

    // Creation de la propriete creator permettant de referencer 
    //     la fenetre source
    NewWindow.creator=self;
}

<!--
var nav = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 5 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));

function checkmail()
{
	var msg = "";
	
	if (document.formulaire.email.value != "")
	{
		indexAroba = document.formulaire.email.value.indexOf('@');
		indexPoint = document.formulaire.email.value.indexOf('.');
		if ((indexAroba < 0) || (indexPoint < 0))
		{
			if (nav) document.formulaire.email.style.backgroundColor = "#EBE760";
			msg += "Le champ 'Email' est incorrect\n";
		}
	}
	else
	{
		if (nav) document.formulaire.email.style.backgroundColor = "#EBE760";
		msg += "Le champ 'Email' est obligatoire\n";
	}

	if (msg == "") return(true);
	else
	{
		alert(msg);
		return(false);
	}
} 
// -->

<!--
var nav = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 5 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));

function check()
{
	var msg = "";
	
	if (document.formulaire.nom.value == "") {
	   if (nav) document.formulaire.nom.style.backgroundColor = "#EBE760";
		  msg += "Le champ 'Nom' est obligatoire\n";
	}
	
	if (document.formulaire.prenom.value == "") {
	   if (nav) document.formulaire.prenom.style.backgroundColor = "#EBE760";
		  msg += "Le champ 'Prénom' est obligatoire\n";
	}
		
	if (document.formulaire.email.value != "")
	{
		indexAroba = document.formulaire.email.value.indexOf('@');
		indexPoint = document.formulaire.email.value.indexOf('.');
		if ((indexAroba < 0) || (indexPoint < 0))
		{
			if (nav) document.formulaire.email.style.backgroundColor = "#EBE760";
			msg += "Le champ 'Courriel' est incorrect\n";
		}
	}
	else
	{
		if (nav) document.formulaire.email.style.backgroundColor = "#EBE760";
		msg += "Le champ 'Courriel' est obligatoire\n";
	}

	if (msg == "") return(true);
	else
	{
		alert(msg);
		return(false);
	}
} 
// -->