﻿var map01;
var map02;
var map03;
var map04;
var map05;
var map06;
var map07;
var map08;
var map09;
var map10;
var map11;
var map12;
var map13;
var map14;
var map15;
var map16;
var map17;
var map18;
var map19;
var map20;
var map21;

// 吹き出し内のテキスト
var html01 = '<b>上野クリニック　札幌医院</b><br />札幌市中央区北4条西2　アイビル4F<br />011-252-6000'
var html02 = '<b>上野クリニック　仙台医院</b><br />青葉区中央1-6-27 仙信ビル7F<br />022-723-3000'
var html03 = '<b>上野クリニック　新潟医院</b><br />新潟市中央区花園1-4-6 柳都ビル2F<br />025-241-4000'
var html04 = '<b>上野クリニック　大宮医院</b><br />大宮区宮町2-11 ハシモトビル7F<br />048-642-1000'
var html05 = '<b>上野クリニック　八重洲医院</b><br />中央区八重洲1-9-13 八重洲合同ビル7F<br />03-3274-4000'
var html06 = '<b>上野クリニック　上野医院</b><br />台東区根岸1-8-18 高松ビル4F<br />03-3876-7000'
var html07 = '<b>上野クリニック　渋谷医院</b><br />渋谷区渋谷1-16-9 渋谷K・Iビル3F<br />03-3406-9800'
var html08 = '<b>上野クリニック　新宿医院</b><br />新宿区西新宿1-3-15 栃木ビル7F<br />03-3343-4000'
var html09 = '<b>上野クリニック　横浜医院</b><br />西区南幸1-11-2 浜西ビル4F<br />045-290-4000'
var html10 = '<b>上野クリニック　千葉医院</b><br />中央区富士見1-2-11 勝山ビル6F<br />043-221-8000'
var html11 = '<b>上野クリニック　静岡医院</b><br />静岡市葵区御幸町6 静岡セントラルビル9F<br />054-275-0100'
var html12 = '<b>上野クリニック　名古屋医院</b><br />中村区名駅3-26-21 新香取ビル6F<br />052-562-5000'
var html13 = '<b>上野クリニック　名古屋栄医院</b><br />中区錦3-17-10 錦三（きんさん）ビル8F<br />052-968-7900'
var html14 = '<b>上野クリニック　京都医院</b><br />下京区新町通七条下ル東塩小路町593 エステート京都ビル1F<br />075-352-5000'
var html15 = '<b>上野クリニック　大阪北医院</b><br />北区梅田1-2 駅前第2ビル2F<br />06-6456-3000'
var html16 = '<b>上野クリニック　大阪南医院</b><br />中央区難波3-5-11 東亜ビル8F<br />06-6634-3000'
var html17 = '<b>上野クリニック　岡山医院</b><br />岡山市本町6-36 第1セントラルビル3F<br />086-224-9000'
var html18 = '<b>上野クリニック　広島医院</b><br />中区基町11-5 和光紙屋町ビル3F<br />082-511-5000'
var html19 = '<b>上野クリニック　福岡医院</b><br />博多区博多駅東1-12-7 第13岡部ビル8F<br />092-415-6000'
var html20 = '<b>上野クリニック　福岡天神医院</b><br />中央区天神2-13-18 天神ホワイトビル3F<br />092-720-8800'
var html21 = '<b>上野クリニック　鹿児島医院</b><br />鹿児島市中央町3-36 西駅Ｍ.Ｎビル5F<br />099-812-3800'

function onLoad() {


	// 札幌医院
	if( document.getElementById("map01") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map01"));
		map01.setCenter(new GLatLng(43.06689733996304 ,141.3534826040268),15);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(43.06689733996304 ,141.3534826040268);
		var marker01 = new GMarker(point01);
		map01.addOverlay(marker01);
		GEvent.addListener(marker01, 'click', function() {
		marker01.openInfoWindowHtml(html01);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(43.067610400163375 ,141.35122954845428);
		points[1] = new GLatLng(43.06688558292381 ,141.35144412517548);
		points[2] = new GLatLng(43.06714815626232 ,141.35367572307587);
		points[3] = new GLatLng(43.06688950193713 ,141.3537347316742);
		points[4] = new GLatLng(43.06689733996304 ,141.3534826040268);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}


	// 仙台医院
	if( document.getElementById("map02") != null ){
		// 地図定義
		map02 = new GMap2(document.getElementById("map02"));
		map02.setCenter(new GLatLng(38.26280168806707 ,140.87894082069397),15);
		map02.addControl(new GSmallMapControl());
		map02.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point02 = new GLatLng(38.26280168806707 ,140.87894082069397);
		var marker02 = new GMarker(point02);
		map02.addOverlay(marker02);
		GEvent.addListener(marker02, 'click', function() {
		marker02.openInfoWindowHtml(html02);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(38.261161085351404 ,140.8817008137703);
		points[1] = new GLatLng(38.26118277781134 ,140.8810329437256);
		points[2] = new GLatLng(38.26306978307628 ,140.88048577308655);
		points[3] = new GLatLng(38.26300807705593 ,140.87891936302185);
		points[4] = new GLatLng(38.26280168806707 ,140.87894082069397);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map02.addOverlay(polyline);
	}


	// 新潟医院 map03
	if( document.getElementById("map03") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map03"));
		map01.setCenter(new GLatLng(37.91334122256431 ,139.0632864832878),17);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(37.91334122256431 ,139.0632864832878);
		var marker03 = new GMarker(point01);
		map01.addOverlay(marker03);
		GEvent.addListener(marker03, 'click', function() {
		marker03.openInfoWindowHtml(html03);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(37.91321150522305, 139.06244695186615);
		points[1] = new GLatLng(37.91331307835946, 139.0623664855957);
		points[2] = new GLatLng(37.91362202912065, 139.06326234340668);
		points[3] = new GLatLng(37.91335116824946 ,139.06335353851318);
		points[4] = new GLatLng(37.91334122256431 ,139.0632864832878);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}


	// 大宮医院 map04
	if( document.getElementById("map04") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map04"));
		map01.setCenter(new GLatLng(35.90835267145906 ,139.62658524513245),17);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(35.90835267145906 ,139.62658524513245);
		var marker04 = new GMarker(point01);
		map01.addOverlay(marker04);
		GEvent.addListener(marker04, 'click', function() {
		marker04.openInfoWindowHtml(html04);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.9065538444569 ,139.62490618228912);
		points[1] = new GLatLng(35.90704048768082 ,139.62517976760864);
		points[2] = new GLatLng(35.90789210612126 ,139.624884724617);
		points[3] = new GLatLng(35.90820928819787 ,139.62638139724731);
		points[4] = new GLatLng(35.90835267145906 ,139.62658524513245);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}

	// 八重洲医院 map05
	if( document.getElementById("map05") != null ){
		// 地図定義
		map05 = new GMap2(document.getElementById("map05"));
		map05.setCenter(new GLatLng(35.680463668774486 ,139.76965963840485),16);
		map05.addControl(new GSmallMapControl());
		map05.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point05 = new GLatLng(35.680463668774486 ,139.76965963840485);
		var marker05 = new GMarker(point05);
		map05.addOverlay(marker05);
		GEvent.addListener(marker05, 'click', function() {
		marker05.openInfoWindowHtml(html05);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.68079483220707 ,139.7687691450119);
		points[1] = new GLatLng(35.680463668774486 ,139.76965963840485);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map05.addOverlay(polyline);
	}


	// 上野医院 map06
	if( document.getElementById("map06") != null ){
		// 地図定義
		map06 = new GMap2(document.getElementById("map06"));
		map06.setCenter(new GLatLng(35.72272382693584 ,139.77754801511765),19);
		map06.addControl(new GSmallMapControl());
		map06.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point06 = new GLatLng(35.72272382693584 ,139.77754801511765);
		var marker06 = new GMarker(point06);
		map06.addOverlay(marker06);
		GEvent.addListener(marker06, 'click', function() {
		marker06.openInfoWindowHtml(html06);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.72250389339279 ,139.77770894765854);
		points[1] = new GLatLng(35.72269769624962 ,139.7774836421013);
		points[2] = new GLatLng(35.72272382693584 ,139.77754801511765);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map06.addOverlay(polyline);
	}


	// 渋谷医院 map07
	if( document.getElementById("map07") != null ){
		// 地図定義
		map07 = new GMap2(document.getElementById("map07"));
		map07.setCenter(new GLatLng(35.66110565004567 ,139.70246225595474),16);
		map07.addControl(new GSmallMapControl());
		map07.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point07 = new GLatLng(35.66110565004567 ,139.70246225595474);
		var marker07 = new GMarker(point07);
		map07.addOverlay(marker07);
		GEvent.addListener(marker07, 'click', function() {
		marker07.openInfoWindowHtml(html07);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.65914648947439 ,139.70189094543457);
		points[1] = new GLatLng(35.65966298029726 ,139.70214039087296);
		points[2] = new GLatLng(35.659702207311874 ,139.7024917602539);
		points[3] = new GLatLng(35.66110129156605 ,139.70240592956543);
		points[4] = new GLatLng(35.66110565004567 ,139.70246225595474);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map07.addOverlay(polyline);
	}


	// 新宿医院 map08
	if( document.getElementById("map08") != null ){
		// 地図定義
		map08 = new GMap2(document.getElementById("map08"));
		map08.setCenter(new GLatLng(35.693340992035175 ,139.6984228491783),16);
		map08.addControl(new GSmallMapControl());
		map08.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point08 = new GLatLng(35.693340992035175 ,139.6984228491783);
		var marker08 = new GMarker(point08);
		map08.addOverlay(marker08);
		GEvent.addListener(marker08, 'click', function() {
		marker08.openInfoWindowHtml(html08);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.69134994646349 ,139.6993052959442);
		points[1] = new GLatLng(35.69200564639129 ,139.69943940639496);
		points[2] = new GLatLng(35.69335406219201 ,139.69927310943604);
		points[3] = new GLatLng(35.69345426665652 ,139.69884127378464);
		points[4] = new GLatLng(35.693428126373576 ,139.69841480255127);
		points[5] = new GLatLng(35.693340992035175 ,139.6984228491783);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map08.addOverlay(polyline);
	}


	// 横浜医院 map09
	if( document.getElementById("map09") != null ){
		// 地図定義
		map09 = new GMap2(document.getElementById("map09"));
		map09.setCenter(new GLatLng(35.46479673759097 ,139.61992800235748),17);
		map09.addControl(new GSmallMapControl());
		map09.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point09 = new GLatLng(35.46479673759097 ,139.61992800235748);
		var marker09 = new GMarker(point09);
		map09.addOverlay(marker09);
		GEvent.addListener(marker09, 'click', function() {
		marker09.openInfoWindowHtml(html09);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.46514845493599 ,139.62043225765228);
		points[1] = new GLatLng(35.464921258814485 ,139.61986899375916);
		points[2] = new GLatLng(35.46479673759097 ,139.61992800235748);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map09.addOverlay(polyline);
	}


	// 千葉医院 map10
	if( document.getElementById("map10") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map10"));
		map01.setCenter(new GLatLng(35.61292556901987 ,140.1162439584732),17);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(35.61292556901987 ,140.1162439584732);
		var marker10 = new GMarker(point01);
		map01.addOverlay(marker10);
		GEvent.addListener(marker10, 'click', function() {
		marker10.openInfoWindowHtml(html10);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.612733680046574 ,140.1149296760559);
		points[1] = new GLatLng(35.612711874452295 ,140.11566996574402);
		points[2] = new GLatLng(35.6126508187567 ,140.1159274578094);
		points[3] = new GLatLng(35.61288631904005 ,140.1161152124405);
		points[4] = new GLatLng(35.61292556901987 ,140.1162439584732);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}


	// 静岡医院 map11
	if( document.getElementById("map11") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map11"));
		map01.setCenter(new GLatLng(34.97418612579399 ,138.38658660650253),16);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(34.97418612579399 ,138.38658660650253);
		var marker11 = new GMarker(point01);
		map01.addOverlay(marker11);
		GEvent.addListener(marker11, 'click', function() {
		marker11.openInfoWindowHtml(html11);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(34.97223442958647 ,138.3885258436203);
		points[1] = new GLatLng(34.97291137452972 ,138.3880376815796);
		points[2] = new GLatLng(34.97293335316788 ,138.38787138462067);
		points[3] = new GLatLng(34.97412019087032 ,138.38654905557632);
		points[4] = new GLatLng(34.97418612579399 ,138.38658660650253);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}


	// 名古屋医院 map12
	if( document.getElementById("map12") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map12"));
		map01.setCenter(new GLatLng(35.17242267149729 ,136.8853461742401),16);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(35.17242267149729 ,136.8853461742401);
		var marker12 = new GMarker(point01);
		map01.addOverlay(marker12);
		GEvent.addListener(marker12, 'click', function() {
		marker12.openInfoWindowHtml(html12);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.17115101310365 ,136.88315749168396);
		points[1] = new GLatLng(35.171817539983415 ,136.8839943408966);
		points[2] = new GLatLng(35.171484277226526 ,136.8847131729126);
		points[3] = new GLatLng(35.171633368628726 ,136.88514232635498);
		points[4] = new GLatLng(35.17233497155696 ,136.88515305519104);
		points[5] = new GLatLng(35.17242267149729 ,136.88534617424013);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}

		
	// 名古屋栄医院 map13
	if( document.getElementById("map13") != null ){
		// 地図定義
		map13 = new GMap2(document.getElementById("map13"));
		map13.setCenter(new GLatLng(35.17059630071225 ,136.90640956163406),16);
		map13.addControl(new GSmallMapControl());
		map13.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point13 = new GLatLng(35.17059630071225 ,136.90640956163406);
		var marker13 = new GMarker(point13);
		map13.addOverlay(marker13);
		GEvent.addListener(marker13, 'click', function() {
		marker13.openInfoWindowHtml(html13);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(35.17015340509781 ,136.9065946340561);
		points[1] = new GLatLng(35.17060726344439 ,136.90653830766678);
		points[2] = new GLatLng(35.17059630071225 ,136.90640956163406);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map13.addOverlay(polyline);
	}


	// 京都医院 map14
	if( document.getElementById("map14") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map14"));
		map01.setCenter(new GLatLng(34.98869271602579 ,135.75666189193726),16);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(34.98869271602579 ,135.75666189193726);
		var marker14 = new GMarker(point01);
		map01.addOverlay(marker14);
		GEvent.addListener(marker14, 'click', function() {
		marker14.openInfoWindowHtml(html14);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(34.98635460587294 ,135.75793594121933);
		points[1] = new GLatLng(34.986508430961415 ,135.75743168592453);
		points[2] = new GLatLng(34.98728194702542 ,135.75743168592453);
		points[3] = new GLatLng(34.9872731571112 ,135.75682014226913);
		points[4] = new GLatLng(34.98869051858519 ,135.75682818889618);
		points[5] = new GLatLng(34.98869271602579 ,135.75666189193726);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}


	// 大阪北医院 map15
	if( document.getElementById("map15") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map15"));
		map01.setCenter(new GLatLng(34.69886927774398 ,135.49818813800812),16);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(34.69886927774398 ,135.49818813800812);
		var marker15 = new GMarker(point01);
		map01.addOverlay(marker15);
		GEvent.addListener(marker15, 'click', function() {
		marker15.openInfoWindowHtml(html15);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(34.70157720956808 ,135.49646615982056);
		points[1] = new GLatLng(34.70033351247056 ,135.4975175857544);
		points[2] = new GLatLng(34.7001571000209 ,135.4978609085083);
		points[3] = new GLatLng(34.699186824824686 ,135.49838662147522);
		points[4] = new GLatLng(34.69886927774398 ,135.49818813800812);

		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}

	// 大阪南医院 map16
	if( document.getElementById("map16") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map16"));
		map01.setCenter(new GLatLng(34.66681501306354 ,135.50067991018295),16);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(34.66681501306354 ,135.50067991018295);
		var marker16 = new GMarker(point01);
		map01.addOverlay(marker16);
		GEvent.addListener(marker16, 'click', function() {
		marker16.openInfoWindowHtml(html16);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(34.6668481037494 ,135.50058737397194);
		points[1] = new GLatLng(34.66681501306354 ,135.50067991018295);
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}


	// 岡山医院 map17
	if( document.getElementById("map17") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map17"));
		map01.setCenter(new GLatLng(34.664399357296844 ,133.91942650079727),17);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(34.664399357296844 ,133.91942650079727);
		var marker17 = new GMarker(point01);
		map01.addOverlay(marker17);
		GEvent.addListener(marker17, 'click', function() {
		marker17.openInfoWindowHtml(html17);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(34.66589067456403 ,133.9184045791626);
		points[1] = new GLatLng(34.664679532854876 ,133.91803711652756);
		points[2] = new GLatLng(34.664333173955825 ,133.91905635595322);
		points[3] = new GLatLng(34.664399357296844 ,133.91942650079727);
		
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}

	// 広島医院 map18
	if( document.getElementById("map18") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map18"));
		map01.setCenter(new GLatLng(34.39514703183915 ,132.45899856090546),16);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(34.39514703183915 ,132.45899856090546);
		var marker18 = new GMarker(point01);
		map01.addOverlay(marker18);
		GEvent.addListener(marker18, 'click', function() {
		marker18.openInfoWindowHtml(html18);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(34.39514924509433 ,132.4583226442337);
		points[1] = new GLatLng(34.39502972923097 ,132.45887517929077);
		points[2] = new GLatLng(34.39514703183915 ,132.45899856090546);

		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}


	// 福岡医院 map19
	if( document.getElementById("map19") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map19"));
		map01.setCenter(new GLatLng(33.59067527769043 ,130.42270839214325),17);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(33.59067527769043 ,130.42270839214325);
		var marker19 = new GMarker(point01);
		map01.addOverlay(marker19);
		GEvent.addListener(marker19, 'click', function() {
		marker19.openInfoWindowHtml(html19);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(33.590143510176674 ,130.42147994041443);
		points[1] = new GLatLng(33.59013680720389 ,130.42254209518433);
		points[2] = new GLatLng(33.59067527769043 ,130.4225742816925);
		points[3] = new GLatLng(33.59067527769043 ,130.42270839214325);
		
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}

	// 福岡天神医院 map20
	if( document.getElementById("map20") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map20"));
		map01.setCenter(new GLatLng(33.591852751234493 ,130.3974124789238),17);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(33.591852751234493 ,130.3974124789238);
		var marker20 = new GMarker(point01);
		map01.addOverlay(marker20);
		GEvent.addListener(marker20, 'click', function() {
		marker20.openInfoWindowHtml(html20);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(33.59212756722464 ,130.39832174777985);
		points[1] = new GLatLng(33.59191307677076 ,130.39740443229675);
		points[2] = new GLatLng(33.591852751234493 ,130.3974124789238);
		
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}

	// 鹿児島医院 map21
	if( document.getElementById("map21") != null ){
		// 地図定義
		map01 = new GMap2(document.getElementById("map21"));
		map01.setCenter(new GLatLng(31.585451973853143 ,130.5435848236084),16);
		map01.addControl(new GSmallMapControl());
		map01.setMapType(G_NORMAL_MAP);

		// マーカー定義
		var point01 = new GLatLng(31.585451973853143 ,130.5435848236084);
		var marker21 = new GMarker(point01);
		map01.addOverlay(marker21);
		GEvent.addListener(marker21, 'click', function() {
		marker21.openInfoWindowHtml(html21);
		});

		// 道のり定義
		var points = [];
		points[0] = new GLatLng(31.583594358919548 ,130.54260313510895);
		points[1] = new GLatLng(31.585141231498675 ,130.54314225912094);
		points[2] = new GLatLng(31.585451973853143 ,130.5435848236084);
		
		var polyline = new GPolyline(points, "#FF0000", 5, 1);
		map01.addOverlay(polyline);
	}

}
