/************************************************************************************************************
	@fileoverview
	This file initializes the menubar based on the design and implementation of 
	"DHTML Suite for Applications" (http://www.dhtmlgoodies.com).
	
	By default, all menu items are enabled, unless specified in the bottom section
	of the initMenubar() method..

************************************************************************************************************/


function initMenubar(menuBarId) {

	/* Fifth menu - created from markup */
	var menuModel = new DHTMLSuite.menuModel();
	
	if (document.getElementById(menuBarId) != null) {
		menuModel.addItemsFromMarkup(menuBarId);
		menuModel.init();
		
		var menuBar = new DHTMLSuite.menuBar();
		menuBar.addMenuItems(menuModel);
		menuBar.setTarget('div_' + menuBarId);
		menuBar.init();
		
		//menuBar.setMenuItemState('item_500101','disabled');	// XpressUtils' Custom Disable menu item
	}
}