
    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 = "data/img/map-marker.png";

  		markerOptions = { icon:letteredIcon };

    	var map = new google.maps.Map2(document.getElementById("map-1"));
    	var point = new GLatLng(x1, y1);
		map.setCenter(point, 16);
		map.setMapType(G_NORMAL_MAP);
		map.addControl(new GSmallMapControl());
    	map.addControl(new GMapTypeControl());

    	marker = new GMarker(point, markerOptions);
    	GEvent.addListener(marker, "click",
						   function()
		                   {
		                       var html = 'test';
		                       marker.openInfoWindowHtml(html);
		                   }
					               );
    	map.addOverlay( marker );
        map.openInfoWindowHtml(point, html, { pixelOffset:new GSize(5,0)});
  }
//  google.setOnLoadCallback(initialize);