Add some extra event handlers, and startup our superclass.
this.inherited(arguments); this._clone = dojo.clone(this.imgNode); this.connect(document.documentElement,"onkeypress","_handleKey"); this.connect(window,"onresize","_position"); this.connect(this.nextNode, "onclick", "_nextImage"); this.connect(this.prevNode, "onclick", "_prevImage"); this.connect(this.closeNode, "onclick", "hide"); this._makeAnims(); this._vp = dijit.getViewport();