function initialiser(){
	cacheToutSauf();
	afficheRub(); 
	afficheRubN(); 
	afficheRubN2();
	afficheRubMenu();
}

/// Fonction Menu DHTML Header Rub ///
function afficheRub() {
	if(document.getElementById('itemChamp'+num)!=null){
	document.getElementById('itemChamp'+num).className="bg"+num;
	}

}

/// Fonction Menu DHTML Header - Rub n+1 ///
function afficheRubN() {
	if(document.getElementById('menu'+num2)!=null){
	document.getElementById('menu'+num2).className="actif";
	}
}

/// Rollover Menus Header ///
function rollover(num3) {
	document.getElementById('itemChamp'+num3).className="bg"+num3;
}

function rollout(num4) {
	if(num4!=num){
			document.getElementById('itemChamp'+num4).className="neutre";
	}
}
function rolloutAll() {
	for (var j = 1; j<=4; j++) {
		if(j!=num){
			document.getElementById('itemChamp'+j).className="neutre";
		}
	}
}

/// Navigation niveau N+2///
function afficheRubN2() {
	if(document.getElementById('subrub'+numN2)!=null){
		document.getElementById('subrub'+numN2).className="liOver";
	}
}

/// Navigation niveau N+2 ///
function rolloverNav2(numN2b) {
	document.getElementById('subrub'+numN2b).className="liOver";
}

function rolloutNav2(numN2c) {
	if(numN2c!=numN2){
			document.getElementById('subrub'+numN2c).className="liOut";
	}
}
function afficheRubMenu(){
	if(document.getElementById('rub'+numN)!=null){
		document.getElementById('rub'+numN).style.color="#CF3A3A";
	}
}
function rubMenuOn(numRub){
	for(f=1; f<10;f++){
		if(document.getElementById('rub'+f)!=null){
		if((f==numRub)){
		//if(f==numRub){
			document.getElementById('rub'+f).style.color="#CF3A3A";
		}else{
			document.getElementById('rub'+f).style.color="#000000";	
		}
		}
	}
}

/// Formulaire & Gestion Champs Recherche Header ///
function remiseZero(){
	var formsValue=document.forms['form1'].recherche.value;
	if(formsValue=="Rechercher"){
		document.forms['form1'].recherche.value="";
	}
	if(formsValue==""){
		document.forms['form1'].recherche.value="Rechercher";
	}
}

/// Script Popup ///
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//Script "Loupe"//
pourcentFontSize =1;

function eventFaceLarger()
{
   pourcentFontSize=pourcentFontSize*1.2;
   elt = document.getElementById("corps");
   elt.style.fontSize=pourcentFontSize+"em";

}

function eventFaceSmaller()
{
	pourcentFontSize=pourcentFontSize/1.2;
	elt = document.getElementById("corps");
	elt.style.fontSize=pourcentFontSize+"em";
}

