detectOnIe = function(classId) {
    try {
      new ActiveXObject(classId);
      return true;
    } catch (ex) {
      return false;
    }
  }
@fileoverview Detects the Adobe Reader PDF browser plugin.

@see ../demos/useragent.html