rem: makePreview(tree.currentIndex); 
add: makePreview(tree.view.selection.currentIndex); 
context: function onImageSelect(){  var tree = document.getElementById("imagetree");  var saveAsButton = document.getElementById("imagesaveasbutton");  if (tree.view.selection.count == 1)  {    makePreview(tree.currentIndex);    saveAsButton.setAttribute("disabled", "false");  }  else    saveAsButton.setAttribute("disabled", "true");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a32deaaa0c48e0a4f9d913deba3c11be6f38ac98/pageInfo.js/clean/browser/base/content/pageInfo.js