Required library edition: Required library file: dhtmlxmenu.js
return item type by id (string)
var type = menu.getItemType(itemId);