function explode(e) {
    if (document.getElementById(e).style.display == 'none') {
        document.getElementById(e).style.display = 'block';
    } else {
        document.getElementById(e).style.display = 'none';
    }
}

function hideall(strClassName) {
		var strTag = 'li'
        var Nodes = document.getElementsByTagName(strTag);
        var max = Nodes.length
        for(var i = 0; i < max; i++) {
			if (Nodes.item(i).className == strClassName) 
			{
                var nodeObj = Nodes.item(i)
                nodeObj.style.display = 'none';
			}
        }	
}

function NavOpenTree(strClassName, strSectionID, objSender) {
		hideall(strClassName);
		explode(strSectionID);
}

function NavThisSection()
{
	var thisSecion;
	if(thisSection = document.location.href.match(/\/\/.*\/(.*)\//)){
		explode(thisSection[1]);
	}
}