if(GBrowserIsCompatible())
{

	var point = new Array();
	var nCnt = 0;
	var gmarker = new Array();
	var htmls = new Array();

/* ----- 初期設定 ----- */
//マーカー表示の座標設定▼
	point[0] = new GLatLng(34.494743,136.836182);
	point[1] = new GLatLng(34.481422,136.845856);
	point[2] = new GLatLng(34.483492,136.846869);
	point[3] = new GLatLng(34.498328,136.777703);
	point[4] = new GLatLng(34.361619,136.846137);
	point[5] = new GLatLng(34.507351,136.791887);
	point[6] = new GLatLng(34.310838,136.819575);
	point[7] = new GLatLng(34.489028,136.843712);
	point[8] = new GLatLng(34.45502,136.72588);
	point[9] = new GLatLng(34.462712,136.722460);
	point[10] = new GLatLng(34.449025,136.899940);
	point[11] = new GLatLng(34.490757,136.811644);

//マーカー表示の座標設定▲

//マーカー表示のHTML▼
	//HTML文を指定する(鳥羽グランドホテル)
	htmls[0] = '<div style="width:352px;"><div style="float:left; height:127px; width:162px; background:url(images/mapimg.jpg) left top no-repeat;">&nbsp;</div><p style="font-size:93%;text-align:center; float:right; width:140px; color:#000;">三重県鳥羽市小浜町239-9<br />Tel 0599-25-4141<br />Fax 0599-25-7003</p></div>';
	htmls[1] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">鳥羽水族館</h4><p>世界屈指の規模を誇り、850種類20000点もの海や川の生き物が飼育・展示されている。</p><a href="http://www.aquarium.co.jp/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[2] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">ミキモト真珠島</h4><p>御木本幸吉が世界で始めて養殖真珠第1号を誕生させた島 「ミキモト真珠島」。</p><a href="http://www.mikimoto-pearl-museum.co.jp/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[3] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">伊勢・安土桃山文化村</h4><p>桃山文化に彩 られた戦国の町侍、姫、忍者が活躍する、 芸能イベントランド。</p><a href="http://www.ise-bunkamura.co.jp/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[4] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">志摩スペイン村</h4><p>スペイン・アンダルシア地方の街並みをイメージした南欧気分あふれるリゾート「パルケエスパーニャ」。</p><a href="http://www.parque-net.com/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[5] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">二見シーパラダイス</h4><p>鳥羽と伊勢の中間、二見町にある水族館。アッカンベーをする 大きなミナミゾウアザラシで有名。近くには夫婦岩も。</p><a href="http://www.futami-seaparadise.com/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[6] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">志摩マリンランド</h4><p>一番人気のマンボウをはじめ、ドーナツ型の回遊水槽には魚の大群が泳ぎ続けており、 海女による餌付けは見物。</p><a href="http://www.isesima.com/M-rand.htm" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[7] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">鳥羽湾めぐりとイルカ島</h4><p>龍宮城やフラワーマーメイドなどユニークなデザインの船で鳥羽湾を周遊できる。また、イルカ島ではイルカショーも楽しめる。</p><a href="http://www.shima-marineleisure.com/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[8] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">伊勢神宮</h4><p>「お伊勢さん」の愛称で古くから親しまれている伊勢神宮。内宮や外宮をはじめ125社の神社から成っています。</p><a href="http://www.isejingu.or.jp/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[9] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">おかげ横丁</h4><p>伊勢神宮内宮前に江戸・明治期の伊勢路の町並みを再現した横丁。伊勢路の老舗、名品店、食事処など31店が軒を連ねる。</p><a href="http://www.okageyokocho.co.jp/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[10] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">海の博物館</h4><p>55,000点に及ぶ実物資料を中心に、「海と人間」の長く深い歴史を、理解できるようわかりやすく展示。</p><a href="http://www.umihaku.com/" class="to_hp" target="_blank">HPを見る</a></div>';
	htmls[11] = '<div class="map_point" style="width:305px; height:120px;"><h4 class="point_title">マコンデ美術館</h4><p>東アフリカの熱き風・生命の叫び、タンザニア・マコンデの現代彫刻を展示。日本でここだけの美術館です。</p><a href="http://www2.ocn.ne.jp/~makonde/" class="to_hp" target="_blank">HPを見る</a></div>';

//マーカー表示のHTML▲

/* マーカー表示 */
	function createMarker(point,htmlData)
	{
		//アイコン画像の指定
		var iconSet = new GIcon();
				iconSet.image            = "./images/"+ nCnt +".png"; //アイコン画像パス
				iconSet.iconSize         = new GSize(21, 34); //アイコンサイズ
				iconSet.shadowSize       = new GSize(39, 34); //影サイズ
				iconSet.shadow           = "./images/shadow.png"; //影画像パス

		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);
		});
		gmarker[nCnt] = marker;
		return marker;
	}
	function myclick(HtmlCnt) {
        gmarker[HtmlCnt].openInfoWindowHtml(htmls[HtmlCnt]);
    }
	var map = new GMap(document.getElementById("gmap"));
	//初期表示の座標
	map.setCenter(new GLatLng(34.4314,136.8154), 11);
	//拡大縮小のスクロール
	map.addControl(new GLargeMapControl());
	map.openInfoWindowHtml(new GLatLng(34.494743,136.836182),'<div style="width:352px; "><div style="float:left; height:127px; width:162px; background:url(images/mapimg.jpg) left top no-repeat;">&nbsp;</div><p style="font-size:93%;text-align:center; float:right; width:140px; color:#000;">三重県鳥羽市小浜町239-9<br />Tel 0599-25-4141<br />Fax 0599-25-7003</p></div>');
	var nDataNum = point.length;
	for(nCnt=0;nCnt<nDataNum;nCnt++)
	{
		var marker = createMarker(point[nCnt],htmls[nCnt]);
		map.addOverlay(marker);
	}
	//小さい地図を作成
	/* 初期表示　マーカーラインの表示設定  GPolyline([座標,座標...],"色",ラインの太さ,透明度（不透明1、-0.1でアルファがかかる）); */
	
	
	//マップにポリライン表示
	//map.addOverlay(polyline);
	
}







