if(GBrowserIsCompatible())
{

	var point = new Array();
	var nCnt = 0;
	var gmarker = new Array();
	var htmls = new Array();

/* ----- 初期設定 ----- */
//マーカー表示の座標設定▼
	//マーカー座標指定(ペンションユミィ)
	point[0] = new GLatLng(36.764192,139.616865);
	//マーカー座標指定(日光東照宮)
	point[1] = new GLatLng(36.758003,139.59898);
	//マーカー座標指定(華厳滝)
	point[2] = new GLatLng(36.737956,139.502292);
	//マーカー座標指定(いろは坂)
	point[3] = new GLatLng(36.74516,139.513664);
	//マーカー座標指定(江戸ワンダーランド 日光江戸村)
	point[4] = new GLatLng(36.792378,139.696398);
	//マーカー座標指定(日光猿軍団)
	point[5] = new GLatLng(36.782993,139.70217);
	//マーカー座標指定(東武ワールドスクウェア)
	point[6] = new GLatLng(36.807799,139.711515);
	//マーカー座標指定(グラススタジオ　ポンテ)
	point[7] = new GLatLng(36.775532,139.613306);
	//マーカー座標指定(日光霧降高原チロリン村)
	point[8] = new GLatLng(36.784005,139.612214);
	//マーカー座標指定(創作工房　さいか)
	point[9] = new GLatLng(36.75643,139.619354);
	//マーカー座標指定(そば打ち処　きりふり（ニュー霧降高原キャンプ場内）)
	point[10] = new GLatLng(36.787532,139.610127);
	//マーカー座標指定(日光乗馬クラブ)
	point[11] = new GLatLng(36.75876,139.614065);
	//マーカー座標指定(日光木彫の里　工芸センター)
	point[12] = new GLatLng(36.757685,139.614805);
	//マーカー座標指定(うるし博物館)
	point[13] = new GLatLng(36.756215,139.615666);
	//マーカー座標指定(大笹牧場)
	point[14] = new GLatLng(36.8407,139.612474);

//マーカー表示の座標設定▲

//マーカー表示のHTML▼
	//HTML文を指定する(ペンションユミィ)
	htmls[0] = '<div style="height:90px; width:135px; float:left; padding-top:15px;"><img src="images/qslogo.gif" width="120" height="83" style="float: left;"></div><p style=" font-size: 10px; margin: 0;">ペンション</p><p style=" font-size: 14px;">アニマーレin日光</p><p style=" font-size: 12px; text-align: left;">〒321-1421<br>栃木県日光市所野1541-432<br>TEL : 0288-54-1717</p>';
	//HTML文を指定する(日光東照宮)
	htmls[1] = '<img src="images/sig_img_01.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">日光東照宮</p><p style=" font-size: 12px; text-align: left;">栃木県日光市山内2301<br />TEL：0288-54-0560</p><a href="#d_01"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.toshogu.jp/" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(華厳滝)
	htmls[2] = '<img src="images/sig_img_02.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">華厳滝</p><p style=" font-size: 12px; text-align: left;">栃木県日光市中宮祠<br />TEL：0288-54-2496</p><a href="#d_02"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.nikko-jp.org/perfect/chuzenji/kegonnotaki.html"  target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(いろは坂)
	htmls[3] = '<img src="images/sig_img_06.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">いろは坂</p><p style=" font-size: 12px; text-align: left;">上り（昇り・第二いろは坂・中禅寺湖方面）<br />下り（降り・第一いろは坂・日光市街方面）</p><a href="#d_03"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.nikko-jp.org/perfect/chuzenji/irohazaka.html" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(江戸ワンダーランド 日光江戸村)
	htmls[4] = '<img src="images/sig_img_03.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">江戸ワンダーランド 日光江戸村</p><p style=" font-size: 12px; text-align: left;">栃木県日光市柄倉470-2<br />TEL：0288-77-1777</p><a href="#d_04"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.edowonderland.net/nikko/index.html" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(日光猿軍団)
	htmls[5] = '<img src="images/sig_img_04.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">日光猿軍団</p><p style=" font-size: 12px; text-align: left;">栃木県日光市柄倉763<br />TEL：0288-76-8259</p><a href="#d_05"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.nikkosarugundan.com/index.html" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(東武ワールドスクウェア)
	htmls[6] = '<img src="images/sig_img_05.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">東武ワールドスクウェア</p><p style=" font-size: 12px; text-align: left;">栃木県日光市鬼怒川温泉大原209-1<br />TEL：0288-77-1055</p><a href="#d_06"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.tobuws.co.jp/" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(グラススタジオ　ポンテ)
	htmls[7] = '<img src="images/sig_img_07.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">グラススタジオ　ポンテ</p><p style=" font-size: 12px; text-align: left;">栃木県日光市霧降1541-1499<br />TEL：0288-54-1688</p><a href="#d_07"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://punty.jp/" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(日光霧降高原チロリン村)
	htmls[8] = '<img src="images/sig_img_08.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">日光霧降高原チロリン村</p><p style=" font-size: 12px; text-align: left;">栃木県日光市霧降1535-4<br />TEL：0288-54-3355</p><a href="#d_08"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://chirorin.dohome.net/" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(創作工房　さいか)
	htmls[9] = '<img src="images/sig_img_09.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">創作工房　さいか</p><p style=" font-size: 12px; text-align: left;">栃木県日光市所野1550-73<br />TEL：0288-53-3379</p><a href="#d_09"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.cmacs.jp/31867/saika/" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(そば打ち処　きりふり（ニュー霧降高原キャンプ場内）)
	htmls[10] = '<img src="images/sig_img_10.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">そば打ち処　きりふり（ニュー霧降高原キャンプ場内）</p><p style=" font-size: 12px; text-align: left;">栃木県日光市所野霧降高原1545－6<br />TEL：0288-53-4728</p><a href="#d_10"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://chirorin.dohome.net/sobautitaiken.htm" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(日光乗馬クラブ)
	htmls[11] = '<img src="images/sig_img_11.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">日光乗馬クラブ</p><p style=" font-size: 12px; text-align: left;">栃木県日光市所野2844-1<br />TEL：0288-53-4607</p><a href="#d_11"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://chirorin.dohome.net/zyoubataiken.htm" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(日光木彫の里　工芸センター)
	htmls[12] = '<img src="images/sig_img_12.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">日光木彫の里　工芸センター</p><p style=" font-size: 12px; text-align: left;">栃木県日光市所野2848<br />TEL：0288-53-0070</p><a href="#d_12"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://chirorin.dohome.net/nikkobori.getataiken.htm" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(うるし博物館)
	htmls[13] = '<img src="images/sig_img_13.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">うるし博物館</p><p style=" font-size: 12px; text-align: left;">栃木県日光市小倉山2829（株）小西美術工藝社日光工場地内<br />TEL：0288-53-6807</p><a href="#d_13"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.urushimuseum.jp/" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';
	//HTML文を指定する(大笹牧場)
	htmls[14] = '<img src="images/sig_img_14.jpg" width="150" height="150" style="float: left; margin:0 10px 0 0;"><p style=" font-size: 14px;">日光霧降高原 大笹牧場</p><p style=" font-size: 12px; text-align: left;">栃木県日光市瀬尾大笹原３４０５<br />TEL：0288-97-1116</p><a href="#d_14"><img src="images/b_detail.gif" width="72" height="29" border="0" style="margin:10px 0 0 0;"></a><a href="http://www.tochiraku.or.jp/oozasa/index.htm" target="_blank"><img src="images/b_hp.gif" width="72" height="29" border="0" style="margin:10px 0 0 10px;"></a>';

//マーカー表示の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(36.764192,139.616865), 12);
	//拡大縮小のスクロール

	map.openInfoWindowHtml(new GLatLng(36.764192,139.616865),'<div style="height:90px; width:135px; float:left; padding-top:15px;"><img src="images/qslogo.gif" width="120" height="83" style="float: left;"></div><p style=" font-size: 10px; margin: 0;">ペンション</p><p style=" font-size: 14px;">アニマーレin日光</p><p style=" font-size: 12px; text-align: left;">〒321-1421<br>栃木県日光市所野1541-432<br>TEL : 0288-54-1717</p>');

	var nDataNum = point.length;
	for(nCnt=0;nCnt<nDataNum;nCnt++)
	{
		var marker = createMarker(point[nCnt],htmls[nCnt]);
		gmarker[nCnt] = marker;
		map.addOverlay(marker);
	}
/* 初期表示　マーカーラインの表示設定  GPolyline([座標,座標...],"色",ラインの太さ,透明度（不透明1、-0.1でアルファがかかる）); */
	//ライン：オレンジ（小倉山森林公園コース）
	var polyline = new GPolyline([new GLatLng(36.764192,139.616865), new GLatLng(36.764166,139.616683), new GLatLng(36.763074,139.617058), new GLatLng(36.762344,139.617294), new GLatLng(36.761863,139.617423), new GLatLng(36.759834,139.618163), new GLatLng(36.759834,139.618163),new GLatLng(36.758957,139.617391),new GLatLng(36.758261,139.616221),new GLatLng(36.75802,139.615513),new GLatLng(36.757917,139.614344),new GLatLng(36.757685,139.614462)],"#FF6600",6,0.6);
	//マップにポリライン表示
	map.addOverlay(polyline);
	
	//ライン：グリーン（西の鳴沢コース）
	var polyline = new GPolyline([new GLatLng(36.764192,139.616865), new GLatLng(36.764166,139.616683), new GLatLng(36.766689,139.615873), new GLatLng(36.766431,139.614735), new GLatLng(36.766409,139.614585), new GLatLng(36.766469,139.614462), new GLatLng(36.766585,139.614344),new GLatLng(36.766779,139.614269),new GLatLng(36.767037,139.614258),new GLatLng(36.766929,139.613861),new GLatLng(36.766848,139.613764),new GLatLng(36.766736,139.613732),new GLatLng(36.766658,139.613748),new GLatLng(36.766053,139.61414),new GLatLng(36.765919,139.614081),new GLatLng(36.76454,139.614864),new GLatLng(36.76457,139.61495),new GLatLng(36.765902,139.614188),new GLatLng(36.766048,139.61421),new GLatLng(36.766087,139.61436),new GLatLng(36.766044,139.614531),new GLatLng(36.765941,139.614655),new GLatLng(36.765258,139.615095),new GLatLng(36.765163,139.615191),new GLatLng(36.765137,139.615341),new GLatLng(36.763749,139.61583),new GLatLng(36.763947,139.616731),new GLatLng(36.764153,139.616645)],"#339900",6,0.6);
	//マップにポリライン表示
	map.addOverlay(polyline);
	
	//ライン：イエロー1（東の丸美川コース）
	var polyline = new GPolyline([new GLatLng(36.764192,139.616865), new GLatLng(36.764166,139.616683), new GLatLng(36.764321,139.616699), new GLatLng(36.76463,139.618104), new GLatLng(36.764738,139.618206), new GLatLng(36.764776,139.618378), new GLatLng(36.76448,139.618614),new GLatLng(36.764574,139.61886),new GLatLng(36.765326,139.618619),new GLatLng(36.766538,139.618319),new GLatLng(36.766762,139.618303),new GLatLng(36.766762,139.618061),new GLatLng(36.766835,139.617906),new GLatLng(36.766856,139.617369),new GLatLng(36.766994,139.617267),new GLatLng(36.766942,139.616838),new GLatLng(36.765619,139.61753),new GLatLng(36.765305,139.617782),new GLatLng(36.764643,139.617981),new GLatLng(36.764377,139.616688)],"#FFCC00",6,0.6);
	//マップにポリライン表示
	map.addOverlay(polyline);
	
	//ライン：イエロー2（東の丸美川コース）
	var polyline = new GPolyline([new GLatLng(36.766942,139.616838), new GLatLng(36.766753,139.615915), new GLatLng(36.764411,139.616672)],"#FFCC00",6,0.6);
	//マップにポリライン表示
	map.addOverlay(polyline);
}
