if(GBrowserIsCompatible())
{
var point = new Array();
var nCnt = 0;
var gmarker = new Array();
var htmls = new Array();
point[0] = new GLatLng(33.541238, 129.894209); htmls[0] = '<div class="pop01"><img src="../sightseeing/images/logo.gif" alt="旅館金丸" width="85px" height="35px" /></div><p>〒847-0303 佐賀県唐津市呼子町呼子3068<br>TEL:0955-82-3921(代) IP-TEL:050-3538-9102<br>FAX:0955-82-3923</p>';

point[1] = new GLatLng(33.538117,129.895155); htmls[1] = '<div class="pop"><img src="images/spot_img01.jpg" alt="呼子朝市" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>呼子朝市</h4><p>唐津市呼子町呼子朝市通り<br />(朝7:30～11:00頃/年中/休:元旦)</p><a href="#kankou1"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[2] = new GLatLng(33.538122,129.893873); htmls[2] = '<div class="pop"><img src="images/spot_img03.jpg" alt="海中展望船 七ツ釜遊覧船" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>海中展望船 七ツ釜遊覧船</h4><p>唐津市呼子町呼子<br />TEL：0955-82-3001</p><a href="#kankou1"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[3] = new GLatLng(33.543398,129.880714); htmls[3] = '<div class="pop"><img src="images/spot_img02.jpg" alt="呼子大橋" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>呼子大橋</h4><p>唐津市呼子町殿ノ浦</p><a href="#kankou2"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[4] = new GLatLng(33.54937, 129.881615); htmls[4] = '<div class="pop"><img src="images/spot_img06.jpg" alt="風の見える丘公園" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>風の見える丘公園</h4><p>唐津市呼子町加部島3279-1<br />TEL:0955-82-5159</p><a href="#kankou2"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[5] = new GLatLng(33.555833, 129.8905); htmls[5] = '<div class="pop"><img src="images/spot_img12.jpg" alt="田島神社" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>田島神社</h4><p>佐賀県唐津市呼子町加部島3956<br />TEL:0955-82-3347</p><a href="#kankou3"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[6] = new GLatLng(33.544873,129.904093); htmls[6] = '<div class="pop"><img src="images/spot_img05.jpg" alt="キャランコビーチ（小友浜海水浴場）" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>キャランコビーチ（小友浜海水浴場）</h4><a href="#kankou3"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[7] = new GLatLng(33.528527, 129.873019); htmls[7] = '<div class="pop"><img src="images/spot_img07.jpg" alt="道の駅 桃山天下市" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>道の駅 桃山天下市</h4><p>〒847-0401 佐賀県唐津市鎮西町名護屋1859<br />TEL:0955-51-1051</p><a href="#kankou4"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[8] = new GLatLng(33.529912,129.869342); htmls[8] = '<div class="pop"><img src="images/spot_img08.jpg" alt="名護屋城跡" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>名護屋城跡</h4><p>鎮西町名護屋<br />TEL:TEL 0955-82-5774</p><a href="#kankou4"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[9] = new GLatLng(33.527139,129.87005); htmls[9] = '<div class="pop"><img src="images/spot_img09.jpg" alt="名護屋城博物館" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>名護屋城博物館</h4><p>鎮西町名護屋<br />TEL:0955-82-4905</p><a href="#kankou5"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[10] = new GLatLng(33.52976,129.866638); htmls[10] = '<div class="pop"><img src="images/spot_img10.jpg" alt="茶苑<海月>" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>茶苑<海月></h4><p>鎮西町名護屋<br />TEL:0955-82-4384</p><a href="#kankou5"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[11] = new GLatLng(33.555719,129.846275); htmls[11] = '<div class="pop"><img src="images/spot_img11.jpg" alt="波戸岬" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>波戸岬</h4><p>佐賀県唐津市鎮西町波戸</p><a href="#kankou6"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

point[12] = new GLatLng(33.514618, 129.842399); htmls[12] = '<div class="pop"><img src="images/spot_img04.jpg" alt="エネルギーパーク" width="110" height="90" class="spot" /><div class="popuptext_sightseeing"><h4>エネルギーパーク</h4><p>東松浦郡玄海町大字今村字浅湖4112-1<br />TEL:0955-52-6409</p><a href="#kankou6"><img class="btn_info" src="../buttons/b_syosai.gif" alt="詳細" width="60" height="20" border="0"></a></div></div>';

//point[12] = new GLatLng(); htmls[12] = '';
//point[13] = new GLatLng(); htmls[13] = '';
//point[14] = new GLatLng(); htmls[14] = '';
//point[15] = new GLatLng(); htmls[15] = '';
//point[16] = new GLatLng(); htmls[16] = '';
//point[17] = new GLatLng(); htmls[17] = '';
//point[18] = new GLatLng(); htmls[18] = '';
//point[19] = new GLatLng(); htmls[19] = '';
//point[20] = new GLatLng(); htmls[20] = '';
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(33.541238, 129.894209), 13);
//初期フキダシ表示内容
map.openInfoWindowHtml(new GLatLng(33.541238, 129.894209),'<div class="pop01"><img src="../sightseeing/images/logo.gif" alt="旅館金丸" width="85px" height="35px" /></div><p>〒847-0303 佐賀県唐津市呼子町呼子3068<br>TEL:0955-82-3921(代) IP-TEL:050-3538-9102<br>FAX:0955-82-3923</p>');
var nDataNum = point.length;
for(nCnt=0;nCnt<nDataNum;nCnt++)
{
var marker = createMarker(point[nCnt],htmls[nCnt]);
gmarker[nCnt] = marker;
map.addOverlay(marker);
}
}
