I have a question how i can change this code
selectedFeature = feature;
popup = new OpenLayers.Popup.FramedCloud("chicken",
feature.geometry.getBounds().getCenterLonLat(),
null,
div,
null, null, onPopupClose);
feature.popup = popup;
to make the center point of popup window exactly where I've clicked, not like it is now on the center of object bounds?
Thanks in advance.