docs: function (domElement, className) {
              if (!domElement) {
                  return [];
              }
              className = String(className); // Fx 3.6 compat
              if (domElement.getElementsByClassName) {
                  return domElement.getElementsByClassName(className);
              } else {
                  var elements = domElement.getElementsByTagName("*");
                  var found = [];
                  var regexp = new RegExp("\\b" + className + "\\b");
                  for (var i = 0, ii = elements.length; i < ii; i++) {
                      var el = elements[i];
                      if (regexp.test(el.className)) {
                          found.push(el);
                      }
                  }
                  return found;
              }
          }