
    google.load("maps", "2.x");

	function initialize( x1, y1, html )
	{
		var baseIcon = new GIcon();
		baseIcon.iconSize = new GSize(55, 52);
		baseIcon.shadowSize = new GSize(55, 52);
		baseIcon.iconAnchor = new GPoint(17, 10);
		baseIcon.infoWindowAnchor = new GPoint(0, 0);
		baseIcon.infoShadowAnchor = new GPoint(0, 0);

		var letteredIcon = new GIcon(baseIcon);
  		letteredIcon.image = "wohn/img/map-marker.png";
  		
  		//markerOptions = { icon:letteredIcon };
  		markerOptions = {};
  		
    	var map = new google.maps.Map2(document.getElementById("map"));
    	var point = new GLatLng(x1, y1);
		map.setCenter(point, 15);
		map.setMapType(G_NORMAL_MAP);
		map.addControl(new GSmallMapControl());
    	map.addControl(new GMapTypeControl());

    	marker = new GMarker(point);
    	
    	map.addOverlay( marker );
        map.openInfoWindowHtml(point, html, { pixelOffset:new GSize(5,0)});
  }
//  google.setOnLoadCallback(initialize);
