rem: var numItems = RDFC.GetCount(); 
add: var numItems = RDFC.GetCount(); 
context: function MoveDelta(delta){	var engineList = document.getElementById("engineList");	if (!engineList)	return(false);	var select_list = engineList.selectedItems;	if (!select_list)	return(false)	if (select_list.length != 1)	return(false);	var ref = engineList.getAttribute("ref");	if (!ref)	return(false);	var categoryRes = RDF.GetResource(ref);	if (!categoryRes)	return(false);	var id = select_list[0].id;	if (!id)	return(false);	var idRes = RDF.GetResource(id);	if (!idRes)	return(false);	RDFC.Init(catDS, categoryRes);	var nodeIndex = RDFC.IndexOf(idRes);	if (nodeIndex < 1)	return(false);		// how did that happen?	var numItems = RDFC.GetCount();	var newPos = -1;	if (((delta == -1) && (nodeIndex > 1)) ||		((delta == 1) && (nodeIndex < numItems)))	{		newPos = nodeIndex + delta;		RDFC.RemoveElementAt(nodeIndex, true, idRes);	}	if (newPos > 0)	{		RDFC.InsertElementAt(idRes, newPos, true);	}	selectItems(engineList, ref, id);	return(true);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/search-editor.js/clean/xpfe/components/search/resources/search-editor.js