// JavaScript Document
<!--
//---------------------------------------------- Menu
sfHover = function() {
	var IE6 = false /*@cc_on || @_jscript_version < 5.7 @*/;
	if(!IE6)return;
	var sfEls = document.getElementById("menu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			if (this.className.indexOf("parent") >-1)
			{
			//pb de selecteur de classes multiples dans ie6.
			this.className+="sfhover";
			}
			else
			{
			this.className+=" sfhover";
			}
		}
		sfEls[i].onmouseout=function() {
			if (this.className.indexOf("parent") >-1)
			{
			this.className=this.className.replace(new RegExp("sfhover\\b"), "");
			}
			else
			{
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//---------------------------------------------- Pop up
function ouvrir(url,l,h) {
hauteur = Math.round((screen.availHeight-h)/2);
largeur = Math.round((screen.availWidth-l)/2);
window.open(url, "00000000", "toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,menubar=0,top="+hauteur+",left="+largeur+",width="+l+",height="+h);
}
function ouvrirScroll(url,l,h) {
hauteur = Math.round((screen.availHeight-h)/2);
largeur = Math.round((screen.availWidth-l)/2);
window.open(url, "00000000", "toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,menubar=0,top="+hauteur+",left="+largeur+",width="+l+",height="+h);
}
//-->
