rem: var list = box.childNodes[1]; for (var i=0; i<links.length; i++) { var elem = list.appendChild(document.createElementNS(qaMain.htmlNS,"li")); var a = elem.appendChild(document.createElementNS(qaMain.htmlNS,"a"));   var text = links[i].text; if (chars && chars>0 && text.length > chars) { a.setAttribute("tooltiptext", text); text = text.substring(0, chars-3)+"..."; }  a.textContent = text; a.href = links[i].url; qaTools.assignLinkHandler(a); } }, 
add: var list = box.childNodes[1]; for (var i=0; i<links.length; i++) { var elem = list.appendChild(document.createElementNS(qaMain.htmlNS,"li")); var a = elem.appendChild(document.createElementNS(qaMain.htmlNS,"a"));   var text = links[i].text; if (chars && chars>0 && text.length > chars) { a.setAttribute("tooltiptext", text); text = text.substring(0, chars-3)+"..."; }  a.textContent = text; a.href = links[i].url; qaTools.assignLinkHandler(a); } } 
context: 	populateLinkBox : function(box, links, chars) {		var list = box.childNodes[1];		for (var i=0; i<links.length; i++) {			var elem = list.appendChild(document.createElementNS(qaMain.htmlNS,"li"));			var a = elem.appendChild(document.createElementNS(qaMain.htmlNS,"a"));						// limit text to chars characters:			var text = links[i].text;			if (chars && chars>0 && text.length > chars) {				a.setAttribute("tooltiptext", text);				text = text.substring(0, chars-3)+"...";			}						a.textContent = text;			a.href = links[i].url;			qaTools.assignLinkHandler(a);		}	},
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/qmo.js/buggy/testing/extensions/community/chrome/content/tabs/qmo.js