<!--
/* On masque les select sur un hover du menu pour IE (probleme de z-index) */
function isIE() {
	if (navigator.appName && navigator.appName == "Microsoft Internet Explorer") {
		return true;
	}
	return false;
}

function attraperLesSelect() {
	return document.getElementById('photoFond').getElementsByTagName('select');
}
function masquerLesSelect(tag) {
	if (isIE()) {
		selects = attraperLesSelect();
		j = 0;
		for (i in selects) {
			if (typeof selects[i] != "undefined" && typeof selects[i].style != "undefined") {
				//selects[i].style.visibility = "hidden";
				j++;
			}
		}
		if (j > 0) {
			tag.onmouseout = function() {
				afficherLesSelect();
			}
		}
	}
}
function afficherLesSelect() {
	selects = attraperLesSelect();
	for (i in selects) {
		if (typeof selects[i] != "undefined" && typeof selects[i].style != "undefined"
			&& selects[i].style.visibility == "hidden") {
			selects[i].style.visibility = "visible";
		}
	}
}

if (isIE()) {
	sfHover = function() {
		var sfEls = document.getElementById("navTop").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);
}
//-->
