pointe=0;
function entete1() 
	{
	browser = navigator.appName;
	version = navigator.appVersion;
	os = navigator.platform;
	ie = "Microsoft Internet Explorer";
	nn = "Netscape";
	document.write('<link rel="stylesheet" type="text/css" href="css/ie.css" title="style">');
	}


function clignote1() 
{
if (pointe==1)
	{
	document.getElementById(1).style.color="FEBE0D";
	}
else
	{
	document.getElementById(1).style.color="00172F";
	}
setTimeout("clignote2()",500);
}

function clignote2() 
{
if (pointe==1)
	{
	document.getElementById(1).style.color="FEBE0D";
	}
else
	{
	document.getElementById(1).style.color="FEBE0D";
	}
setTimeout("clignote1()",500);
}

function clignote() 
{
setTimeout("clignote1()",500);
}

function ouvre(aurl) 
	{
	window.open(aurl,'fenetredubost','resizable=no, location=yes, width=810, height=500, top=10,left=100, status=no, scrollbars=no, menubar=no,toolbar=yes');
	}
function ouvreplan(aurl) 
	{
	window.open(aurl,'fenetre','resizable=yes, location=no, width=600, height=520, top=50,left=150, status=yes, scrollbars=yes, menubar=yes, toolbar=yes');
	}

function ouvresite(aurl) 
	{
	window.open(aurl,'fenetresite','resizable=Yes, location=no, width=720, height=500, top=10,left=150, status=no, scrollbars=yes, menubar=yes,toolbar=yes');
	}

function controleformulaire(controle,nom)
{
if (controle)
	{
	return (true);
	}
else
	{
	alert( nom );
	return (false);
	}
}

function controleliste()
{
/*1er argument = page à appeler, 2è nom du formulaire, n champ, n+1 texte du champ  n>=2*/
brk=false;
args=controleliste.arguments; 
for(i=2; i<args.length; i+=2)
	{
	if (!controleformulaire(args[i].value,args[i+1]))
		{
		i=args.length;
		brk=true;
		}
	}
if (brk)
	{
	args[1].action=args[0];
	}
}

function mefmessage(formulaire)
{
texte='';
rl=unescape("%0D");
for (i=0;i<formulaire.length;i++)
	{
	if ((formulaire.elements[i].type!='hidden')&&(formulaire.elements[i].type!='submit'))
		{
		texte +=formulaire.elements[i].name + ': ' + formulaire.elements[i].value + rl;
		}
	}
return (texte);
}
