function demoMap(label1, street){
	street1 = street;
	Shadowbox.open({
		player: 'html',
		content: '',
		title: label1, 
		height: 480,
		width: 600,
		options: {
			onFinish: function(item){
				if(GBrowserIsCompatible()){
					map = new GMap2(document.getElementById('shadowbox_content'));
					geocoder = new GClientGeocoder();
					geocoder.getLocations(street1, addAddressToMap);
					map.addControl(new GSmallMapControl());
					map.addControl(new GMapTypeControl());
				}
			}
		}
	});
};

function addAddressToMap(response) {
  map.clearOverlays();
  if (!response || response.Status.code != 200) {
	alert("Sry, die Adresse wurde nicht gefunden");
  } else {
	place = response.Placemark[0];
	point = new GLatLng(place.Point.coordinates[1],
						place.Point.coordinates[0]);
	marker = new GMarker(point);
	map.setCenter(point, 13);
	map.addOverlay(new GMarker(point));
  }
}

