code: function(url) {
          url = url || window.location.href;
          var parameters = OpenLayers.Util.getParameters(url);
  
          // If we have an anchor in the url use it to split the url
          var index = url.indexOf('#');
          if (index > 0) {
              // create an url to parse on the getParameters
              url = '?' + url.substring(index + 1, url.length);
  
              OpenLayers.Util.extend(parameters,
                      OpenLayers.Util.getParameters(url));
          }
          return parameters;
      }
docs: Constructor: OpenLayers.Control.ArgParser
  
  Parameters:
  options - {Object}
   
  Method: getParameters