rem: if(selected==i){ node.className='selected'; } else { node.className=''; 
add:  var classNames = node.className.split(" "); for (var j=0; j<classNames.length; j++) { if (classNames[j] == 'selected') { classNames[j] = ''; } }  if(selected==i){ classNames.push('selected'); 
context: 	function render(){			var element=wicketGet(elementId+'-autocomplete');    	for(var i=0;i<elementCount;i++){    		var node=element.firstChild.childNodes[i];			if(selected==i){	    		node.className='selected';	    	} else {	    		node.className='';	    	}    	}    			}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/29ed137e667bf50fecea8e47ca1346dbacfd1ec8/wicket-autocomplete.js/clean/wicket-extensions/src/java/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js