function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
			oldonload();
			func();
		}
	}
}

function sfHover() {
	var sfEls = document.getElementById("ezn").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.setAttribute('hclassname', this.className);
			this.className+=" selected sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.getAttribute('hclassname');
		}
	}
}

addLoadEvent(sfHover);