sfHover = function() {
	var sfEls = document.getElementById("menuList").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);

// menu hover effects

function aboutColor() {
if (document.getElementById)
   document.getElementById('liAbout').style.backgroundColor='';
   document.getElementById('liAbout').style.color='';
   return true;
}

function aboutHoverColor() {
if (document.getElementById)
   document.getElementById('liAbout').style.backgroundColor='#edcc41';
   document.getElementById('liAbout').style.color='#339';
}

function eventsColor() {
if (document.getElementById)
   document.getElementById('liEvents').style.backgroundColor='';
   document.getElementById('liEvents').style.color='';
   return true;
}

function eventsHoverColor() {
if (document.getElementById)
   document.getElementById('liEvents').style.backgroundColor='#edcc41';
   document.getElementById('liEvents').style.color='#339';
}

function resColor() {
if (document.getElementById)
   document.getElementById('liResources').style.backgroundColor='';
   document.getElementById('liResources').style.color='';
   return true;
}

function resHoverColor() {
if (document.getElementById)
   document.getElementById('liResources').style.backgroundColor='#edcc41';
   document.getElementById('liResources').style.color='#339';
}

function contColor() {
if (document.getElementById)
   document.getElementById('liContact').style.backgroundColor='';
   document.getElementById('liContact').style.color='';
   return true;
}

function contHoverColor() {
if (document.getElementById)
   document.getElementById('liContact').style.backgroundColor='#edcc41';
   document.getElementById('liContact').style.color='#339';
}
