code: function() {
          var doc = null;
          var docStrings = [
              "Msxml2.DOMDocument.6.0",
              "Msxml2.DOMDocument.5.0",
              "Msxml2.DOMDocument.4.0",
              "MSXML2.DOMDocument.3.0",
              "MSXML2.DOMDocument",
              "MSXML.DOMDocument",
              "Microsoft.XMLDOM"
          ];
  
          for (var d = 0; d < docStrings.length; d++) {
              if (doc === null) {
                  try {
                      doc = new ActiveXObject(docStrings[d]);
                  } catch (e) {
                      doc = null;
                  }
              } else {
                  break;
              }
          }
  
          return doc;
      }
docs: PrivateFunction: _getIEXmlDom
  Gets IE xml doc object
  
  Returns:
  A Microsoft XML DOM Object
  See Also:
  http://msdn.microsoft.com/en-us/library/ms757837%28VS.85%29.aspx