<!-- 
startList = function() // http://www.alistapart.com/articles/dropdowns/
{
	if (document.all||document.getElementById) 
	{
		navRoot = document.getElementById("nav"); // ul con id="nav"
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i]; // ul id="nav" => li
			for(x=0; x<node.childNodes.length; x++) 
			{
				node2 = node.childNodes[x]; // ul id="nav" => li => #text / A / UL
				if (node2.nodeName=="A") // ul id="nav" => li == "A"
				{
					node2.onmouseover=function() 
					{
						ver(this);
					} // end function
					node2.onmouseout=function()
					{
						ocultar(this);
					} // end function
				} // end if
				if (node2.nodeName=="UL") // ul id="nav" => li == "UL"
				{
					node2.onmouseover=function() 
					{
						ver(this);
					} // end function
					node2.onmouseout=function()
					{
						ocultar(this);
					} // end function
				} // end if		
			} // end for
		} // end for
	} // end for
}
window.onload=startList; // a partir de aquí ya es mio :P


function ver(elemento) 
{
	for(i=0; i<elemento.parentNode.childNodes.length; i++)
	{
		node = elemento.parentNode.childNodes[i];
		if(node.nodeName=="UL") // Nota: el TAG ha de ir en MAYUSCULAS
		{
			node.style.visibility = 'visible';			
		}
	}
}

function ocultar(elemento) 
{
	for(i=0; i<elemento.parentNode.childNodes.length; i++)
	{
		node = elemento.parentNode.childNodes[i];
		if(node.nodeName=="UL") // Nota: el TAG ha de ir en MAYUSCULAS
		{
			node.style.visibility = 'hidden';			
		}
	}
}
-->