rem: Event.prototype = Event.prototype || document.createEvent("Events").__proto__; 
add: if(!Event.prototype) try { Event.prototype = document.createEvent("Events").__proto__; } catch(e) { return function(event) { if (event._extendedByPrototype) return event; return Object.extend(event, methods); }; } 
context: Event.extend = (function() {  var methods = Object.keys(Event.Methods).inject({ }, function(m, name) {    m[name] = Event.Methods[name].methodize();    return m;  });    if (Prototype.Browser.IE) {    Object.extend(methods, {      stopPropagation: function() { this.cancelBubble = true },      preventDefault:  function() { this.returnValue = false },      inspect: function() { return "[object Event]" }    });    return function(event) {      if (!event) return false;      if (event._extendedByPrototype) return event;            event._extendedByPrototype = Prototype.emptyFunction;      var pointer = Event.pointer(event);      Object.extend(event, {        target: event.srcElement,        relatedTarget: Event.relatedTarget(event),        pageX:  pointer.x,        pageY:  pointer.y      });      return Object.extend(event, methods);    };      } else {    Event.prototype = Event.prototype || document.createEvent("Events").__proto__;    Object.extend(Event.prototype, methods);    return Prototype.K;  }})();
meta: 3332	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3332/cbaec757e2064d53466aea82c2ca25238ce84004/event.js/clean/src/event.js