
// This little bit of JavaScript helps browsers that don't support the psuedo class :hover on non-<a> elements by simply adding a class to the element called "sfhover" which is styled the same way as ":hover" in the css doc.
// For a tutorial check out: http://www.htmldog.com/articles/suckerfish/dropdowns/

sfHover = function() {
	var sfEls = document.getElementById("header-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);
