So habe es jetzt hinbekommen und die Karte funktioniert so. Danke nochmal für die Hilfe.

Nun habe ich gleich ein neues Problem: Ich lasse mir per Overpass API verschiedene Pois auf meine Karte einblenden. Die lassen sich ja an- und abschalten. Wenn ich meine Karte lade sind die aber grundsätzlich eingeschaltet, ich will das jetzt aber so das die Pois beim Laden der Karte nicht angezeigt werden. Hat dafür jemand ein Codebeispiel? Ich kann ja mal meinen Code posten mit dem ich die Abfrage mache:

arztlayer = new OpenLayers.Layer.Vector("Ärzte in NB", {styleMap: styleMaparzt,
                    strategies: [new OpenLayers.Strategy.Fixed()],
                    protocol: new OpenLayers.Protocol.HTTP({
                        url: "arzt.xapi",   
			format: new OpenLayers.Format.OSM()
                    }),
                    projection: new OpenLayers.Projection("EPSG:4326")
                });
 
                map.addLayers([arztlayer]);
				
				var options = {hover: false, onSelect: onFeatureSelect, onUnselect: onFeatureUnselect };
				selectControl = new OpenLayers.Control.SelectFeature(arztlayer, options);
				map.addControl(selectControl);
				selectControl.activate();

Man kann dann auf die angezeigten Punkte auf der Karte klicken und die Daten werden aus der Overpass Api bzw. der arzt.xapi angezeigt:

//Beginn Popuhandling
	var selectControl;
	var selectedFeature;
	function onPopupClose(evt) {
    selectControl.unselect(selectedFeature);
}
	function onFeatureSelect(feature) {
    selectedFeature = feature;
    var tags = feature.attributes;
    var infoHtml = "<table>";
    for (var key in tags) {
       infoHtml += "<tr><td>" + key + "</td><td>" + tags[key] + "</td></tr>";
    }
    infoHtml += "</table>";
    popup = new OpenLayers.Popup.FramedCloud("chicken", 
                             feature.geometry.getBounds().getCenterLonLat(),
                             null,
                             infoHtml,
                             null, true, onPopupClose);
    feature.popup = popup;
    map.addPopup(popup);
}
	function onFeatureUnselect(feature) {
    map.removePopup(feature.popup);
    feature.popup.destroy();
    feature.popup = null;
}
 //Ende Popuphandling

Kann ich die Größe des Popups beeinflußen, im speziellen die Breite?