rem: deck.setAttribute("index", 0);  if (aObject.ownerDocument != this.mDS.document) this.mDS.document = aObject.ownerDocument; 
add: deck.setAttribute("selectedIndex", 0); 
context:   set subject(aObject)   {    this.mSubject = aObject;    var deck = document.getElementById("dkContent");        if (aObject.nodeType == 1) {      deck.setAttribute("index", 0);            if (aObject.ownerDocument != this.mDS.document)        this.mDS.document = aObject.ownerDocument;            this.setTextValue("nodeName", aObject.nodeName);      this.setTextValue("nodeType", aObject.nodeType);      this.setTextValue("nodeValue", aObject.nodeValue);      this.setTextValue("namespace", aObject.namespaceURI);        var res = this.mDS.getResourceForObject(aObject);      try {        this.mAttrTree.setAttribute("ref", res.Value);      } catch (ex) {        debug("ERROR: While rebuilding attribute tree\n" + ex);      }    } else {      deck.setAttribute("index", 1);      var txb = document.getElementById("txbTextNodeValue");      txb.value = aObject.nodeValue;    }            this.mObsMan.dispatchEvent("subjectChange", { subject: aObject });  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/732dc6261a2ac11c9af2f33803020c5eb226df56/domNode.js/buggy/extensions/inspector/resources/content/viewers/domNode/domNode.js