// JavaScript Document

startList = function()
{
	if ( document.all && document.getElementById )
	{
		navRoot = document.getElementById ( "menu_template" );
		for ( i = 0; i < navRoot.childNodes.length; i++ )
		{
			node = navRoot.childNodes[i];
			if ( node.nodeName == "LI" )
			{
				node.onmouseover = function()
				{
					this.className += " over";
				}
				node.onmouseout = function()
				{
					this.className = this.className.replace ( " over", "" );
   			}
   		}
  	}
 	}
}


function adicionaEvento(evento,obj,fn) {
	if(obj.addEventListener) {
		obj.addEventListener(evento,fn,true);
		return true;
	}
	if(obj.attachEvent) {
		obj.attachEvent("on"+evento,fn);
		return true;
	}
	return false;
}

if(!adicionaEvento("load",window,startList)) {
	alert('Você deve atualizar o seu Navegador para este site funcionar corretamente.')
}