function OuvrirPopup(page,nom,option) {
       window.open(page,nom,option);
    }

function verifieFormulaireContact(){
var test=1;
var val=false;

	if(document.forms['co'].auteur.value=="" || document.forms['co'].mailAuteur.value=="" || document.forms['co'].sujet.value=="" || document.forms['co'].message.value==""){
			alert("Veuillez remplir tous les champs");
			test=0;
			val=false;
		}
	if(test==1){
		val=true;
		}
return val;
}

function verifieFormulaireAlerte(){
var test=1;
var val=false;

	if(document.forms['co'].titre.value==""){
			alert("Veuillez remplir tous les champs");
			test=0;
			val=false;
		}
	if(test==1){
		val=true;
		}
return val;
}

function preload() { 
	var d=document;
	d.img=new Array();
	pix=new Array(
	'a.gif', 
	'a2.gif',
	'b.gif', 
	'b2.gif'
	);
	for(i=0;i<pix.length;i++){
			d.img[i]=new Image; 
			d.img[i].src='menu/'+pix[i];
	}
}

function e(i) {
	if(window.mmIsOpera) return(document.getElementById(i));
	if (document.all) return(document.all[i]);
	if (document.getElementById) return(document.getElementById(i));
	return(false);
}
function over(which){
	e(which).style.background="url(menu/a2.gif) no-repeat";
	e(which+'a').style.top="10px";
}
function out(which){
	e(which).style.background="url(menu/a.gif) no-repeat";
	e(which+'a').style.top="20px";
}
function over2(which){
	e(which).style.background="url(menu/b2.gif) no-repeat";
	e(which+'a').style.top="10px";
}
function out2(which){
	e(which).style.background="url(menu/b.gif) no-repeat";
	e(which+'a').style.top="20px";
}