//Divers scripts

function MM_openBrWindow(theURL,winName,features) { //v2.0 - HACK Thierry (.focus)
 newwindow = window.open(theURL,winName,features);
 if (newwindow.opener == null) newwindow.opener = self;
  if (window.focus) newwindow.focus();
}

// Permet les rollovers de la barre de navigation sur IE
// Suckerfish drop-downs - http://www.htmldog.com/articles/suckerfish/dropdowns/ 

sfHover = function() {
	//Navbar
	if (document.getElementById("nav")) {
		var sfEls = document.getElementById("nav").getElementsByTagName("li");
	}
	//Thumbnails
	if (document.getElementById("listThumbs")) {
		var sfEls = document.getElementById("listThumbs").getElementsByTagName("td");
	}
	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);

