if (el.addEventListener) el.addEventListener(type, modListener, useCapture);
      else if (el.attachEvent) el.attachEvent('on' + type, modListener);