rem: content += '<td class="searchplugin' + cl + '">' + shortName + '</td>'; 
add: else { var shortName = results.details[path].ShortName; var img = results.details[path].Image; if (results.locales[loc].orders && results.locales[loc].orders[shortName]) { cl = " ordered"; } innerContent = '<img src="' + img + '">' + shortName; } var td = document.createElement('td'); td.className = 'searchplugin' + cl; td.innerHTML = innerContent; row.appendChild(td); td.details = results.details[path]; 
context:   updateView: function() {    this._gView = document.getElementById("view");    var cmp = function(l,r) {      var lName = results.details[l].ShortName;      var rName =  results.details[r].ShortName;      if (lName) lName = lName.toLowerCase();      if (rName) rName = rName.toLowerCase();      return lName < rName ? -1 : lName > rName ? 1 : 0;    }    for (loc in results.locales) {      var row = document.createElement("tr");      if (tierMap[loc])        row.className += ' ' + tierMap[loc];      else        row.className += ' Tier-3';      this._gView.appendChild(row);      var lst = results.locales[loc].list;      lst.sort(cmp);      var orders = results.locales[loc].orders;      if (orders) {        var explicit = [];        var implicit = [];        for (var sn in orders) {          if (explicit[sn]) {            fatal = true;            break;          }          explicit[sn] = orders[sn];        }        explicit = [];        for each (var path in lst) {          var shortName = results.details[path].ShortName;          if (orders[shortName]) {            explicit[orders[shortName] - 1] = path;          }          else {            implicit.push(path);          }        }        lst = explicit.concat(implicit);      }      var content = '';      for each (var path in lst) {        YAHOO.widget.Logger.log('testing ' + path);        var shortName = results.details[path].ShortName;        var cl = '';        if (results.locales[loc].orders && results.locales[loc].orders[shortName]) {          cl = " ordered";        }        content += '<td class="searchplugin' + cl + '">' + shortName + '</td>';      }      row.innerHTML = '<td class="locale">' + loc + '</td>' + content;    }  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d777f3b284c7d02586a1d936fdad2fe02a0b9769/search-code.js/clean/testing/tests/l10n/web/search-code.js