Required library edition: Required library file: dhtmlxtoolbar.js
sets a pressed/released state for a two-state button
toolbar.setItemState(itemId, state); // state = true/false