Required library edition: Required library file: dhtmlxtoolbar.js
returns a current position of an item
var pos = toolbar.getPosition(itemId);