Required library edition: Required library file: dhtmlxwindows.js
returns the button handler (dhtmlXWindowBtn object) found by id
var btn = dhxWins.window(winId).button(id);