/*
<!-- Menu horizontal : compatibilite ie6-->
sfHover = function() {
		var sfEls = document.getElementById("navbar").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);
*/
// source du script "Menu accordéon" : http://css.alsacreations.com/Tutoriels-JavaScript/Creer-un-menu-accordeon-avec-jQuery
/*
$(document).ready( function () {
	$(".menu ul.subMenu:not('.open_at_load')").hide();
	$(".menu li.toggleSubMenu span").each( function () {
		var TexteSpan = $(this).text();
		$(this).replaceWith('<a href="" title="Afficher le sous-menu">' + TexteSpan + '<\/a>') ;
	} ) ;
	$(".menu li.toggleSubMenu > a").click( function () {
		if ($(this).next("ul.subMenu:visible").length != 0) {
			$(this).next("ul.subMenu").slideUp("normal", function () { $(this).parent().removeClass("open") } );
		}
		else {
			$(".menu ul.subMenu").slideUp("normal", function () { $(this).parent().removeClass("open") });
			$(this).next("ul.subMenu").slideDown("normal", function () { $(this).parent().addClass("open") } );
		}
		return false;
	});
} ) ;
*/


