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.mInputField = null; this.mSelectedInternal = null; this.menuBoxObject = this.boxObject; this.setInitialSelection(); = 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; ]]> this.inputField.select();