if(GBrowserIsCompatible())
{
var point = new Array();
var nCnt = 0;
var gmarker = new Array();
var htmls = new Array();
point[0] = new GLatLng(42.919389,143.203858); htmls[0] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">北海道 帯広市 ふく井ホテル</p><p style=" font-size: 12px; text-align: left; width:250px;">〒080-0011 北海道帯広市西1条南11丁目<br>TEL：0155-25-1717<br>FAX：0155-25-1746</p></div>';

point[1] = new GLatLng(42.917976,143.202271); htmls[1] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">帯広観光コンベンション協会</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市西二条南12丁目3-2<br>TEL：0155-22-8600</p><a href="#cont01_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[2] = new GLatLng(42.923916,143.196106); htmls[2] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">帯広市(市役所)</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市西五条南7丁目1<br>TEL：0155-24-4111</p><a href="#cont01_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[3] = new GLatLng(42.917976,143.202271); htmls[3] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">十勝しかおい(鹿追町観光協会)</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市西二条南12-3-2<br>TEL：0155-22-8600</p><a href="#cont01_2"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[4] = new GLatLng(43.232555,143.296173); htmls[4] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">上士幌町観光協会</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道河東郡上士幌町字上士幌東3線238<br>TEL：01564-2-3355</p><a href="#cont01_2"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[5] = new GLatLng(42.932922,143.303650); htmls[5] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">音更町 十勝川温泉(十勝川温泉観光協会)</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道河東郡音更町十勝川温泉南12-1-12<br>TEL：0155-32-6633</p><a href="#cont01_3"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[6] = new GLatLng(42.922256,143.202415); htmls[6] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">六花亭 本店</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市西二条南9-6<br>TEL：0155-24-6666</p><a href="#cont02_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[7] = new GLatLng(42.921239,143.202549); htmls[7] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">柳月 西2条店</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市西二条南9-6<br>TEL：0155-24-6666</p><a href="#cont02_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[8] = new GLatLng(42.640968,143.134338); htmls[8] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">花畑牧場</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道中札内村元札内東4線<br>TEL：0120-92-9187</p><a href="#cont02_2"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[9] = new GLatLng(42.921028,143.182312); htmls[9] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">ばんえい十勝(帯広競技場)</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市西十三条南9-1<br>TEL：0155-34-0825</p><a href="#cont03_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[10] = new GLatLng(42.901318,143.184753); htmls[10] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">帯広動物園</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市緑ケ丘2<br>TEL：0155-24-2437</p><a href="#cont03_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[11] = new GLatLng(42.762138,143.085083); htmls[11] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">紫竹ガーデン</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市美栄町西4線107-30<br>TEL：0155-60-2377</p><a href="#cont04_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[12] = new GLatLng(42.883678,143.204422); htmls[12] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">真鍋庭園</p><p style=" font-size: 12px; text-align: left; width:250px;">北海道帯広市稲田町東2線6<br>TEL：0155-48-2120</p><a href="#cont04_1"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

point[13] = new GLatLng(42.863113,143.243346); htmls[13] = '<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">十勝ヒルズ</p><p style=" font-size: 12px; text-align: left; width:250px;">幕別町字日新13-5<br>TEL：0155-56-1111</p><a href="#cont04_2"><img class="btn_info" src="../buttons/btn_shousai.gif" alt="詳細" width="35" height="11" border="0"></a></div>';

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.enableContinuousZoom();
//初期表示の画面の中心座標
map.setCenter(new GLatLng(42.919389,143.203858), 17);
//初期フキダシ表示内容
map.openInfoWindowHtml(new GLatLng(42.919389,143.203858),'<div style="margin-left:10px; width:250px;"><p style=" font-size: 14px; width:250px; font-weight: bold;">北海道 帯広市 ふく井ホテル</p><p style=" font-size: 12px; text-align: left; width:250px;">〒080-0011 北海道帯広市西1条南11丁目<br>TEL：0155-25-1717<br>FAX：0155-25-1746</p></div>');
var nDataNum = point.length;
for(nCnt=0;nCnt<nDataNum;nCnt++)
{
var marker = createMarker(point[nCnt],htmls[nCnt]);
gmarker[nCnt] = marker;
map.addOverlay(marker);
}
}

