if (!(url in gImageHash)) 
if (!gImageHash.hasOwnProperty(url)) 
function addImage(url, type, alt, elem, isBg){  if (!url)    return;  if (!(url in gImageHash))    gImageHash[url] = { };  if (!(type in gImageHash[url]))    gImageHash[url][type] = { };  if (!(alt in gImageHash[url][type])) {    gImageHash[url][type][alt] = gImageView.data.length;    try {      // open for READ, in non-blocking mode      var cacheEntryDescriptor = httpCacheSession.openCacheEntry(url, ACCESS_READ, false);    }    catch(ex) {      try {        // open for READ, in non-blocking mode        cacheEntryDescriptor = ftpCacheSession.openCacheEntry(url, ACCESS_READ, false);      }      catch(ex2) { }    }    var sizeText;    if (cacheEntryDescriptor) {      var pageSize = cacheEntryDescriptor.dataSize;      var kbSize = formatNumber(Math.round(pageSize / 1024 * 100) / 100);      sizeText = gBundle.getFormattedString("mediaFileSize", [kbSize]);    }    else      sizeText = gStrings.unknown;    gImageView.addRow([url, type, sizeText, alt, 1, elem, isBg]);    if (gImageView.data.length == 1) {      document.getElementById("mediaTab").hidden = false;      var os = Components.classes["@mozilla.org/observer-service;1"]                         .getService(Components.interfaces.nsIObserverService);      os.addObserver(imagePermissionObserver, "perm-changed", false);    }  }  else {    var i = gImageHash[url][type][alt];    gImageView.data[i][COL_IMAGE_COUNT]++;  }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/474c442f46e2b36e641e0a6407b8560fb74758f5/pageInfo.js/clean/browser/base/content/pageinfo/pageInfo.js