/**
 check: if elem li#current
 	- does not contain <ul>
	AND
	- has immediate parent ul.menu
	
	IF TRUE (which means the current section is a top level menu item and is without child level)
	SHRINK header height
**/
function adjustSiteHeader() {
	var siteMenu = ge('site-menu');
	var siteLeftColumn = ge('site-left-column');
	var currentLI = ge('current');
	if (!currentLI) return;
	var aChildUL = gt(currentLI, 'ul');
	var hasChildUL = (aChildUL.length > 0);
	var parentElem = currentLI.parentNode;
	var hasMenuParent = (parentElem.className == 'menu');
	if (!hasChildUL && hasMenuParent) {
		siteMenu.className = 'one-level-menu';
		if (siteLeftColumn) {
			siteLeftColumn.className = 'with-one-level-menu';
		}
	} else {
		siteMenu.className = 'two-level-menu';
		if (siteLeftColumn) {
			siteLeftColumn.className = 'with-two-level-menu';
		}
	}
}
