code: function(feature) {
          var layer = feature.layer;
          // Store feature style for restoration later
          this.unhighlight(feature);
          OpenLayers.Util.removeItem(layer.selectedFeatures, feature);
          layer.events.triggerEvent("featureunselected", {feature: feature});
          this.onUnselect.call(this.scope, feature);
      }
docs: Method: unselect
  Remove feature from the layer's selectedFeature array, render the feature as
  normal, and call the onUnselect function.
  
  Parameters:
  feature - {<OpenLayers.Feature.Vector>}