window.openedTop = 0;

function showMenu(item) {
	return;
	if (item.id != window.openedTop) {
		$(window.openedTop).removeClassName('showMenu');
		window.openedTop = 0;
	}
	setTimeout(function() {
		a = $$('#' + item.id + ' ul');
		l = a.length;
		if(l > 0) {
			window.openedTop = item.id;
			a.first().addClassName('showMenu');
		}
	}, 20);
//	alert(item.id);
	
}

function hideMenu(item) {
	return;
	setTimeout(function() {
		a = $$('#' + item.id + ' ul');
		l = a.length;
		if(l > 0) {
			window.openedTop = 0;
			a.first().removeClassName('showMenu');
		}
	}, 200);
}

