//Special for Inventua Sidemenu
//The menu renders this: <a><span class="active">link</span></a>
//But I need the "A" to have an active Class or Id
    var nameToCheck = "menupane";
    var activeClassName = "currentActive"
    GetNodeNames();


    function GetNodeNames()
    {
	//Find the Inventua Sidemenu
        var theParent = document.getElementById(nameToCheck);
	//Find all "A" tags in the sidemenu
	var theChildren = theParent.getElementsByTagName("A");
        for (n = 0; n <= theChildren.length -1; n++)
	{
		//Check if the "A" tag has "span" children
		if (theChildren[n].getElementsByTagName("SPAN").length > 0)
		{
		//alert (theChildren[n].nodeName);
		theChildren[n].className = activeClassName;
		//theChildren[n].style.paddingLeft = "0px";
		}	

        }
    }
