function sfHover() {
	var sfEls = document.all["menu"].getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover = sfHover_onmouseover;
		sfEls[i].onmouseout  = sfHover_onmouseout;
	}
}

function sfHover_onmouseover() {
	this.className+=" sfhover";
	HideElements(true, document, true);
}

function sfHover_onmouseout() {
	this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
	HideElements(false, document, true);
}

if (window.attachEvent) window.attachEvent("onload", sfHover);
