include("scripts/Window/Window.js"); function PMWindow(guiAction) { Window.call(this, guiAction); } PMWindow.prototype = new Window(); PMWindow.prototype.beginEvent = function() { Window.prototype.beginEvent.call(this); var mdiArea = EAction.getMdiArea(); var mdiChildren = mdiArea.subWindowList(); mdiChildren[1].showMaximized(); mdiArea.setActiveSubWindow(mdiChildren[1]); };