rem:  htmllocalname = ""; if (isHTMLElement(elem,"")) { htmllocalname = elem.localName.toLowerCase(); } 
context: function showMetadataFor(elem){  // skip past non-element nodes  while (elem && elem.nodeType != Node.ELEMENT_NODE)    elem = elem.parentNode;  if (!elem) {    alert(gMetadataBundle.getString("unableToShowProps"));    window.close();  }  if (elem.ownerDocument.getElementsByName && !elem.ownerDocument.namespaceURI)    htmlMode = true;    // htmllocalname is "" if it's not an html tag, or the name of the tag if it is.  var htmllocalname = "";  if (isHTMLElement(elem,"")) {     htmllocalname = elem.localName.toLowerCase();  }    // We only look for images once  checkForImage(elem, htmllocalname);    // Walk up the tree, looking for elements of interest.  // Each of them could be at a different level in the tree, so they each  // need their own boolean to tell us to stop looking.  while (elem && elem.nodeType == Node.ELEMENT_NODE) {    if (!onLink)   checkForLink(elem, htmllocalname);    if (!onInsDel) checkForInsDel(elem, htmllocalname);    if (!onQuote)  checkForQuote(elem, htmllocalname);    if (!onTable)  checkForTable(elem, htmllocalname);    if (!onTitle)  checkForTitle(elem, htmllocalname);    if (!onLang)   checkForLang(elem, htmllocalname);          elem = elem.parentNode;    htmllocalname = "";    if (isHTMLElement(elem,"")) {       htmllocalname = elem.localName.toLowerCase();    }  }    // Decide which sections to show  var onMisc = onTable || onTitle || onLang;  if (!onMisc)   hideNode("misc-sec");  if (!onLink)   hideNode("link-sec");  if (!onImage)  hideNode("image-sec");  if (!onInsDel) hideNode("insdel-sec");  if (!onQuote)  hideNode("quote-sec");  // Fix the Misc section visibilities  if (onMisc) {    if (!onTable) hideNode("misc-tblsummary");    if (!onLang)  hideNode("misc-lang");    if (!onTitle) hideNode("misc-title");  }  // Get rid of the "No properties" message. This is a backstop -  // it should really never show, as long as nsContextMenu.js's  // checking doesn't get broken.  if (onLink || onImage || onInsDel || onQuote || onMisc)    hideNode("no-properties")}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/2e814dfd8a76f86d01492cf095b048ee281c546f/metaData.js/clean/browser/base/content/metaData.js