rem: actb_rangeu = 1; 
add:  if (a.offsetWidth < actb_self.offsetWidth) a.width = actb_self.offsetWidth; actb_rangeu = 1; 
context: 	function actb_generate(){        if (document.getElementById(actb_table_id)){ actb_display = false;document.body.removeChild(document.getElementById(actb_table_id)); }		if (actb_kwcount == 0){			actb_display = false;			return;		}        // Generate table        a = document.createElement('table');		a.cellSpacing='0px';		a.cellPadding='0px';		a.style.position='absolute';        a.style.top = eval(curTop(actb_curr) + actb_curr.offsetHeight - 10) + "px";		a.style.left = curLeft(actb_curr) + "px";		a.style.backgroundColor=actb_self.actb_bgColor;		a.style.color = actb_self.actb_textColor;        a.style.border = "1px solid black";        a.id = actb_table_id;		document.body.appendChild(a);		var i;		var first = true;		var j = 1;		if (actb_self.actb_mouse){			a.onmouseout = actb_table_unfocus;			a.onmouseover = actb_table_focus;		}		var counter = 0;		for (i=0;i<actb_self.actb_keywords.length;i++){			if (actb_bool[i]){				counter++;				r = a.insertRow(-1);				if (first && !actb_tomake){					r.style.backgroundColor = actb_self.actb_hColor;					r.style.color = actb_self.actb_hTextColor;					first = false;					actb_pos = counter;				}else if(actb_pre == i){					r.style.backgroundColor = actb_self.actb_hColor;                    r.style.color = actb_self.actb_hTextColor;					first = false;					actb_pos = counter;				}else{					r.style.backgroundColor = actb_self.actb_bgColor;					r.style.color = actb_self.actb_textColor;				}				r.id = actb_tr_id+(j);                // Generate cell                c = r.insertCell(-1);				c.style.fontFamily = actb_self.actb_fFamily;				c.style.fontSize = actb_self.actb_fSize;                c.style.padding = '2px 2px 2px 2px';				c.innerHTML = actb_parse(actb_self.actb_keywords[i]);				c.id = actb_td_id+(j);				c.setAttribute('pos',j);				if (actb_self.actb_mouse){					c.style.cursor = 'pointer';					c.onclick=actb_mouseclick;					c.onmouseover = actb_table_highlight;				}				j++;			}			if (j - 1 == actb_self.actb_lim && j < actb_total){				r = a.insertRow(-1);				r.style.backgroundColor = actb_self.actb_bgColor;				r.style.color = actb_self.actb_textColor;				c = r.insertCell(-1);				c.style.fontFamily = 'arial narrow';				c.style.fontSize = actb_self.actb_fSize;				c.align='center';				replaceHTML(c,'\\/');				if (actb_self.actb_mouse){					c.style.cursor = 'pointer';					c.onclick = actb_mouse_down;				}				break;			}		}		actb_rangeu = 1;		actb_ranged = j-1;		actb_display = true;		if (actb_pos <= 0) actb_pos = 1;	}
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7801/86af561c5bbf3126144d7565431b827c08f3eb19/suggest-actb.js/buggy/src/examples/web/ops/javascript/suggest-actb.js