if(GBrowserIsCompatible())
{

	var point = new Array();
	var nCnt = 0;
	var gmarker = new Array();
	var htmls = new Array();

/* ----- 初期設定 ----- */
//マーカー表示の座標設定▼
	//マーカー座標指定(星のあかり)
	point[0] = new GLatLng(37.090026,140.016012);
	//マーカー座標指定(那須ハイランドパーク)
	point[1] = new GLatLng(37.064013,139.964785);
	//マーカー座標指定(那須サファリパーク)
	point[2] = new GLatLng(37.059024,140.005842);
	//マーカー座標指定(南ヶ丘牧場)
	point[3] = new GLatLng(37.078779,140.000694);
	//マーカー座標指定(Mｔ.ジーンズスキーリゾート)
	point[4] = new GLatLng(37.126587,140.014615);
	//マーカー座標指定(那須ハイランドゴルフクラブ)
	point[5] = new GLatLng(37.071889,139.942807);
	//マーカー座標指定(乙女の滝)
	point[6] = new GLatLng(37.066934,139.937612);
	//マーカー座標指定(沼原湿原)
	point[7] = new GLatLng(37.108974,139.926075);
	//マーカー座標指定(りんどう湖ファミリー牧場)
	point[8] = new GLatLng(37.045773,140.046072);
	//マーカー座標指定(那須どうぶつ王国)
	point[9] = new GLatLng(37.128862,140.037049);
	//マーカー座標指定(那須ワールドモンキーパーク)
	point[10] = new GLatLng(37.035289,140.048344);
	//マーカー座標指定(那須テディベアミュージアム)
	point[11] = new GLatLng(37.049012,140.038991);
	//マーカー座標指定(殺生石)
	point[12] = new GLatLng(37.101686,139.998559);
	//マーカー座標指定(那須温泉ファミリースキー場)
	point[13] = new GLatLng(37.11875,139.984118);
	//マーカー座標指定(那須とりっくあーとぴあ)
	point[14] = new GLatLng(37.031382,140.035901);
	//マーカー座標指定(那須高原 チーズガーデン)
	point[15] = new GLatLng(37.029094,140.023051);

//マーカー表示の座標設定▲

//マーカー表示のHTML▼
	//HTML文を指定する(星のあかり)
	htmls[0] = '<p><img src="images/img_logo.gif"></p><p style=" font-size: 12px; text-align: left;">〒325-0301<br>栃木県那須町湯本206-1120<br>TEL : 0288-53-6050（予約）</p>';
	//HTML文を指定する(那須ハイランドパーク)
	htmls[1] = '<img src="images/img_01.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須ハイランドパーク</p><p style=" font-size: 12px; text-align: left;">〒325-0398<br>栃木県那須郡那須町高久乙3375<br>TEL : 0287-78-1150</p>';
	//HTML文を指定する(那須サファリパーク)
	htmls[2] = '<img src="images/img_02.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須サファリパーク</p><p style=" font-size: 12px; text-align: left;">〒325-0303<br>栃木県那須郡那須町高久乙3523<br>TEL : 0287竏驤78竏驤0838</p>';
	//HTML文を指定する(南ヶ丘牧場)
	htmls[3] = '<img src="images/img_03.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">南ヶ丘牧場</p><p style=" font-size: 12px; text-align: left;">〒325-0393<br>栃木県那須郡那須町湯本579<br>TEL : 0287竏驤76竏驤2150</p>';
	//HTML文を指定する(Mｔ.ジーンズスキーリゾート)
	htmls[4] = '<img src="images/img_04.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">Mｔ.ジーンズスキーリゾート</p><p style=" font-size: 12px; text-align: left;">〒329-3223<br>栃木県那須郡那須町大字大島<br>マウントジーンズ・スキーリゾート那須<br>TEL : 0287-77-2300</p>';
	//HTML文を指定する(那須ハイランドゴルフクラブ)
	htmls[5] = '<img src="images/img_05.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須ハイランドゴルフクラブ</p><p style=" font-size: 12px; text-align: left;">〒325-0111<br>栃木県那須塩原市板室字新沢名道703-2<br>TEL : 0287-69-1007</p>';
	//HTML文を指定する(乙女の滝)
	htmls[6] = '<img src="images/img_06.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">乙女の滝</p><p style=" font-size: 12px; text-align: left;">栃木県那須塩原市板室781<br>TEL : 0287-62-7155(黒磯観光協会)</p>';
	//HTML文を指定する(沼原湿原)
	htmls[7] = '<img src="images/img_07.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">沼原湿原</p><p style=" font-size: 12px; text-align: left;">TEL : 0287-62-7155(黒磯観光協会)</p>';
	//HTML文を指定する(りんどう湖ファミリー牧場)
	htmls[8] = '<img src="images/img_08.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">りんどう湖ファミリー牧場</p><p style=" font-size: 12px; text-align: left;">〒325-0397<br>栃木県那須郡那須町高久丙414-2<br>TEL : 0287-76-3111</p>';
	//HTML文を指定する(那須どうぶつ王国)
	htmls[9] = '<img src="images/img_09.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須どうぶつ王国</p><p style=" font-size: 12px; text-align: left;">〒329-3223<br>栃木県那須郡那須町大字大島1042-1<br>TEL : 0287-77-1110</p>';
	//HTML文を指定する(那須ワールドモンキーパーク)
	htmls[10] = '<img src="images/img_10.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須ワールドモンキーパーク</p><p style=" font-size: 12px; text-align: left;">〒325-0001<br>栃木県那須郡那須町高久甲6146<br>TEL : 0287-63-8855</p>';
	//HTML文を指定する(那須テディベアミュージアム)
	htmls[11] = '<img src="images/img_11.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須テディベアミュージアム</p><p style=" font-size: 12px; text-align: left;">〒325-0302<br>栃木県那須郡那須町高久丙1185-4<br>TEL : 0287-76-1711</p>';
	//HTML文を指定する(殺生石)
	htmls[12] = '<img src="images/img_12.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">殺生石</p><p style=" font-size: 12px; text-align: left;">〒325-0301<br>栃木県那須郡那須町湯本<br>TEL : 0287-76-2619(那須観光協会 )</p>';
	//HTML文を指定する(那須温泉ファミリースキー場)
	htmls[13] = '<img src="images/img_13.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須温泉ファミリースキー場</p><p style=" font-size: 12px; text-align: left;">栃木県那須郡那須町那須岳国有林内<br>TEL : 0287－76－2567</p>';
	//HTML文を指定する(那須とりっくあーとぴあ)
	htmls[14] = '<img src="images/img_14.jpg" width="94" height="82" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">那須とりっくあーとぴあ</p><p style=" font-size: 12px; text-align: left;">栃木県那須郡那須町大字高久甲上ノ台5760<br>TEL:0287－62－8388</p>';
	//HTML文を指定する(那須高原 チーズガーデン)
	htmls[15] = '<p style=" font-size: 14px;">那須高原 チーズガーデン</p><p style=" font-size: 12px; text-align: left;">栃木県那須郡那須町高久甲喰木原2888<br>TEL:0287-64-4848</p>';

//マーカー表示のHTML▲

/* マーカー表示 */
	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.enableDoubleClickZoom();
	map.enableContinuousZoom(); 
	map.setCenter(new GLatLng(37.064013,139.964785), 13);
	//拡大縮小のスクロール

	map.openInfoWindowHtml(new GLatLng(37.090026,140.016012),'<p><img src="images/img_logo.gif"></p><p style=" font-size: 12px; text-align: left;">〒325-0301<br>栃木県那須町湯本206-1120<br>TEL : 0288-53-6050（予約）</p>');

	var nDataNum = point.length;
	for(nCnt=0;nCnt<nDataNum;nCnt++)
	{
		var marker = createMarker(point[nCnt],htmls[nCnt]);
		gmarker[nCnt] = marker;
		map.addOverlay(marker);
	}
}
