fires when a window was hidden
myWins.attachEvent("onHide", function(win){ // your code here });
win is dhtmlXWindowsCell instance, please check dhtmlXWindowsCell API for details