docs: function(uri, name) {
          var element;
          if(this.xmldom) {
              if(typeof uri == "string") {
                  element = this.xmldom.createNode(1, name, uri);
              } else {
                  element = this.xmldom.createNode(1, name, "");
              }
          } else {
              element = document.createElementNS(uri, name);
          }
          return element;
      }