try
{
	var leftMenuHeight = 0;
	var leftMenu = new PopupMenu('leftMenu');
	lefty = findLeft('sidebar');
	toppy = findTop('sidebar') + 2;

	LoadLeftMenuStructure(leftMenu);
}
catch(e)
{
	window.status = "Left menu not loaded";
}

if (leftMenuHeight > 0)
{
	var container = findDOM("sidebarContainer",1);
	container.height = leftMenuHeight + 2;
}

///////////////////////////////////////////////////////////////////////////  Display menus
	try {leftMenu.update(true);} catch(e){}
	
	var popOldOR = window.onresize;
	window.onresize = function()
	{
		if (popOldOR) popOldOR();
		try {leftMenu.position();} catch(e){}
	}

	window.onscroll = function()
	{
		try {leftMenu.position();} catch(e){}
	}
