var event = document.createEvent("Events"); 
try { var event = document.createEvent("Events"); } catch(e) { var event = document.createEvent("UIEvents"); } 
    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;    }
5582	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5582/cbaec757e2064d53466aea82c2ca25238ce84004/event.js/buggy/src/event.js