0)) { // Moving relative to an item: start from the currently selected item this.menuBoxObject.activeChild = this.mSelectedInternal; if (this.menuBoxObject.handleKeyPress(event)) { this.menuBoxObject.activeChild.doCommand(); event.preventDefault(); } } ]]> this.setInitialSelection() this.boxObject.QueryInterface(Components.interfaces.nsIMenuBoxObject) null = 0 && index < children.length) return children[index]; } return null; ]]> = 0 && index < popup.childNodes.length) popup.insertBefore(item, popup.childNodes[index]); else popup.appendChild(item); return item; ]]> null this.inputField.select();