<!--
  //<![CDATA[

	// Create our "tiny" marker icon
	var icon = new GIcon();
	icon.image = "http://losangeles.vivinavi.com/JA/tg/images/ico_mark.gif";
	icon.iconSize = new GSize(40, 37);
	icon.shadowSize = new GSize(22, 20);
	icon.iconAnchor = new GPoint(6, 20);
	icon.infoWindowAnchor = new GPoint(5, 1);


	function load(address, txt, la, ln){
		if( GBrowserIsCompatible()){
			var map   = new GMap2(document.getElementById( "map" ));
			var geocoder = new GClientGeocoder();
			map.addControl( new GSmallMapControl());
			map.addControl( new GMapTypeControl());
			map.addControl( new GOverviewMapControl());

			if(la) {
				var point = new GLatLng(la,ln);
				map.setCenter(point, 13);
				var marker = new GMarker(point, icon);

				var infoTabs = [
					new GInfoWindowTab( "住所", txt )
				];

				GEvent.addListener( marker, "click", function(){
					marker.openInfoWindowTabsHtml( infoTabs );
				});

				map.addOverlay(marker);
				marker.openInfoWindowTabsHtml( infoTabs );

			} else {
				geocoder.getLatLng(
					address,
					function(point){
						if(!point){
							alert( address + " not found" );
						} else {
							map.setCenter( point, 13 );
							var marker = new GMarker( point, icon );

							var infoTabs = [
								new GInfoWindowTab( "住所", txt )
							];

							GEvent.addListener( marker, "click", function(){
								marker.openInfoWindowTabsHtml( infoTabs );
							});

							map.addOverlay( marker );
							marker.openInfoWindowTabsHtml( infoTabs );
						}
					}
				);
			}
		}
	}

    //]]>
//-->