rem: for (var i=0; i<children.length; i++) { var index = children[i].getAttribute("index"); if (index) box.removeChild(children[i]); 
add: while (children[0]) { try { box.removeChild(children[0]); } catch (e) { this.dumpErr(e); } 
context: showDropDown:function(e) {	var box=e.target;	//remove any existing entries	var children = box.childNodes;	for (var i=0; i<children.length; i++) {		var index = children[i].getAttribute("index");		if (index) box.removeChild(children[i]);	}	//create new entries	var URLs=this.getURLs(), m;	if (0==URLs.length) return;// false;	for (var i=0; i<URLs.length; i++) {		m=document.createElement("menuitem");		m.setAttribute('label', URLs[i]);		m.setAttribute('index', i);		m.setAttribute('value', i);		box.appendChild(m);	}	//return true;},
meta: 2321	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2321/20f97aa967cf88ccc889b1642856f10002c524f7/uppity.js/buggy/trunk/content/uppity.js