function ShowSubCategories(SubObj) {
	if(SubObj)
	{
		if(!SubObj.style.left && !SubObj.style.top)
		{
			var Previous = SubObj.previousSibling;
			var PrevType = typeof Previous.getAttribute;
			if(Previous && Previous.className == 'menu')
			{
				Previous.style.backgroundColor = '#AAAAAA';
				Previous.style.borderRight = '5px double white';
				Previous.style.color = '#441111';
			}
			if(Previous && PrevType == 'function' || PrevType == 'object') {
				SubObj.style.top = absTop(SubObj.previousSibling)+'px';
				SubObj.style.left = absLeft(SubObj.previousSibling)+SubObj.previousSibling.offsetWidth+'px';
			} else {
				SubObj.style.top = '0px';
				SubObj.style.left = '86px';
			}
		}
		else
		{
			var Previous = SubObj.previousSibling;
			if(Previous && (Previous.className == 'menu' || Previous.className == 'menu selected'))
			{
				Previous.style.backgroundColor = '#AAAAAA';
				Previous.style.borderRight = '5px double white';
				Previous.style.color = '#441111';
			}
		}
		SubObj.style.display = 'block';
	} else {
		//if(window.console) console.log('Element mit der Id: '+'Sub_'+obj.getAttribute('id')+' konnte nicht gefunden werden!');
	}
}

function HideSubCategories(SubObj) {
	if(SubObj)
	{
		SubObj.style.display = 'none';
		var Previous = SubObj.previousSibling;
		if(Previous && (Previous.className == 'menu' || Previous.className == 'menu selected'))
		{
			Previous.style.backgroundColor = '';
			Previous.style.borderRight = '';
			Previous.style.color = '';
		}
	}
}
