function load()
{
	map = new GMap2(document.getElementById("map"),{ size: new GSize(464,350) } );
	
	map.setMapType(G_PHYSICAL_MAP);
	map.addControl(new GSmallMapControl());
	
	//map.removeMapType(G_HYBRID_MAP);
	//map.removeMapType(G_SATELLITE_MAP);
	
	//map.addMapType(G_NORMAL_MAP);
	//map.addMapType(G_PHYSICAL_MAP);
	
	//map.addControl(new GMapTypeControl());
	
	geocoder = new GClientGeocoder();
	
	geocoder.getLocations(address, addToMap);
}

function addToMap(response)
{
	place = response.Placemark[0];
	
	point = new GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
	
	map.setCenter(point, 10);
	
	var blueIcon = new GIcon(G_DEFAULT_ICON);
        blueIcon.image = "http://www.geomix.at/images/maps/icon.png";
		
		// Set up our GMarkerOptions object
		markerOptions = { icon:blueIcon };
	
	marker = new GMarker(point, markerOptions);
	
	map.addOverlay(marker);
	
	marker.openInfoWindowHtml('<span style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 100%; color: #71b015;"><strong>' + zip + ' ' + city + '</strong></span><br /><br /><span style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 80%; color: #434343; line-height: 15px;"><strong>Bezirk:</strong> ' + bezirk + '<br /><strong>Bundesland:</strong> ' + state + '</span>');
}