docs: function(element, name) {
          var names = element.className;
          if(names) {
              element.className = OpenLayers.String.trim(
                  names.replace(
                      new RegExp("(^|\\s+)" + name + "(\\s+|$)"), " "
                  )
              );
          }
          return element;
      }