occur when the window was shown/hidden
dhxWins.attachEvent("onShow", function(win){ // code here }); dhxWins.attachEvent("onHide", function(win){ // code here });