Required library edition: Required library file: dhtmlxmenu.js
returns item's position in the current polygon
var pos = menu.getItemPosition(itemId); // returns number