Function: attachDOMEvent
Attach user-defined event handler for any DOM event for an element.
Parameters:
Object (HTML element), Event object, function (handler), boolean (useCapture)
Returns:
Nothing
Note:
The fourth argument, useCapture, is optional and will default to false.