sfHover = function() {

var t = document.getElementById("nav");
var c = t.childNodes;
var k = [];
for (var i=0, len=c.length; i<len; ++i){
	k[k.length] = c[i];
}

	for (var i=0; i<k.length; i++) {
		k[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		k[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

