rem: a.href = dest; a.innerHTML = word; 
add: if (dest) { a.href = dest; a.innerHTML = word; li.onclick = function() { location.href = dest; } li.appendChild(a); } else { li.innerHTML = word; } 
context: 	this.createDiv = function() {		var ul = document.createElement('ul');			//Create an array of LI's for the words.		for (i in this.eligible) {			var word = this.eligible[i];			var desc = this.descriptions[i];			var dest = this.actions[i];				var ds = document.createElement('span');			var li = document.createElement('li');			var a = document.createElement('a');			a.href = dest;			a.innerHTML = word; 			ds.innerHTML = desc;			li.appendChild(a);			a.appendChild(ds);				if (me.highlighted == i) {				li.className = "selected";			}				ul.appendChild(li);		}			this.div.replaceChild(ul,this.div.childNodes[0]);			/********************************************************		mouseover handler for the dropdown ul		move the highlighted suggestion with the mouse		********************************************************/		ul.onmouseover = function(ev) {			//Walk up from target until you find the LI.			var target = me.getEventSource(ev);			while (target.parentNode && target.tagName.toUpperCase() != 'LI') {				target = target.parentNode;			}					var lis = me.div.getElementsByTagName('LI');							for (i in lis) {				var li = lis[i];				if(li == target) {					me.highlighted = i;					break;				}			}			me.changeHighlight();		};		this.div.className="suggestion_list";		this.div.style.position = 'absolute';	};
meta: 330	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/330/b59bcdd4d7596d89aecfd47c5635bc6054739919/autosuggest.js/buggy/img/autosuggest.js