context: function reorderScript(from, to) {  // make sure to and from are in range  if (from < 0 || to < 0 ||    from > config.scripts.length || to > config.scripts.length  ) {    return false;  }  // save item-to-move  var tmp = config.scripts[from];  // remove it  config.scripts.splice(from, 1);  // put it back in the new spot  config.scripts.splice(to, 0, tmp);  // empty out the list box  while (listbox.firstChild) {    listbox.removeChild(listbox.firstChild);  }  // and re-populate it  populateChooser();  // then re-select the dropped script  listbox.selectedIndex = to;  return true;}
meta: 4236	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4236/b4a3ee38a93f6708b0dabd83352244960549e056/manage.js/buggy/src/chrome/chromeFiles/content/manage.js