function wcIFrame(container, panel) { this._panel = panel; this._layout = panel.layout(); this.$container = $(container); this.$frame = null; this._window = null; this._isAttached = true; this._hasFocus = false; this._boundEvents = []; this.__init(); }; wcIFrame.prototype = { // -------------------------------------------------------------------------------- docker: function() { var parent = this._panel; while (parent && !(parent instanceof wcDocker)) { parent = parent._parent; } return parent; }, // -------------------------------------------------------------------------------- openURL: function(url) { this.__clearFrame(); this.$frame = $('