rem: haystack = util.Dom.get(haystack); if (!haystack || !needle) { return false; } 
add: haystack = Y.Dom.get(haystack); if (!haystack || !needle) { return false; } 
context:       isAncestor: function(haystack, needle) {         haystack = util.Dom.get(haystack);         if (!haystack || !needle) { return false; }         var f = function(needle) {            if (haystack.contains && !isSafari) { // safari "contains" is broken               return haystack.contains(needle);            }            else if ( haystack.compareDocumentPosition ) {               return !!(haystack.compareDocumentPosition(needle) & 16);            }            else { // loop up and test each parent               var parent = needle.parentNode;               while (parent) {                  if (parent == haystack) {                     return true;                  }                  else if (!parent.tagName || parent.tagName.toUpperCase() == 'HTML') {                     return false;                  }                  parent = parent.parentNode;               }               return false;            }         };         return util.Dom.batch(needle, f, util.Dom, true);      },
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dom.js/clean/www/resources/yui/dom/dom.js