function accordeonMenuClick(elID) {
	var el = $(elID);
	if (!el) return false;
	if (el.select('div').length==0) return; /* if there are no subs - do nothing */

	if (el.hasClassName('level0')) /* if this level is a top-level - toggle topHighlightClass */
		el.toggleClassName('level0high');

	el.siblings().each( function(siblingEl) { /* scroll through list of divs of the same DOM-level */
		if (siblingEl.hasClassName('level0high')) /* if it is higlighted - remove it */
			siblingEl.removeClassName('level0high');
		siblingEl.immediateDescendants().each( function (thEl) { /* scroll thorugh all subs of div of same DOM-level and hide them */
			if (thEl.tagName=='DIV') {
				thEl.addClassName('hidden');
				thEl.removeClassName('visible');
			}
		} );
	} );

	el.immediateDescendants().each( function (thEl) { /* scroll through sub divs of this and show them */
		if (thEl.tagName=='DIV' || thEl.tagName=='HR') {
			thEl.toggleClassName('hidden');
			thEl.toggleClassName('visible');
		}
	} );
}

function mainMenuClick(elID) {
    var el = $(elID);

    if (!el) return false;
//    if (el.select('td').length==0) return; /* if there are no subs - do nothing */

    if (el.hasClassName('level0')) /* if this level is a top-level - toggle topHighlightClass */
        el.toggleClassName('sectionsMenuItemHigh');

    el.siblings().each( function(siblingEl) { /* scroll through list of divs of the same DOM-level */
        if (siblingEl.hasClassName('sectionsMenuItemHigh')) /* if it is higlighted - remove it */
            siblingEl.removeClassName('sectionsMenuItemHigh');
        siblingEl.immediateDescendants().each( function (thEl) { /* scroll thorugh all subs of div of same DOM-level and hide them */
            if (thEl.tagName=='DIV') {
                thEl.addClassName('hidden');
                thEl.removeClassName('visible');
            }
        } );
    } );

    el.immediateDescendants().each( function (thEl) { /* scroll through sub divs of this and show them */
        if (thEl.tagName=='DIV') {
            thEl.toggleClassName('hidden');
            thEl.toggleClassName('visible');
        }
    } );
}
