function showHide(id)
{
	oElement = document.getElementById(id);
	
	if(oElement.style.display == 'block')
	{
		oElement.style.display = 'none';
	}
	else
	{
		oElement.style.display = 'block';
	}
}

startList = function()
{
	if (document.all&&document.getElementById)
	{
		navRoot = document.getElementById("nav");
		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", "");
			   	}
			   	
			   	for(i2=0; i2<node.childNodes.length; i2++)
			   	{
					if(node.childNodes[i2].nodeName=="UL")
					{
						liNode = node.childNodes[i2];
						
						for (a=0; a< liNode.childNodes.length; a++)
						{
							subNode = liNode.childNodes[a];
							if (subNode.nodeName=="LI")
							{
								subNode.onmouseover=function()
								{
									this.className+=" over";
							  	}
							  	subNode.onmouseout=function()
							  	{
							  		this.className=this.className.replace(" over", "");
							   	}
							}
						}
					}
				}
			}
		}
	}
}
window.onload=startList;