rem: var number; 
add: var number, cookie, id; 
context: function CookieColumnSort(column) {  var number;  var cookietree = document.getElementById("cookietree");  var selected = cookietree.selectedIndex;  var cookielist = document.getElementById('cookieList');  var childnodes = cookielist.childNodes;  if (selected >= 0) {    var cookie = childnodes[selected];    var id = cookie.getAttribute("id");    number = parseInt(id.substring("cookietree_".length,id.length));  }  Wallet_ColumnSort(column, 'cookieList');  var length = childnodes.length;  if (selected >= 0) {    for (i=0; i<length; i++){      var cookie = childnodes[i];      var id = cookie.getAttribute("id");      var thisNumber = parseInt(id.substring("cookietree_".length,id.length));      if (thisNumber == number) {        cookietree.selectedIndex = i;        break;      }    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/037bd4facfbf703405668390f877580f5554e9c1/CookieViewer.js/buggy/extensions/wallet/cookieviewer/CookieViewer.js