function addNav2Events(array_name) {

	var hide = true;
	var hideId = '';
	startList = function()
	{
	    for (j = 0; j< array_name.length; j++)
	    {
	  	if (document.all&&document.getElementById) {
			navRoot = document.getElementById(array_name[j]);
			for (i=0; i<navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className = "nav2over";
					}
					node.onmouseout=function() {
						this.className = "nav2";
					}
				}
			}
		}
	   }
	}
}

function showNav(name){

	for (var i = 0; i < array_name.length; i++)
	{
		document.getElementById(array_name[i]).style.display = 'none';
	}
	document.getElementById(name).style.display = 'inline';
}