function showSubMenu(el)
{
	for (var i=0, len = el.childNodes.length; i < len; i++)
		if (el.attributes) if (el.childNodes[i].tagName == 'UL') 
		{
			el.childNodes[i].style.display = 'block';
			el.height = el.offsetHeight + el.childNodes[i].offsetHeight;
		}
}

function hideSubMenu(el)
{
	for (var i=0, length = el.childNodes.length; i < length; i++)
		if (el.attributes) if (el.childNodes[i].tagName == 'UL') 
		{
			el.childNodes[i].style.display = 'none';
		}
}
