    //<![CDATA[

    var map;
    var marker_list=[];
    var txt_list=[];
    var marker_index=0;

    function load() {
      if (GBrowserIsCompatible()) {

        //地図を作成
        map = new GMap2(document.getElementById("stmp_gmap"));
        map.setCenter(new GLatLng(33.438614, 130.030151), 14);
		
		//マップコントローラを付ける
		map.addControl(new GMapTypeControl());
		map.addControl(new GLargeMapControl());
		
		
		//小さい地図を作成
        map2=new GOverviewMapControl(new GSize(80,80));
        map.addControl(map2);
		

		
		
        //しだれ梅
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>しだれ梅</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/shidareume.jpg'/></p><p><a href='#stamp01'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.435493, 130.04471),txt);
		
		//有須田家
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>有須田家</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.435493, 130.04471),txt);
		
		//川崎家
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>川崎家</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.425666, 130.054835),txt);
		
		//佐々木家（山田）
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>佐々木家（山田）</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.424775, 130.042849),txt);
		
		//佐々木家（瀬戸）
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>佐々木家（瀬戸）</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.419138, 130.047666),txt);
		
		//ベゴニア園
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>ぽんぽこ村ベゴニア園</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/ponpoko.jpg'/></p><p>佐賀県唐津市浜玉町大字浜崎鏡山中腹</p><p><a href='#stamp06'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.434206, 130.023068),txt);
		
		//ブーゲンの森
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>ブーゲンの森</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/bu-gen.jpg'/></p><p>佐賀県唐津市浜玉町横田下542-6</p><p><a href='#stamp07'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.431935, 130.035943),txt);
		
		//おさかな村
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>おさかな村</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/osakanamura.jpg'/></p><p>佐賀県唐津市浜玉町浜崎1922</p><p><a href='#stamp08'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.438614, 130.030151),txt);
		
		//味楽亭　島田
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>味楽亭　島田</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p><p>佐賀県唐津市浜玉町横田下867-3</p><p><a href='#stamp09'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.437259, 130.037862),txt);
		
		//創作ぐるめ　しろやま
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>創作ぐるめ　しろやま</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p><p>佐賀県唐津市浜玉町横田上608-9</p><p><a href='#stamp10'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.43147, 130.044965),txt);
		
		//いろり　姫小路
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>いろり　姫小路</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p><p>佐賀県唐津市浜玉町横田下542-6</p><p><a href='#stamp11'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.431935, 130.035943),txt);
		
		//キッチン　みのり
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>キッチン　みのり</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p><p>佐賀県唐津市浜玉町浜崎1922</p><p><a href='#stamp12'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.438125, 130.030033),txt);
		
		//オレンジハウス
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>オレンジハウス</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p><p>佐賀県唐津市浜玉町東山田2086-1</p><p><a href='#stamp13'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.42969, 130.051971),txt);
		
		//野田元湯
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>野田元湯</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p><p>佐賀県唐津市浜玉町東山田2101-1</p><p><a href='#stamp14'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.429997, 130.051019),txt);
		
		//鏡山温泉
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>鏡山温泉</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/kagamiyamaonsen.jpg'/></p><p>佐賀県唐津市鏡4733</p><p><a href='#stamp15'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.436822, 130.01736),txt);
		
		//魚半旅館
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>魚半旅館</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/gyohan.jpg'/></p><p>佐賀県唐津市浜玉町浜崎1669-55</p><p><a href='#stamp16'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.450915, 130.037091),txt);
		
		//汐湯旅館
        var txt="<div style='width:200px;'><h3 class='cou_syotitle' style='margin-bottom: 5px;'>汐湯旅館</h3><p class='cou_syoimg' style='margin-right:5px;'><img src='img/stamp_rally/th/no.jpg'/></p><p>佐賀県唐津市浜玉町浜崎1613</p><p><a href='#stamp17'>≫詳細を見る</a></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.452395, 130.039182),txt);
		
		

      }
    }
    function addMarker(latlng,txt){
        //マーカーを作成
        var marker = new GMarker(latlng);
        marker.title=marker_index;   //ここで設定した「title属性」が
        
        GEvent.addListener(marker, "click", function() {
            clickMarker(marker.title);   //ここで表示される(マーカの「title属性」に表示する文字を記憶させる)
        });
        
        //マーカーのコンストラクタを配列に記憶
        marker_list.push(marker);
        marker_index++;
        
        //マーカーを地図上に配置
        map.addOverlay(marker);

    }
    function clickMarker(index){
        //吹き出しを表示する
        marker_list[index].openInfoWindowHtml(txt_list[index]);
    }
    //]]>


onload   = load;
onunload = GUnload;
