// Hack required by IE only
// since IE fails to recognise the standards CSS :hover pseudo class on anything
// except a:link elements this script is required to make IE simulate that
// functionality so that the suckerfish cascading menu CSS rules work correctly.
// The menu must be a set of nested unordered lists (UL LI) contained within a
// div with an ID of "menu".

sfHover = function()
 {
	var sfEls = document.getElementById("menu").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);


