sfHover = function()
{
var sfEls = document.getElementById("mainnav").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("sfhover","");
		}
	sfEls[i].onfocusin=function()
		{
		this.className+=" sfhover";
		}
	sfEls[i].onfocusout=function()
		{
		this.className=this.className.replace("sfhover","");
		}
	sfEls[i].onfocus=function()
		{
		this.className+=" sfhover";
		}
	sfEls[i].onblur=function()
		{
		this.className=this.className.replace("sfhover","");
		}
	}

var sfEls2 = document.getElementById("servicesnav").getElementsByTagName("LI");
for (var i=0; i<sfEls2.length; i++)
	{
	sfEls2[i].onmouseover=function()
		{
		this.className+=" sfhover";
		}
	sfEls2[i].onmouseout=function()
		{		
		this.className=this.className.replace("sfhover","");
		}
	sfEls2[i].onfocusin=function()
		{
		this.className+=" sfhover";
		}
	sfEls2[i].onfocusout=function()
		{
		this.className=this.className.replace("sfhover","");
		}
	sfEls2[i].onfocus=function()
		{
		this.className+=" sfhover";
		}
	sfEls2[i].onblur=function()
		{
		this.className=this.className.replace("sfhover","");
		}
	}
if (1 == 0)	{	
	var sfEls = document.getElementsByTagName("INPUT");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onfocus=function() {
			if(this.type="text")
			{
			this.value="";
			}
		}
	}
	var sfEls = document.getElementsByTagName("TEXTAREA");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onfocus=function() {
			this.innerHTML="";
		}
	}
}

}
if (window.addEventListener) //DOM method for binding an event
window.addEventListener("load", sfHover, false)
else if (window.attachEvent) //IE exclusive method for binding an event
window.attachEvent("onload", sfHover)