var elm = this.ownerDocument.createElementNS(this.XHTML_NS, "optgroup"); if (aXFLabel) elm.textContent = aXFLabel.textValue; return aParentElm.insertBefore(elm, aNextElm); var elm = this.ownerDocument.createElementNS(this.XHTML_NS, "option"); if (aXFLabel) elm.textContent = aXFLabel.textValue; return aParentElm.insertBefore(elm, aNextElm); aElm.textContent = aXFLabel ? aXFLabel.textValue : ""; return aItem.selected; aItem.selected = aDoSelect; return aItem.disabled; aItem.disabled = aDoDisable; this.updateInstanceData(true); this.updateInstanceData(false);