Required library edition: Required library file: dhtmlxtoolbar.js
returns current maximal value and label of a slider
var maxVal = toolbar.getMaxValue(itemId); // returns [maxValue, maxLabel]