﻿<!--
function openmaps(){
	//<![CDATA[
       var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(lat, lon), scale);
 	//所在地の座標設定 
	map.addControl(new GSmallMapControl());
   map.enableScrollWheelZoom();
	var baseIcon = new GIcon();
	baseIcon.shadow = 'http://www.google.com/mapfiles/shadow50.png';
	baseIcon.iconSize = new GSize(20, 34);
	baseIcon.shadowSize = new GSize(37, 34);
	baseIcon.iconAnchor = new GPoint(9, 34);
	baseIcon.infoWindowAnchor = new GPoint(9, 2);
	baseIcon.infoShadowAnchor = new GPoint(18, 25);
	
	var icon = new GIcon(baseIcon);
	icon.image = 'http://www.google.com/mapfiles/marker.png';

	//所在地を表示する
	var toiro = new GLatLng(33.549890,133.545461);
	var toiro_marker = new GMarker(toiro,icon);
	map.addOverlay(toiro_marker);
		toiro_marker.openInfoWindowHtml('<h3 style="text-align:center">住人十彩</h3><h3>高知県高知市百石町2丁目1－1</h3><h3>Tel 088-855-4130</h3>');
	GEvent.addListener(toiro_marker, "click", function() {
		toiro_marker.openInfoWindowHtml('<h3 style="text-align:center">住人十彩</h3><h3>高知県高知市百石町2丁目1－1</h3><h3>Tel 088-855-4130</h3>');
	});
}
// -->