  if (T[tagName]) Object.extend(methods, T[tagName]);  for (var property in methods) { var value = methods[property]; if (typeof value == 'function' && !(property in element)) element[property] = cache.findOrStore(value); }  
Element.extend = function(element) {  if (!element || _nativeExtensions || element.nodeType == 3) return element;    if (!element._extended && element.tagName && element != window) {    var methods = Object.clone(Element.Methods), cache = Element.extend.cache;        if (element.tagName == 'FORM')      Object.extend(methods, Form.Methods);    if (['INPUT', 'TEXTAREA', 'SELECT'].include(element.tagName))       Object.extend(methods, Form.Element.Methods);        Object.extend(methods, Element.Methods.Simulated);          for (var property in methods) {      var value = methods[property];      if (typeof value == 'function' && !(property in element))        element[property] = cache.findOrStore(value);    }  }    element._extended = true;  return element;};
5582	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5582/7044da813866e625d8222c98d811cae0aa6bccd4/dom.js/buggy/src/dom.js