Required library edition: Required library file: dhtmlxwindows.js
returns window's id
dhxWins.forEachWindow(function(win){ var id = win.getId(); });