function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {		
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);



//window.onload=montre;
function montre(id,ss) {

for (var i = 1; i<=10; i++) {
	if (document.getElementById('smenu'+i)) {
		document.getElementById('smenu'+i).style.display='none';
		}
}

var num = id.substr(id.length-1, id.length)

if ((id != 'smenu1') && ( ss != '' )){
	if ( ss != '0'){
	   var d = document.getElementById(id);	
	   if (d) {
		   d.style.display='block';
		   document.getElementById('SBmenu'+num).className = 'thisorange'; 
		   document.getElementById('bordBas'+num).className = 'bordBasOr'; 
		   document.getElementById('ss'+num+ss).className = 'thisSS'; 
		   }	
	} // fin if	(ss != 0)

	else {
  		document.getElementById('SBmenu'+num).className = 'thisorange'; 
		document.getElementById('bordBas'+num).className = 'bordBasOr'; 
		}

} // fin smenu1


if ( ss == '0') {
	if (document.getElementById(id)){
	document.getElementById(id).style.display='block';
	}
}

if ((id != 'smenu1') &&( ss == '' )) {
document.getElementById('SBmenu'+num).className = 'thisorange'; 
document.getElementById('bordBas'+num).className = 'bordBasOr';
}
	
} //fin function





// fonction GetHeight DIV
var finHeight = '</DIV>';
var startHeight = '';
var test = '';
var total;

	function getHeight () {  
		var ghC = document.getElementById('central').offsetHeight;
		var ghG = document.getElementById('gauche').offsetHeight;
		var ghD = document.getElementById('droite').offsetHeight;
		var High = ghC;
	if (ghC < ghG) { 
		if ( ghG > ghD ){High = ghG; }
		if ( ghG < ghD ){High = ghD; }
	}
	if (ghC < ghD) { 
		if ( ghG > ghD ){High = ghG; }
		if ( ghG < ghD ){High = ghD; }
	}
	total = High+130;
	document.write('<DIV style="position:absolute;top:'+total+'px;margin:0;padding:0;">');
		}
		

	function getHeightHP () {  
		var ghC = document.getElementById('centralHP').offsetHeight;
		var ghG = document.getElementById('gaucheHP').offsetHeight;
		var ghD = document.getElementById('droiteHP').offsetHeight;
		var High = ghC;
	if (ghC < ghG) { 
		if ( ghG > ghD ){High = ghG; }
		if ( ghG < ghD ){High = ghD; }
	}
	if (ghC < ghD) { 
		if ( ghG > ghD ){High = ghG; }
		if ( ghG < ghD ){High = ghD; }
	}
	total = High+270;
	document.write('<DIV style="position:absolute;top:'+total+'px;margin:0;padding:0;">');
		}
// fin fonction GetHeight DIV
