sfHover = function() {
//function sfHover(){
	var sfEls = document.getElementById("tnav").getElementsByTagName("LI");
	//alert(sfEls.length);
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
		    //alert("mouse over")
			this.className+=" sfhover";
		}
		
		sfEls[i].onmouseout=function() {
		    //alert("mouse out")
		    this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}

	sfEls = document.getElementById("lnav").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);
