this.setTitle(this.title); this.inherited(arguments); var move = new dojo.dnd.Moveable(this.domNode,{ handle: this.focusNode }); //this._listener = dojo.subscribe("/dnd/move/start",this,"bringToTop"); if(!this.dockable){ this.dockNode.style.display = "none"; } if(!this.closable){ this.closeNode.style.display = "none"; } if(!this.maxable){ this.maxNode.style.display = "none"; this.restoreNode.style.display = "none"; } if(!this.resizable){ this.resizeHandle.style.display = "none"; }else{ var foo = dojo.marginBox(this.domNode); this.domNode.style.width = foo.w+"px"; } this._allFPs.push(this); this.domNode.style.position = "absolute";