if(GBrowserIsCompatible())
{
var point = new Array();
var nCnt = 0;
var gmarker = new Array();
var htmls = new Array();
point[0] = new GLatLng(33.351661, 130.781202); htmls[0] = '<div class="pop"><img src="images/spot_logo.gif" alt="ホテルパーレンス小野屋" width="58" height="80" class="spot00" /><div class="popuptext_sightseeing"><h4>ホテルパーレンス小野屋</h4><p>〒838-1514<br />福岡県朝倉市杷木久喜宮1841-1<br />TEL:0946-62-1120<br />FAX:0946-62-2738</p></div></div>';

//point[12] = new GLatLng(); htmls[12] = '';
//point[13] = new GLatLng(); htmls[13] = '';
//point[14] = new GLatLng(); htmls[14] = '';
//point[15] = new GLatLng(); htmls[15] = '';
//point[16] = new GLatLng(); htmls[16] = '';
//point[17] = new GLatLng(); htmls[17] = '';
//point[18] = new GLatLng(); htmls[18] = '';
//point[19] = new GLatLng(); htmls[19] = '';
//point[20] = new GLatLng(); htmls[20] = '';
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("access_map"));
//操作バー（左）
map.addControl(new GLargeMapControl());
//表示切替（上）
//map.addControl(new GMapTypeControl());
//ダブルクリックズーム＆スムージング
map.enableContinuousZoom();
//初期表示の画面の中心座標
map.setCenter(new GLatLng(33.355661, 130.781202), 13);
//初期フキダシ表示内容
map.openInfoWindowHtml(new GLatLng(33.351661, 130.781202),'<div class="pop"><img src="images/spot_logo.gif" alt="ホテルパーレンス小野屋" width="58" height="80" class="spot00" /><div class="popuptext_sightseeing"><h4>ホテルパーレンス小野屋</h4><p>〒838-1514<br />福岡県朝倉市杷木久喜宮1841-1<br />TEL:0946-62-1120<br />FAX:0946-62-2738</p></div></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でアルファがかかる）); */
	//ライン1
	/* var polyline = new GPolyline([new GLatLng(34.976265,139.094853), new GLatLng(34.975061,139.092869)],"#FF0000",6,0.6);
	//マップにポリライン表示
	map.addOverlay(polyline);*/
}