function wheelevent(e) {
	if (!e)
		e = window.event
	if (e.preventDefault)
		e.preventDefault()
		
	e.returnValue = false;
}

function initialize() {	var map = null;    var geocoder = null;    var startzoom = 14; 	
	if (!GBrowserIsCompatible()) return;
	if (document.getElementById("map_address")) {		var address = document.getElementById("map_address").value;
		var addresshtml = document.getElementById("map_addresshtml").value;		var map = new GMap2(document.getElementById("map_canvas"));
		geocoder = new GClientGeocoder();			// add controls		showAddress(address, startzoom);					function showAddress(address, zoomvalue) {					geocoder.getLatLng(				address,				function(point) {					if (!point) {						alert(address + " nicht gefunden");					} else {						map.setCenter(point, zoomvalue);						var marker=new GMarker(point);
						GEvent.addListener(marker, "click", function() {
							marker.openInfoWindowHtml(addresshtml);
						});

						map.addOverlay(marker);
						
						map.addControl(new GSmallMapControl());
						map.addControl(new GMapTypeControl());
						
						map.enableScrollWheelZoom();
						GEvent.addDomListener(map.getContainer(), "DOMMouseScroll", wheelevent);
						map.getContainer().onmousewheel = wheelevent;					}				}			);		}
	}
	
	//marker.openInfoWindowHtml(address);
}
