    //<![CDATA[

    var map;
    var marker_list=[];
    var txt_list=[];
    var marker_index=0;

    function load() {
      if (GBrowserIsCompatible()) {		
	  

        //地図を作成
        map = new GMap2(document.getElementById("fruit_gmap"));
        map.setCenter(new GLatLng(33.442943, 129.969342), 12);
		
		//スモールコントローラー
		map.addControl(new GSmallMapControl());

		
		
		//伊万里新幸農園
        var txt="<div><p style='font-size: 14px; text-align: center;'><strong>伊万里新幸農園</strong></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.273712, 129.932666),txt);
		
		//横田上観光ぶどう園
        var txt="<div><p style='font-size: 14px; text-align: center;'><strong>横田上観光ぶどう園</strong></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.441387, 130.043541),txt);
		
		//一の里りんご園
        var txt="<div><p style='font-size: 14px; text-align: center;'><strong>一の里りんご園</strong></p></div>";
        txt_list.push(txt);
        addMarker(new GLatLng(33.407376, 130.080906),txt);
		
		//稲毛りんご園
        //var txt="<div><p style='font-size: 14px; text-align: center;'><strong>稲毛りんご園</strong></p></div>";
        //txt_list.push(txt);
        //addMarker(new GLatLng(33.407376, 130.080906),txt);
		
		//森木りんご園
        //var txt="<div><p style='font-size: 14px; text-align: center;'><strong>森木りんご園</strong></p></div>";
        //txt_list.push(txt);
        //addMarker(new GLatLng(33.407376, 130.080906),txt);
		
		//秀紅園
        //var txt="<div><p style='font-size: 14px; text-align: center;'><strong>秀紅園</strong></p></div>";
        //txt_list.push(txt);
        //addMarker(new GLatLng(33.407376, 130.080906),txt);
		
		//筒井りんご園
        //var txt="<div><p style='font-size: 14px; text-align: center;'><strong>筒井りんご園</strong></p></div>";
        //txt_list.push(txt);
        //addMarker(new GLatLng(33.407376, 130.080906),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;
