add: var choiceDiv = document.createElement("div"); document.body.appendChild(choiceDiv); choiceDiv.id = elementId+"-autocomplete"; choiceDiv.className = "wicket-aa"; choiceDiv.style.display = "none"; choiceDiv.style.position = "absolute"; choiceDiv.style.zIndex = "900"; 
context: 	function initialize(){		var obj=wicketGet(elementId);		obj.onblur=function(event){			hideAutoComplete();		}				obj.onkeydown=function(event){			switch(wicketKeyCode(getEvent(event))){				case KEY_UP:					if(selected>-1)selected--;					if(selected==-1){						hideAutoComplete();					} else {				    	render();				    }				    if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event);					break;				case KEY_DOWN:					if(selected<elementCount-1){						selected++;					}					if(visible==0){						updateChoices();					} else {												render();						showAutoComplete();							}				    if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event);					break;														case KEY_ESC:					hideAutoComplete();					return killEvent(event);					break;				case KEY_ENTER:					if(selected>-1){						obj.value=getSelectedValue();						hideAutoComplete();										}					return killEvent(event);					break;									default:			}		}					obj.onkeyup=function(event){			switch(wicketKeyCode(getEvent(event))){				case KEY_ENTER:					return killEvent(event);				case KEY_UP:				case KEY_DOWN:				case KEY_ESC:				case KEY_TAB:				case KEY_RIGHT:				case KEY_LEFT:					break;									default:					updateChoices();								}		}		obj.onkeypress=function(event){			if(wicketKeyCode(getEvent(event))==KEY_ENTER){				return killEvent(event);			}		}	}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/d1bd51a17d22f3f02d556366beec92540fed6bcf/wicket-autocomplete.js/buggy/wicket-extensions/src/java/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js