appName = navigator.appName;
appVersion = navigator.appVersion;
platform = navigator.platform;
isMac = (platform.substr(0,3) == "Mac");
isIE = (appName.indexOf("Internet Explorer") != -1);
isNN = (appName.indexOf("Netscape") != -1);
isDOM = (document.getElementById) ? true : false;
isNS4 = (document.layers) ? true : false;
isIE = (document.all) ? true : false;
isIE4 = isIE && !isDOM;
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isIE4M = isIE4 && isMac;

function mouseOver(elementID){

	element = document.getElementById(elementID);
	
	element.style.backgroundColor="#8CAFE3";
	
	if (!isNS4 || !isIE4M){
		if (isNN){
			document.body.style.cursor='pointer';
		} else {
			document.body.style.cursor='hand';
		}
	}
}
	
function mouseOut(elementID,oldColor){
	element = document.getElementById(elementID);
	
	element.style.backgroundColor=oldColor;
	
	if (!isNS4 || !isIE4M){
		document.body.style.cursor='auto';
	}
}

sfHover = function( objID ) 
{
	var sfEls = document.getElementById( objID ).getElementsByTagName( "LI" );
	for (var i=0; i<sfEls.length; i++)
	{
		sfEls[i].onmouseover = function()
		{
			this.className+=(this.className.length>0? " ": "") + "sfhover";
		}
		sfEls[i].onmouseout = function()
		{
			this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
		}
	} 
}

if (window.attachEvent)
{
	window.attachEvent("onload", function () { sfHover( "navbar_fixo" ); } );
}