if(GBrowserIsCompatible())
{
var point = new Array();
var nCnt = 0;
var gmarker = new Array();
var htmls = new Array();
point[0] = new GLatLng(34.575362,136.535388); htmls[0] = '<img src="../gurume/images/logo.gif" width="215" height="55"><p style="font-size:12px; margin-top:5px;">〒515-0017　三重県松阪市京町516-1<br style="clear:both;" />http://www.kuretake-inn.com/mtsk</p>';
point[1] = new GLatLng(34.575304,136.532848); htmls[1] = 'おおむら　<a href="index.htm#g_1">レストラン詳細</a>';
point[2] = new GLatLng(34.572488,136.535734); htmls[2] = '鳴門寿司　<a href="index.htm#g_2">レストラン詳細</a>';
point[3] = new GLatLng(34.574134,136.537668); htmls[3] = '肉道楽　西むら　<a href="index.htm#g_3">レストラン詳細</a>';
point[4] = new GLatLng(34.575525,136.533918); htmls[4] = '味珍　<a href="index.htm#g_4">レストラン詳細</a>';
point[5] = new GLatLng(34.575072,136.534967); htmls[5] = '竹の子　<a href="index.htm#g_5">レストラン詳細</a>';
point[6] = new GLatLng(34.575715,136.530501); htmls[6] = '茂とん　<a href="index.htm#g_6">レストラン詳細</a>';
point[7] = new GLatLng(34.573939,136.53735); htmls[7] = 'やきとり　山崎　<a href="index.htm#g_7">レストラン詳細</a>';
point[8] = new GLatLng(34.57653,136.534575); htmls[8] = '牛肉弁当　あら竹　<a href="index.htm#g_8">レストラン詳細</a>';
point[9] = new GLatLng(34.577192,136.532276); htmls[9] = '三松　<a href="index.htm#g_9">レストラン詳細</a>';
point[10] = new GLatLng(34.577285,136.531064); htmls[10] = '和田金　<a href="index.htm#g_10">レストラン詳細</a>';
point[11] = new GLatLng(34.57916,136.5284); htmls[11] = '牛銀本店　<a href="index.htm#g_11">レストラン詳細</a>';
point[12] = new GLatLng(34.572731,136.53638); htmls[12] = '千力（せんりき）　<a href="index.htm#g_12">レストラン詳細</a>';
point[13] = new GLatLng(34.570313,136.534427); htmls[13] = '脇田屋　<a href="index.htm#g_13">レストラン詳細</a>';
point[14] = new GLatLng(34.576974,136.53174); htmls[14] = '中華そば不二屋　<a href="index.htm#g_14">レストラン詳細</a>';
point[15] = new GLatLng(34.569988,136.53645); htmls[15] = '武蔵野　<a href="index.htm#g_15">レストラン詳細</a>';
point[16] = new GLatLng(34.57458,136.525351); htmls[16] = '本居庵　<a href="index.htm#g_16">レストラン詳細</a>';
point[17] = new GLatLng(34.570805,136.535903); htmls[17] = '赤玉寿司　<a href="index.htm#g_17">レストラン詳細</a>';
point[18] = new GLatLng(34.569895,136.537169); htmls[18] = '松風　<a href="index.htm#g_18">レストラン詳細</a>';
//point[19] = new GLatLng(); htmls[19] = '';
point[20] = new GLatLng(34.574933,136.535004); htmls[20] = 'スプレッド　<a href="index.htm#g_20">レストラン詳細</a>';
function createMarker(point,htmlData)
{
var iconSet = new GIcon();
iconSet.image            = "mapimage/"+ nCnt +".png"; //アイコン画像パス
iconSet.shadow           = "mapimage/shadow.png"; //影画像パス
iconSet.iconSize         = new GSize(21, 34); //アイコンサイズ
iconSet.shadowSize       = new GSize(39, 34); //影サイズ
iconSet.iconAnchor       = new GPoint(10, 34); //アイコンの表示開始位置（0,0）は左上角から
iconSet.infoWindowAnchor = new GPoint(15, 20); //情報ウィンドウの表示開始位置
iconSet.infoShadowAnchor = new GPoint(15, 20); //情報ウィンドウの影の表示開始位置
var marker = new GMarker(point,iconSet);
GEvent.addListener(marker, 'click', function(){
marker.openInfoWindowHtml(htmlData);
});
return marker;
}
function myclick(HtmlCnt) {
gmarker[HtmlCnt].openInfoWindowHtml(htmls[HtmlCnt]);
}
var map = new GMap2(document.getElementById("map"));
//操作バー（左）
map.addControl(new GLargeMapControl());
//表示切替（上）
//map.addControl(new GMapTypeControl());
//ダブルクリックズーム＆スムージング
map.enableContinuousZoom();
//初期表示の画面の中心座標
map.setCenter(new GLatLng(34.575362,136.535388), 17);
//初期フキダシ表示内容
map.openInfoWindowHtml(new GLatLng(34.575362,136.535388),'<img src="../gurume/images/logo.gif" width="215" height="55"><p style="font-size:12px; margin-top:5px;">〒515-0017　三重県松阪市京町516-1<br style="clear:both;" />http://www.kuretake-inn.com/mtsk</p>');
var nDataNum = point.length;
for(nCnt=0;nCnt<nDataNum;nCnt++)
{
var marker = createMarker(point[nCnt],htmls[nCnt]);
gmarker[nCnt] = marker;
map.addOverlay(marker);
}
}

