function initialize() {
	var point = new Array();
	var title = new Array();
	var tel = new Array();
	var timeTex1 = new Array();
	var time1 = new Array();
	var timeTex2 = new Array();
	var time2 = new Array();
	var holiday = new Array();
	var address = new Array();
	function dataWrite() {
/* +++++++++++++++++++++++++++++++++++++++++
	▼　データ領域　▼
+++++++++++++++++++++++++++++++++++++++++ */

/* 愛知県
++++++++++++++++++++++++ */

		/* ツアーセンター
		--------------------*/
		point.push( new GLatLng(35.17340, 136.884453) );				// 座標
		title.push( 'ツアーセンター' );　　　　　　　　　　　			// センター名
		tel.push( '052-563-7500');										// 電話番号
		timeTex1.push( '月～土' );										// 営業日
		time1.push( '10:00～18:00' );									// 営業時間
		timeTex2.push( '日・祝' );										// 特別な営業時間の条件
		time2.push( '10:00～16:00' );									// 特別な営業時間（空なら非表示
		holiday.push( '正月以外年中無休' );								// 定休日
		address.push( '名古屋市中村区名駅3-13-26（交通ビル2Ｆ）' );	// 住所
		
		/* 本社旅行センター
		--------------------*/
		point.push( new GLatLng(35.17346, 136.884459) );				// 座標
		title.push( '本社旅行センター' );		　　　　　　　　　　	// センター名
		tel.push( '052-563-7500');										// 電話番号
		timeTex1.push( '月～金' );										// 営業日
		time1.push( '10:00～18:00' );									// 営業時間
		timeTex2.push( '土曜日' );	　　			　　				// 特別な営業時間の条件
		time2.push( '10:00～17:00' );									// 特別な営業時間（空なら非表示
		holiday.push( '日･祝' );	　　　　							// 定休日
		address.push( '名古屋市中村区名駅3-13-26（交通ビル2Ｆ）' );	// 住所

		/* 名古屋旅行センター
		--------------------*/
		point.push( new GLatLng(35.146222, 136.806744) );
		title.push( '名古屋旅行センター' );
		tel.push( '052-439-5301');
		timeTex1.push( '営業時間' );
		time1.push( '10:00～19:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '休日はバローに同じ' );
		address.push( '名古屋市中川区戸田明正2-110（バロー戸田店2Ｆ）' );

		/* 栄旅行センター
		--------------------*/
		point.push( new GLatLng(35.168587, 136.909615) );
		title.push( '栄旅行センター<br />（カッコー旅サロン）' );
		tel.push( '052-261-1631');
		timeTex1.push( '月～金' );
		time1.push( '10:00～18:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '土・日･祝' );
		address.push( '名古屋市中区栄4丁目1-1（中日ビル１F）' );

		/* 一宮旅行センター
		--------------------*/
		point.push( new GLatLng(35.305809, 136.784304) );
		title.push( '一宮旅行センター' );
		tel.push( '0586-47-0202');
		timeTex1.push( '営業時間' );
		time1.push( '10:00～20:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '休日はバローに同じ' );
		address.push( '一宮市八幡5丁目1番16（バロ－一宮西店1Ｆ）' );

		

/* 岐阜県
++++++++++++++++++++++++ */

		/* 西岐阜旅行センター
		--------------------*/
		point.push( new GLatLng(35.399729, 136.727792) );
		title.push( '西岐阜旅行センター' );
		tel.push( '058-275-9124');
		timeTex1.push( '営業時間' );
		time1.push( '10:00～19:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '休日はバローに同じ' );
		address.push( '岐阜市市橋2-2-5（バロー市橋店内）' );

		/* 大垣南旅行センター
		--------------------*/
		point.push( new GLatLng(35.339213, 136.613295) );
		title.push( '大垣南旅行センター' );
		tel.push( '0584-87-3510');
		timeTex1.push( '営業時間' );
		time1.push( '10:00～19:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '休日はバローに同じ' );
		address.push( '大垣市本今町字西ノ側1639番地1<br />（バロー大垣南店内）' );

		/* 大垣インター旅行センター
		--------------------*/
		point.push( new GLatLng(35.316795, 136.617626) );
		title.push( '大垣インター旅行センター' );
		tel.push( '0584-87-2130');
		timeTex1.push( '月～金' );
		time1.push( '10:00～18:00' );
		timeTex2.push( '土曜日' );
		time2.push( '10:00～17:00' );
		holiday.push( '日･祝' );
		address.push( '大垣市内原町1丁目203番地の1' );

		/* 揖斐旅行センター
		--------------------*/
		point.push( new GLatLng(35.470483, 136.571919) );
		title.push( '揖斐旅行センター' );
		tel.push( '0585-22-0034');
		timeTex1.push( '月～金' );
		time1.push( '9:00～17:00' );
		timeTex2.push( '土曜日' );
		time2.push( '10:00～17:00' );
		holiday.push( '日･祝' );
		address.push( '揖斐郡揖斐川町脛永字山玩434（近鉄揖斐駅前）' );

		/* 垂井旅行センター
		--------------------*/
		point.push( new GLatLng(35.37032, 136.531143) );
		title.push( '垂井旅行センター' );
		tel.push( '0584-23-3181');
		timeTex1.push( '月～金' );
		time1.push( '10:00～18:00' );
		timeTex2.push( '土曜日' );
		time2.push( '10:00～17:00' );
		holiday.push( '日･祝･第2/第4土曜' );
		address.push( '不破郡垂井町1812-10（JR垂井駅前）' );

		/* 岐阜旅行センター
		--------------------*/
		point.push( new GLatLng(35.407725, 136.779833) );
		title.push( '岐阜旅行センター' );
		tel.push( '058-249-0122');
		timeTex1.push( '営業時間' );
		time1.push( '10:00～19:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '休日はバローに同じ' );
		address.push( '岐阜市領下4-55（バロー領下店2Ｆ）' );

		/* 羽島旅行センター
		--------------------*/
		point.push( new GLatLng(35.305278, 136.690838) );
		title.push( '羽島旅行センター' );
		tel.push( '058-397-0366');
		timeTex1.push( '営業時間' );
		time1.push( '10:00～19:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '休日はバローに同じ' );
		address.push( '羽島市江吉良町2939（バロー羽島インター店内)' );

		/* 可児旅行センター
		--------------------*/
		point.push( new GLatLng(35.431225, 137.038929) );
		title.push( '可児旅行センター' );
		tel.push( '0574-60-5070');
		timeTex1.push( '営業時間' );
		time1.push( '10:00～19:00' );
		timeTex2.push( '' );
		time2.push( '' );
		holiday.push( '休日はバローに同じ' );
		address.push( '可児市今渡840-2（バロ－今渡店1Ｆ）' );

/* 三重県
++++++++++++++++++++++++ */

		/* 四日市駅旅行センター
		--------------------*/
		point.push( new GLatLng(34.966553, 136.618177) );
		title.push( '四日市駅旅行センター' );
		tel.push( '059-355-0489');
		timeTex1.push( '月～金' );
		time1.push( '10:00～18:00' );
		timeTex2.push( '土曜日' );
		time2.push( '10:00～17:00' );
		holiday.push( '日･祝' );
		address.push( '四日市市安島１丁目１－５６（近鉄西口）' );

		/* 四日市日永旅行センター
		--------------------*/
		point.push( new GLatLng(34.94703, 136.608287) );
		title.push( '四日市日永旅行センター' );
		tel.push( '059-349-5000');
		timeTex1.push( '月～金' );
		time1.push( '10:00～18:00' );
		timeTex2.push( '土曜日' );
		time2.push( '10:00～17:00' );
		holiday.push( '日･祝' );
		address.push( '四日市市日永3丁目2番55号<br />（名阪近鉄バス四日市営業所地内）' );

/* +++++++++++++++++++++++++++++++++++++++++
	▲　データ領域　▲
+++++++++++++++++++++++++++++++++++++++++ */
	}
	var map, marker;
	function initGmap() {
		map = new GMap2(document.getElementById("gmap"));
		map.enableContinuousZoom();
		map.enableScrollWheelZoom();
		map.addControl(new GLargeMapControl());
		map.addControl(new GOverviewMapControl());
		map.setCenter(point[0], 9, G_NORMAL_MAP);
	}
	function createMarker() {
		marker = new Array();
		for(var i=0; i<point.length; i++) {
			var gm = new GMarker(point[i]);
			marker[i] = gm;
			marker[i].title = title[i];
			marker[i].tel = tel[i];
			marker[i].timeTex1 = timeTex1[i];
			marker[i].time1 = time1[i];
			marker[i].timeTex2 = timeTex2[i];
			marker[i].time2 = time2[i];
			marker[i].holiday = holiday[i];
			marker[i].address = address[i];
			map.addOverlay(marker[i]);
			GEvent.addListener(map, "click", function(marker){
				if(marker) {
					if(marker.openInfoWindowHtml) {
						var text = createHtml(marker);
						marker.openInfoWindowHtml(text);
					}
				}
			} );
		}
	}
	function setGnavi() {
		var naviAncs = document.getElementById('gmapNavi').getElementsByTagName('a');
		for(var i=0; i<naviAncs.length; i++) {
			naviAncs[i].onclick = function() {
				var num = parseInt( this.className.replace('navi', '') )-1;
				var text = createHtml(marker[num]);
				map.setCenter(marker[num].getLatLng(),12);
				marker[num].openInfoWindowHtml(text);
			}
		}
	}
	if (GBrowserIsCompatible()) {
		dataWrite();
		initGmap();
		setGnavi();
		createMarker();
	}
}

function createHtml(marker) {
	var text;
		text = '<strong>'+marker.title+'</strong>' +
					'<table>' +
						'<tr>' +
							'<th>TEL</th>' +
							'<td>'+marker.tel+'</td>' +
						'</tr>';
	if( marker.time2 != '' ) {
		text +=			'<tr>' +
							'<th colspan="2">営業時間</th>' +
						'</tr>' +
						'<tr>' +
							'<th>　'+ marker.timeTex1 +'</th>' +
							'<td>'+marker.time1+'</td>' +
						'</tr>' +
						'<tr>' +
							'<th>　'+ marker.timeTex2 +'</th>' +
							'<td>'+marker.time2+'</td>' +
						'</tr>';
	} else {
		text +=			'<tr>' +
							'<th>営業時間</th>' +
							'<td>'+marker.time1+'</td>' +
						'</tr>';
	}
		text +=			'<tr>' +
							'<th>定休日</th>' +
							'<td>'+marker.holiday+'</td>' +
						'</tr>' +
						'<tr>' +
							'<th colspan="2">住所</th>' +
						'</tr>' +
						'<tr>' +
							'<td colspan="2"><nobr>'+marker.address+'</nobr></td>' +
						'</tr>' +
					'</table>';
	return text;
}

