code: function(styleUrl, options) {
  
          var styleBaseUrl = OpenLayers.Util.removeTail(styleUrl);
  
          var newOptions = OpenLayers.Util.extend({}, options);
          newOptions.depth++;
          newOptions.styleBaseUrl = styleBaseUrl;
  
          // Fetch remote Style URLs (if not fetched before) 
          if (!this.styles[styleUrl] 
                  && !OpenLayers.String.startsWith(styleUrl, "#") 
                  && newOptions.depth <= this.maxDepth
                  && !this.fetched[styleBaseUrl] ) {
  
              var data = this.fetchLink(styleBaseUrl);
              if (data) {
                  this.parseData(data, newOptions);
              }
  
          }
  
          // return requested style
          var style = OpenLayers.Util.extend({}, this.styles[styleUrl]);
          return style;
      }
docs: Method: getStyle
  Retrieves a style from a style hash using styleUrl as the key
  If the styleUrl doesn't exist yet, we try to fetch it
  Internet
  
  Parameters:
  styleUrl  - {String} URL of style
  options   - {Object} Hash of options
  
  Returns:
  {Object}  - (reference to) Style hash