Código:
var marker = new OpenLayers.Marker(EPSG, icon); // popup marker.events.register("click", marker, function(e){ popup = new OpenLayers.Popup.FramedCloud(data.idunidad, marker.lonlat, new OpenLayers.Size(200,200), '<p>Info HTML</p>', null,true); });