Select a feature on click with the Control.SelectFeature on a vector layer. Open new Window with url from selectedFeatures[0].attributes['name']