

var selectedSubList = null;

function showSubList(o) {
	for(var i = 0; i < o.childNodes.length; i++) {
		if(selectedSubList != null) {
			selectedSubList.style.display = "none";
		}
		if(o.childNodes[i].nodeName == 'UL') {
			selectedSubList = o.childNodes[i];
			o.childNodes[i].style.display = "block";
		}
	}
}

function hideSubList(o) {
	for(var i = 0; i < o.childNodes.length; i++) {
		if(o.childNodes[i].nodeName == 'UL') {
			selectedSubList = null;
			o.childNodes[i].style.display = "none";
		}
	}
}

