code: function(name){
          var obj = -1;
          try{
              obj = new ActiveXObject(name);
          }catch(err){
              obj = {activeXError:true};
          }
          return obj;
      }
docs: Try and retrieve an ActiveX object having a specified name.
  
  @param {String} name The ActiveX object name lookup.
  @return One of ActiveX object or a simple object having an attribute of activeXError with a value of true.
  @type Object