Required library edition: Required library file: dhtmlxwindows.js
returns current window's dimension
var dim = dhxWins.window(id).getDimension(); // returns [w,h]