function ToggleMenu(itemName)
{
	var elm = document.getElementById(itemName);
	var i,others = document.getElementById('SectionMenu');
	for(i=0; i < others.childNodes.length; i++)
	{
		var other = others.childNodes[i];
		if ((other.className == 'strForumCellColor') && (other != elm)) other.style.display='none';
	}
	if (elm.style.display == 'block') elm.style.display='none';
	else elm.style.display='block';
	return false;
}
function OpenMenuItem(subCat,section)
{
	var i,menuelms = document.getElementById('SectionMenu');
	for(i=0; i < menuelms.childNodes.length; i++)
	{
		var menuelm = menuelms.childNodes[i];
		if ((menuelm.className == 'strForumCellColor') && (menuelm.id == 'SubCat'+subCat.toString()))
		{
			menuelm.style.display = 'block';
			for(j=0; j < menuelm.childNodes.length; j++)
			{
				var subelm = menuelm.childNodes[j];
				if ((subelm.className == 'strForumCellColor2') && (subelm.id == 'Section'+section.toString()))
				{
					subelm.style.className='strForumCellColor3';
					break;
				}
			}
			break;
		}
	}
	return false;
}
