rem:  var texts = [ titleText, XLinkTitleText ];  for (var i = 0; i < texts.length; i++) { var t = texts[i]; if ( t.search(/\S/) >= 0 ) { var tipLineElem = tipNode.ownerDocument.createElementNS(XULNS, "text"); tipLineElem.setAttribute("value", t); tipNode.appendChild(tipLineElem);  retVal = true; } 
add: tipElement = tipElement.parentNode; }  var texts = [titleText, XLinkTitleText];  for (var i = 0; i < texts.length; ++i) { var t = texts[i]; if (t.search(/\S/) >= 0) { var tipLineElem = tipNode.ownerDocument.createElementNS(XULNS, "text"); tipLineElem.setAttribute("value", t); tipNode.appendChild(tipLineElem);  retVal = true; 
context: function FillInHTMLTooltip ( tipElement ){  var HTMLNS = "http://www.w3.org/1999/xhtml";  var XULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";  var XLinkNS = "http://www.w3.org/1999/xlink";    var retVal = false;  var tipNode = document.getElementById("HTML_TOOLTIP_tooltipBox");  if ( tipNode ) {    try {      while ( tipNode.hasChildNodes() )        tipNode.removeChild( tipNode.firstChild );              var titleText = "";      var XLinkTitleText = "";            while ( !titleText && !XLinkTitleText && tipElement ) {        if ( tipElement.nodeType == 1 ) {          titleText = tipElement.getAttributeNS(HTMLNS, "title");          XLinkTitleText = tipElement.getAttributeNS(XLinkNS, "title");        }        tipElement = tipElement.parentNode;      }            var texts = [ titleText, XLinkTitleText ];            for (var i = 0; i < texts.length; i++) {        var t = texts[i];        if ( t.search(/\S/) >= 0 ) {          var tipLineElem = tipNode.ownerDocument.createElementNS(XULNS, "text");          tipLineElem.setAttribute("value", t);          tipNode.appendChild(tipLineElem);                    retVal = true;        }      }    }    catch (e) { retVal = false; }  }    return retVal;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ccffe3d0d22a870962c3e124bb2495f56095216c/navigator.js/clean/suite/browser/navigator.js