rem: var event = document.createEvent("Events"); 
add: try { var event = document.createEvent("Events"); } catch(e) { var event = document.createEvent("UIEvents"); } 
context:     fire: function(element, eventName, memo) {      element = $(element);      if (element == document && document.createEvent && !element.dispatchEvent)        element = document.documentElement;              if (document.createEvent) {        var event = document.createEvent("Events");        event.initEvent("dataavailable", true, true);      } else {        var event = document.createEventObject();        event.eventType = "ondataavailable";      }      event.eventName = eventName;      event.memo = memo || {};      if (document.createEvent) {        element.dispatchEvent(event);      } else {        element.fireEvent(event.eventType, event);      }      return element;    }
meta: 3332	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3332/cbaec757e2064d53466aea82c2ca25238ce84004/event.js/clean/src/event.js