if(GBrowserIsCompatible())
{
var point2 = new Array();
var nCnt2 = 0;
var gmarker2 = new Array();
var htmls2 = new Array();
point2[0] = new GLatLng(31.758407,131.0857); htmls2[0] = '<div style="width:300px;"><img style="float:left;margin-right:15px;width:65px;" src="images/vesselhotel.gif" width="65" height="75" /><p style="width:200px;float:left; font-size:11px;">ベッセルホテル　都城<br />〒885-0004<br />宮崎県都城市都北町5819番地3<br /> TEL：0986-46-7777<br />FAX：0986-46-7778‎</p></div>';

//関之尾の滝
point2[1] = new GLatLng(31.761364,130.987010); htmls2[1] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_spot01_small.jpg" width="65" height="75" /><p style="width:190px;float:left; font-size:11px;">関之尾の滝<br />宮崎県都城市関之尾町6843番地20<br /> TEL：0986-37-3401</p>';
//高千穂牧場
point2[2] = new GLatLng(31.8411436,130.8798339); htmls2[2] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_spot02_small.jpg" width="65" height="75" /><p style="width:190px;float:left; font-size:11px;">高千穂牧場<br />宮崎県都城市吉之元町5265-103<br /> TEL：0986-33-2102</p>';
//霧島ファクトリーガーデン
point2[3] = new GLatLng(31.74175,131.061999); htmls2[3] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_spot03_small.jpg" width="65" height="75" /><p style="width:190px;float:left; font-size:11px;">霧島ファクトリーガーデン<br />宮崎県都城市志比田町5480番地<br /> TEL：0986-21-8111</p>';
//母智丘公園
point2[4] = new GLatLng(31.750307,131.013207); htmls2[4] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_spot04_small.jpg" width="65" height="75" /><p style="width:190px;float:left; font-size:11px;">母智丘公園<br />宮崎県都城市横市町6633<br /> TEL：0986-23-2754</p>';
//都城歴史資料館
point2[5] = new GLatLng(31.716406,131.050242); htmls2[5] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_spot05_small.jpg" width="65" height="75" /><p style="width:190px;float:left; font-size:11px;">都城歴史資料館<br />宮崎県都城市菖蒲原町19‐1<br /> TEL：0986-23-9547</p>';
//たちばな天文台
point2[6] = new GLatLng(31.8801838,131.0696129); htmls2[6] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_spot06_small.jpg" width="65" height="75" /><p style="width:190px;float:left; font-size:11px;">たちばな天文台<br />宮崎県都城市高崎町大牟田1461-22<br /> TEL：0986-62-4936</p>';



//GOLF SPOTS

//リージェント宮崎カントリーゴルフクラブ
point2[7] = new GLatLng(31.7963671,130.9881563); htmls2[7] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_golf01_small.jpg" width="65" height="75" /><p style="width:200px;float:left; font-size:11px;">リージェント宮崎カントリーゴルフクラブ<br />宮崎県都城市山田町中霧島4423番地4<br />TEL：0986-33-1500（予約）0986-33-1588</p>';

//都城母智丘カントリークラブ
point2[8] = new GLatLng(31.7526018,131.0002271); htmls2[8] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_golf02_small.jpg" width="65" height="75" /><p style="width:200px;float:left; font-size:11px;">都城母智丘カントリークラブ<br />宮崎県都城市関之尾町6328<br />TEL：0986-24-3420</p>';

//レインボースポーツランドゴルフクラブ
point2[9] = new GLatLng(31.819351,131.138104); htmls2[9] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_golf03_small.jpg" width="65" height="75" /><p style="width:200px;float:left; font-size:11px;">レインボースポーツランドゴルフクラブ<br />宮崎県都城市高城町 石山4474<br />TEL：0986-58-3900</p>';

//三州カントリークラブ
point2[10] = new GLatLng(31.7018602,130.9906968); htmls2[10] = '<img style="float:left;margin-right:15px;width:65px;" src="images/img_golf04_small.jpg" width="65" height="75" /><p style="width:200px;float:left; font-size:11px;">三州カントリークラブ<br />鹿児島県曽於市 末吉町深川8404<br />TEL：0986-76-0111</p>';


function createMarker2(point2,htmlData)
{
var iconSet = new GIcon();
iconSet.image            = "mapimage/"+ nCnt2 +".png"; //アイコン画像パス
iconSet.shadow           = "mapimage/shadow.png"; //影画像パス
iconSet.iconSize         = new GSize(22, 30); //アイコンサイズ
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(point2,iconSet);
GEvent.addListener(marker, 'click', function(){
marker.openInfoWindowHtml(htmlData);
});
return marker;
}
function myclick2(HtmlCnt) {
gmarker2[HtmlCnt].openInfoWindowHtml(htmls2[HtmlCnt]);
}
var map2 = new GMap2(document.getElementById("gmap"));
//操作バー（左）
map2.addControl(new GLargeMapControl());
//表示切替（上）
//map2.addControl(new GMapTypeControl());
//ダブルクリックズーム＆スムージング
map2.enableContinuousZoom();
//初期表示の画面の中心座標
map2.setCenter(new GLatLng(31.758407,131.0857), 11); 
//初期フキダシ表示内容
map2.openInfoWindowHtml(new GLatLng(31.758407,131.0857),'<div style="width:300px;"><img style="float:left;margin-right:15px;width:65px;" src="images/vesselhotel.gif" width="65" height="75" /><p style="width:200px;float:left; font-size:11px;">ベッセルホテル　都城<br />〒885-0004<br />宮崎県都城市都北町5819番地3<br /> TEL：0986-46-7777<br />FAX：0986-46-7778‎</p></div>');
var nDataNum = point2.length;
for(nCnt2=0;nCnt2<nDataNum;nCnt2++)
{
var marker = createMarker2(point2[nCnt2],htmls2[nCnt2]);
gmarker2[nCnt2] = marker;
map2.addOverlay(marker);
}

}
