// Generated by trk2googlemaps and kml ( http://etoh.minidns.net/gps/ )
// 本コードはtrk2googlemaps and kmlによって自動生成されました。
numofwaypoints=0;
posofwaypoints=0;
numofphotos=91;
posofphotos=0;
waypoint_markers = [];
waypoint_infos   = [];
photo_markers    = [];
photo_infos      = [];
var points = [];
var map;
var currentzoom;
var key = "ABQIAAAAvjZd_JDk5wPw86UfmaYAdxS-3qfp1sLmxQ-OAHtUVe1j7exPahRehzrtMXbZmWx3qkc6fD6RJ8-O8Q";
var movemarkerIcon;
   
// グラフマウスオーバ用のJavaScript
if (document.images)
{
	// 時刻－高度
	var alt = new Image();
	alt.src = "mitake.files/time-alt.png";

	// 時刻－距離
	var dist = new Image();
	dist.src = "mitake.files/time-dst.png";

	// 時刻－速度
	var speed = new Image();
	speed.src = "mitake.files/time-speed.png";
}

// マウスオーバ時
function On(name) 
{
	if (document.images) 
	{
		document.images['graphimage'].src = eval(name + '.src');
	}
}

// ウェイポイント表示用関数
function addWayPoints(map, nType, lat, lon, title)
{
	var point=new GLatLng(lon, lat);
	var Icon = new GIcon();
	var nn;
	if (nType==1){ // 小さな赤いマーカ
		nn=posofphotos+1;
		Icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";
		Icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
		Icon.iconSize = new GSize(12, 20);
		Icon.shadowSize = new GSize(22, 20);
		Icon.iconAnchor = new GPoint(6, 20);
		Icon.infoWindowAnchor = new GPoint(5, 1);

		photo_markers.push(new GMarker(point, Icon));
		photo_infos.push('<div style="width: 12em; style: font-size: small">'+title+'</div>');
		GEvent.addListener(photo_markers[posofphotos], "click", function(){jumpphotomarker(nn);});
		map.addOverlay(photo_markers[posofphotos]);
		posofphotos = posofphotos+1;

	}
	else
	{ // |>の形状のマーカ
		nn=posofwaypoints+1;
		Icon.image = "http://www.google.com/mapfiles/dd-start.png";
		Icon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		Icon.iconSize = new GSize(20, 34);
		Icon.shadowSize = new GSize(37, 34);
		Icon.iconAnchor = new GPoint(9, 34);
		Icon.infoWindowAnchor = new GPoint(9, 2);

		waypoint_markers.push(new GMarker(point, Icon));
		waypoint_infos.push('<div style="width: 12em; style: font-size: small">'+title+'</div>');
		GEvent.addListener(waypoint_markers[posofwaypoints], "click",function(){jumpwaypointmarker(nn);});
		map.addOverlay(waypoint_markers[posofwaypoints]);
		posofwaypoints=posofwaypoints+1;
	}
}
	

// HTMLロード時
function load()
{
	// 初期化パラメータ
	var mapwidth=640;  // 地図の幅を設定します。
	var mapheight=480; // 地図の高さを設定します。
	var zoom=-1;    // この値を変更すると初期ズーム値が変わります。-1の場合は自動となります。
	var linecolor="#FF0000"; // この値を変更すると、線の色が変わります。
	var linewidth=2; // この値を変更すると、線の太さが変わります。 
	var lineopacity=1.00;   // この値を変更すると、線の透明度が変わります。
	var defaultmaptype=0; // この値を変更すると初期のマップタイプが変更されます。
	var wpt_points = [];

	// トラックデータ列です。
		points.push(new GLatLng(35.89146,139.6111));
	points.push(new GLatLng(35.89244,139.61));
	points.push(new GLatLng(35.89388,139.6081));
	points.push(new GLatLng(35.89574,139.6058));
	points.push(new GLatLng(35.89722,139.6038));
	points.push(new GLatLng(35.90017,139.6003));
	points.push(new GLatLng(35.90684,139.5958));
	points.push(new GLatLng(35.92626,139.5921));
	points.push(new GLatLng(35.92647,139.5903));
	points.push(new GLatLng(35.92403,139.5726));
	points.push(new GLatLng(35.92364,139.5668));
	points.push(new GLatLng(35.91827,139.5563));
	points.push(new GLatLng(35.91605,139.5493));
	points.push(new GLatLng(35.91508,139.5462));
	points.push(new GLatLng(35.91386,139.5424));
	points.push(new GLatLng(35.91302,139.534));
	points.push(new GLatLng(35.9137,139.5318));
	points.push(new GLatLng(35.91446,139.5297));
	points.push(new GLatLng(35.91534,139.5242));
	points.push(new GLatLng(35.9157,139.523));
	points.push(new GLatLng(35.91768,139.5175));
	points.push(new GLatLng(35.91834,139.5154));
	points.push(new GLatLng(35.91862,139.5143));
	points.push(new GLatLng(35.91898,139.5114));
	points.push(new GLatLng(35.91946,139.5068));
	points.push(new GLatLng(35.91952,139.5056));
	points.push(new GLatLng(35.9195,139.5052));
	points.push(new GLatLng(35.91894,139.4988));
	points.push(new GLatLng(35.92789,139.4919));
	points.push(new GLatLng(35.92957,139.4906));
	points.push(new GLatLng(35.93117,139.4894));
	points.push(new GLatLng(35.93424,139.487));
	points.push(new GLatLng(35.93505,139.4864));
	points.push(new GLatLng(35.93589,139.4857));
	points.push(new GLatLng(35.94168,139.4804));
	points.push(new GLatLng(35.94272,139.4793));
	points.push(new GLatLng(35.94418,139.4777));
	points.push(new GLatLng(35.94447,139.4775));
	points.push(new GLatLng(35.9458,139.4768));
	points.push(new GLatLng(35.95023,139.4747));
	points.push(new GLatLng(35.95115,139.4745));
	points.push(new GLatLng(35.95383,139.4738));
	points.push(new GLatLng(35.96447,139.4712));
	points.push(new GLatLng(35.96851,139.4703));
	points.push(new GLatLng(35.97162,139.4696));
	points.push(new GLatLng(35.97364,139.4689));
	points.push(new GLatLng(35.97469,139.4684));
	points.push(new GLatLng(35.97353,139.4662));
	points.push(new GLatLng(35.97374,139.4648));
	points.push(new GLatLng(35.97409,139.4627));
	points.push(new GLatLng(35.97422,139.4619));
	points.push(new GLatLng(35.97316,139.4621));
	points.push(new GLatLng(35.97123,139.4626));
	points.push(new GLatLng(35.96978,139.4635));
	points.push(new GLatLng(35.96598,139.4548));
	points.push(new GLatLng(35.96533,139.4533));
	points.push(new GLatLng(35.9636,139.4442));
	points.push(new GLatLng(35.96535,139.4384));
	points.push(new GLatLng(35.96619,139.432));
	points.push(new GLatLng(35.96731,139.43));
	points.push(new GLatLng(35.96705,139.4257));
	points.push(new GLatLng(35.96793,139.4217));
	points.push(new GLatLng(35.96847,139.4193));
	points.push(new GLatLng(35.96849,139.4172));
	points.push(new GLatLng(35.96842,139.4161));
	points.push(new GLatLng(35.96786,139.4143));
	points.push(new GLatLng(35.9675,139.4133));
	points.push(new GLatLng(35.96726,139.4128));
	points.push(new GLatLng(35.96677,139.4111));
	points.push(new GLatLng(35.96729,139.4014));
	points.push(new GLatLng(35.9692,139.3981));
	points.push(new GLatLng(35.97141,139.3943));
	points.push(new GLatLng(35.96626,139.3903));
	points.push(new GLatLng(35.96293,139.3885));
	points.push(new GLatLng(35.95179,139.3817));
	points.push(new GLatLng(35.95173,139.3817));
	points.push(new GLatLng(35.95139,139.381));
	points.push(new GLatLng(35.95059,139.3794));
	points.push(new GLatLng(35.94946,139.3776));
	points.push(new GLatLng(35.94825,139.3757));
	points.push(new GLatLng(35.94802,139.3754));
	points.push(new GLatLng(35.94675,139.3743));
	points.push(new GLatLng(35.94242,139.3694));
	points.push(new GLatLng(35.93887,139.3661));
	points.push(new GLatLng(35.93739,139.3644));
	points.push(new GLatLng(35.93643,139.3633));
	points.push(new GLatLng(35.93581,139.3613));
	points.push(new GLatLng(35.93218,139.3565));
	points.push(new GLatLng(35.93036,139.3551));
	points.push(new GLatLng(35.92712,139.3506));
	points.push(new GLatLng(35.91789,139.3427));
	points.push(new GLatLng(35.91349,139.3357));
	points.push(new GLatLng(35.90914,139.3318));
	points.push(new GLatLng(35.90218,139.3286));
	points.push(new GLatLng(35.89652,139.3287));
	points.push(new GLatLng(35.89622,139.3286));
	points.push(new GLatLng(35.89077,139.3294));
	points.push(new GLatLng(35.88961,139.3287));
	points.push(new GLatLng(35.8891,139.328));
	points.push(new GLatLng(35.88807,139.3227));
	points.push(new GLatLng(35.88807,139.3205));
	points.push(new GLatLng(35.8865,139.318));
	points.push(new GLatLng(35.88615,139.3171));
	points.push(new GLatLng(35.88602,139.3105));
	points.push(new GLatLng(35.8856,139.3056));
	points.push(new GLatLng(35.88549,139.3038));
	points.push(new GLatLng(35.88543,139.3037));
	points.push(new GLatLng(35.87746,139.2984));
	points.push(new GLatLng(35.87671,139.2986));
	points.push(new GLatLng(35.87469,139.3003));
	points.push(new GLatLng(35.87407,139.3006));
	points.push(new GLatLng(35.87127,139.2937));
	points.push(new GLatLng(35.87163,139.2899));
	points.push(new GLatLng(35.86776,139.2865));
	points.push(new GLatLng(35.86562,139.2857));
	points.push(new GLatLng(35.86869,139.2818));
	points.push(new GLatLng(35.86937,139.2784));
	points.push(new GLatLng(35.86864,139.2776));
	points.push(new GLatLng(35.86736,139.2766));
	points.push(new GLatLng(35.86622,139.2708));
	points.push(new GLatLng(35.86727,139.2677));
	points.push(new GLatLng(35.86995,139.2625));
	points.push(new GLatLng(35.86764,139.2564));
	points.push(new GLatLng(35.86744,139.2561));
	points.push(new GLatLng(35.86822,139.2489));
	points.push(new GLatLng(35.87006,139.243));
	points.push(new GLatLng(35.87072,139.2409));
	points.push(new GLatLng(35.87051,139.241));
	points.push(new GLatLng(35.87068,139.2398));
	points.push(new GLatLng(35.87101,139.2375));
	points.push(new GLatLng(35.86729,139.2346));
	points.push(new GLatLng(35.86588,139.2355));
	points.push(new GLatLng(35.86575,139.2356));
	points.push(new GLatLng(35.86369,139.235));
	points.push(new GLatLng(35.86171,139.2224));
	points.push(new GLatLng(35.86165,139.2222));
	points.push(new GLatLng(35.85914,139.2186));
	points.push(new GLatLng(35.85897,139.2183));
	points.push(new GLatLng(35.85828,139.2155));
	points.push(new GLatLng(35.85747,139.2068));
	points.push(new GLatLng(35.85521,139.2041));
	points.push(new GLatLng(35.85437,139.2038));
	points.push(new GLatLng(35.85092,139.2016));
	points.push(new GLatLng(35.85322,139.1994));
	points.push(new GLatLng(35.85225,139.1984));
	points.push(new GLatLng(35.85328,139.1971));
	points.push(new GLatLng(35.85553,139.1923));
	points.push(new GLatLng(35.8568,139.1914));
	points.push(new GLatLng(35.85749,139.1907));
	points.push(new GLatLng(35.86023,139.1882));
	points.push(new GLatLng(35.85931,139.1835));
	points.push(new GLatLng(35.86017,139.1871));
	points.push(new GLatLng(35.86047,139.188));
	points.push(new GLatLng(35.86008,139.1883));
	points.push(new GLatLng(35.8577,139.1905));
	points.push(new GLatLng(35.8556,139.1923));
	points.push(new GLatLng(35.85378,139.196));
	points.push(new GLatLng(35.85249,139.1982));
	points.push(new GLatLng(35.8554,139.2042));
	points.push(new GLatLng(35.85749,139.2068));
	points.push(new GLatLng(35.85648,139.2104));
	points.push(new GLatLng(35.85751,139.2116));
	points.push(new GLatLng(35.85862,139.2147));
	points.push(new GLatLng(35.85852,139.2148));
	points.push(new GLatLng(35.85843,139.2162));
	points.push(new GLatLng(35.85892,139.2181));
	points.push(new GLatLng(35.85933,139.2188));
	points.push(new GLatLng(35.86294,139.2243));
	points.push(new GLatLng(35.86317,139.2252));
	points.push(new GLatLng(35.86317,139.2263));
	points.push(new GLatLng(35.86425,139.2355));
	points.push(new GLatLng(35.86761,139.2345));
	points.push(new GLatLng(35.87118,139.2366));
	points.push(new GLatLng(35.87101,139.238));
	points.push(new GLatLng(35.87066,139.2403));
	points.push(new GLatLng(35.87056,139.2412));
	points.push(new GLatLng(35.87113,139.2366));
	points.push(new GLatLng(35.86736,139.2347));
	points.push(new GLatLng(35.86618,139.2354));
	points.push(new GLatLng(35.86345,139.2347));
	points.push(new GLatLng(35.86068,139.2324));
	points.push(new GLatLng(35.86019,139.2315));
	points.push(new GLatLng(35.86013,139.2313));
	points.push(new GLatLng(35.86279,139.224));
	points.push(new GLatLng(35.86176,139.2224));
	points.push(new GLatLng(35.86167,139.2223));
	points.push(new GLatLng(35.85892,139.2182));
	points.push(new GLatLng(35.85847,139.2164));
	points.push(new GLatLng(35.85864,139.2123));
	points.push(new GLatLng(35.85854,139.2122));
	points.push(new GLatLng(35.85753,139.2069));
	points.push(new GLatLng(35.8527,139.2041));
	points.push(new GLatLng(35.85378,139.199));
	points.push(new GLatLng(35.85418,139.1981));
	points.push(new GLatLng(35.8547,139.1964));
	points.push(new GLatLng(35.85526,139.1949));
	points.push(new GLatLng(35.85599,139.1934));
	points.push(new GLatLng(35.85671,139.1929));
	points.push(new GLatLng(35.85845,139.1918));
	points.push(new GLatLng(35.85929,139.1906));
	points.push(new GLatLng(35.86051,139.189));
	points.push(new GLatLng(35.86519,139.1879));
	points.push(new GLatLng(35.86609,139.1873));
	points.push(new GLatLng(35.87242,139.1863));
	points.push(new GLatLng(35.87263,139.1856));
	points.push(new GLatLng(35.87287,139.1841));
	points.push(new GLatLng(35.87223,139.1793));
	points.push(new GLatLng(35.87321,139.1783));
	points.push(new GLatLng(35.87379,139.1777));
	points.push(new GLatLng(35.87519,139.175));
	points.push(new GLatLng(35.87482,139.1727));
	points.push(new GLatLng(35.87532,139.1706));
	points.push(new GLatLng(35.87527,139.1664));
	points.push(new GLatLng(35.87549,139.1641));
	points.push(new GLatLng(35.8753,139.1556));
	points.push(new GLatLng(35.87513,139.1543));
	points.push(new GLatLng(35.87714,139.1474));
	points.push(new GLatLng(35.88547,139.1404));
	points.push(new GLatLng(35.88585,139.1374));
	points.push(new GLatLng(35.89253,139.1304));
	points.push(new GLatLng(35.89289,139.1294));
	points.push(new GLatLng(35.88858,139.1214));
	points.push(new GLatLng(35.88817,139.1223));
	points.push(new GLatLng(35.88508,139.1191));
	points.push(new GLatLng(35.88454,139.1179));
	points.push(new GLatLng(35.88337,139.1169));
	points.push(new GLatLng(35.88064,139.1086));
	points.push(new GLatLng(35.8865,139.1131));
	points.push(new GLatLng(35.89313,139.0987));
	points.push(new GLatLng(35.90463,139.1005));
	points.push(new GLatLng(35.91285,139.083));
	points.push(new GLatLng(35.91482,139.0804));
	points.push(new GLatLng(35.91864,139.0759));
	points.push(new GLatLng(35.92055,139.0708));
	points.push(new GLatLng(35.93061,139.067));
	points.push(new GLatLng(35.93201,139.0664));
	points.push(new GLatLng(35.9331,139.0663));
	points.push(new GLatLng(35.93589,139.0643));
	points.push(new GLatLng(35.93733,139.0612));
	points.push(new GLatLng(35.93801,139.06));
	points.push(new GLatLng(35.94297,139.0607));
	points.push(new GLatLng(35.94437,139.0589));
	points.push(new GLatLng(35.94568,139.0591));
	points.push(new GLatLng(35.94823,139.058));
	points.push(new GLatLng(35.94836,139.0579));
	points.push(new GLatLng(35.9495,139.0562));
	points.push(new GLatLng(35.95124,139.0551));
	points.push(new GLatLng(35.95409,139.0552));
	points.push(new GLatLng(35.95437,139.0554));
	points.push(new GLatLng(35.95872,139.0547));
	points.push(new GLatLng(35.95939,139.056));
	points.push(new GLatLng(35.95958,139.0564));
	points.push(new GLatLng(35.96048,139.0577));
	points.push(new GLatLng(35.9608,139.0587));
	points.push(new GLatLng(35.96115,139.0603));
	points.push(new GLatLng(35.96173,139.061));
	points.push(new GLatLng(35.96722,139.0617));
	points.push(new GLatLng(35.96701,139.0602));
	points.push(new GLatLng(35.96561,139.0566));
	points.push(new GLatLng(35.96501,139.0557));
	points.push(new GLatLng(35.96016,139.0457));
	points.push(new GLatLng(35.95986,139.0446));
	points.push(new GLatLng(35.95977,139.0432));
	points.push(new GLatLng(35.95965,139.041));
	points.push(new GLatLng(35.9596,139.0398));
	points.push(new GLatLng(35.95986,139.0388));
	points.push(new GLatLng(35.95892,139.0345));
	points.push(new GLatLng(35.95561,139.0293));
	points.push(new GLatLng(35.95405,139.0254));
	points.push(new GLatLng(35.95409,139.0224));
	points.push(new GLatLng(35.95413,139.0203));
	points.push(new GLatLng(35.95443,139.0192));
	points.push(new GLatLng(35.95701,139.0119));
	points.push(new GLatLng(35.95707,139.0115));
	points.push(new GLatLng(35.9586,139.0063));
	points.push(new GLatLng(35.95896,139.0049));
	points.push(new GLatLng(35.96227,138.9981));
	points.push(new GLatLng(35.96411,138.9881));
	points.push(new GLatLng(35.964,138.9864));
	points.push(new GLatLng(35.96398,138.9863));
	points.push(new GLatLng(35.96383,138.9839));
	points.push(new GLatLng(35.96441,138.9822));
	points.push(new GLatLng(35.96351,138.978));
	points.push(new GLatLng(35.96225,138.9757));
	points.push(new GLatLng(35.96383,138.9772));
	points.push(new GLatLng(35.96939,138.9762));
	points.push(new GLatLng(35.96398,138.9774));
	points.push(new GLatLng(35.96864,138.9748));
	points.push(new GLatLng(35.97186,138.9719));
	points.push(new GLatLng(35.97435,138.9714));
	points.push(new GLatLng(35.97529,138.9724));
	points.push(new GLatLng(35.97379,138.9654));
	points.push(new GLatLng(35.97061,138.9517));
	points.push(new GLatLng(35.96995,138.9474));
	points.push(new GLatLng(35.96877,138.9465));
	points.push(new GLatLng(35.94876,138.9434));
	points.push(new GLatLng(35.94806,138.9443));
	points.push(new GLatLng(35.94473,138.9444));
	points.push(new GLatLng(35.94149,138.9461));
	points.push(new GLatLng(35.93656,138.9466));
	points.push(new GLatLng(35.93675,138.9479));
	points.push(new GLatLng(35.93712,138.9499));
	points.push(new GLatLng(35.93722,138.9503));
	points.push(new GLatLng(35.93776,138.9516));
	points.push(new GLatLng(35.9389,138.9544));
	points.push(new GLatLng(35.94113,138.9561));
	points.push(new GLatLng(35.94106,138.9571));
	points.push(new GLatLng(35.93855,138.9586));
	points.push(new GLatLng(35.9371,138.9614));
	points.push(new GLatLng(35.93795,138.9624));
	points.push(new GLatLng(35.93971,138.9658));
	points.push(new GLatLng(35.94197,138.9674));
	points.push(new GLatLng(35.94306,138.9668));
	points.push(new GLatLng(35.94669,138.9695));
	points.push(new GLatLng(35.94695,138.9691));
	points.push(new GLatLng(35.9493,138.9653));
	points.push(new GLatLng(35.94988,138.964));
	points.push(new GLatLng(35.9519,138.9629));
	points.push(new GLatLng(35.95624,138.9636));
	points.push(new GLatLng(35.95971,138.9704));
	points.push(new GLatLng(35.95999,138.971));
	points.push(new GLatLng(35.96134,138.974));
	points.push(new GLatLng(35.96231,138.9756));
	points.push(new GLatLng(35.96404,138.9862));
	points.push(new GLatLng(35.96353,138.9893));
	points.push(new GLatLng(35.96177,138.9956));
	points.push(new GLatLng(35.96177,138.9959));
	points.push(new GLatLng(35.96235,138.998));
	points.push(new GLatLng(35.96209,138.9999));
	points.push(new GLatLng(35.96205,139.0001));
	points.push(new GLatLng(35.95889,139.0052));
	points.push(new GLatLng(35.95883,139.0053));
	points.push(new GLatLng(35.95679,139.0134));
	points.push(new GLatLng(35.95664,139.014));
	points.push(new GLatLng(35.95482,139.0187));
	points.push(new GLatLng(35.95413,139.0225));
	points.push(new GLatLng(35.95366,139.0271));
	points.push(new GLatLng(35.95832,139.0315));
	points.push(new GLatLng(35.95993,139.0383));
	points.push(new GLatLng(35.95971,139.0399));
	points.push(new GLatLng(35.96317,139.0524));
	points.push(new GLatLng(35.96329,139.0526));
	points.push(new GLatLng(35.96583,139.0575));
	points.push(new GLatLng(35.96922,139.0616));
	points.push(new GLatLng(35.98164,139.0772));
	points.push(new GLatLng(35.99134,139.0934));
	points.push(new GLatLng(35.98949,139.0969));
	points.push(new GLatLng(35.98904,139.0979));
	points.push(new GLatLng(35.98724,139.1012));
	points.push(new GLatLng(35.99173,139.1113));
	points.push(new GLatLng(35.99235,139.1136));
	points.push(new GLatLng(35.99303,139.1168));
	points.push(new GLatLng(35.99479,139.1264));
	points.push(new GLatLng(35.99222,139.1441));
	points.push(new GLatLng(35.991,139.1455));
	points.push(new GLatLng(35.99553,139.1433));
	points.push(new GLatLng(35.99048,139.1573));
	points.push(new GLatLng(35.9873,139.1596));
	points.push(new GLatLng(35.98529,139.1653));
	points.push(new GLatLng(35.98473,139.1693));
	points.push(new GLatLng(35.98082,139.174));
	points.push(new GLatLng(35.96978,139.1834));
	points.push(new GLatLng(35.96973,139.185));
	points.push(new GLatLng(35.9699,139.1856));
	points.push(new GLatLng(35.97119,139.1838));
	points.push(new GLatLng(35.98503,139.1912));
	points.push(new GLatLng(35.98267,139.1977));
	points.push(new GLatLng(35.9825,139.199));
	points.push(new GLatLng(35.98698,139.2038));
	points.push(new GLatLng(35.98709,139.2041));
	points.push(new GLatLng(35.98954,139.2082));
	points.push(new GLatLng(35.99029,139.2081));
	points.push(new GLatLng(35.99171,139.2098));
	points.push(new GLatLng(35.99207,139.2111));
	points.push(new GLatLng(35.99574,139.2136));
	points.push(new GLatLng(35.99593,139.2151));
	points.push(new GLatLng(35.9954,139.2158));
	points.push(new GLatLng(35.99411,139.2162));
	points.push(new GLatLng(35.99406,139.2174));
	points.push(new GLatLng(35.99512,139.2183));
	points.push(new GLatLng(35.99829,139.2244));
	points.push(new GLatLng(35.99825,139.2259));
	points.push(new GLatLng(36.00166,139.2292));
	points.push(new GLatLng(36.00205,139.2302));
	points.push(new GLatLng(36.00211,139.2305));
	points.push(new GLatLng(36.0023,139.2326));
	points.push(new GLatLng(36.00385,139.2391));
	points.push(new GLatLng(36.00694,139.2418));
	points.push(new GLatLng(36.00655,139.2447));
	points.push(new GLatLng(36.00608,139.2455));
	points.push(new GLatLng(36.00492,139.2469));
	points.push(new GLatLng(36.0055,139.2564));
	points.push(new GLatLng(36.00527,139.265));
	points.push(new GLatLng(36.00773,139.2624));
	points.push(new GLatLng(36.00793,139.2635));
	points.push(new GLatLng(36.0084,139.2683));
	points.push(new GLatLng(36.01102,139.2695));
	points.push(new GLatLng(36.01743,139.2733));
	points.push(new GLatLng(36.01443,139.2766));
	points.push(new GLatLng(36.01299,139.2826));
	wpt_points.push(new GLatLng(35.97465,139.467166666667));
	wpt_points.push(new GLatLng(35.97465,139.467216666667));
	wpt_points.push(new GLatLng(35.8706666666667,139.241166666667));
	wpt_points.push(new GLatLng(35.8706666666667,139.241166666667));
	wpt_points.push(new GLatLng(35.8599166666667,139.171666666667));
	wpt_points.push(new GLatLng(35.8599333333333,139.171683333333));
	wpt_points.push(new GLatLng(35.8616166666667,139.170583333333));
	wpt_points.push(new GLatLng(35.8601,139.161416666667));
	wpt_points.push(new GLatLng(35.85835,139.176866666667));
	wpt_points.push(new GLatLng(35.85875,139.178266666667));
	wpt_points.push(new GLatLng(35.85755,139.176883333333));
	wpt_points.push(new GLatLng(35.8574833333333,139.176783333333));
	wpt_points.push(new GLatLng(35.8706666666667,139.24135));
	wpt_points.push(new GLatLng(35.8706666666667,139.24135));
	wpt_points.push(new GLatLng(35.8561833333333,139.205183333333));
	wpt_points.push(new GLatLng(35.8731333333333,139.177583333333));
	wpt_points.push(new GLatLng(35.8731333333333,139.177583333333));
	wpt_points.push(new GLatLng(35.8777666666667,139.110933333333));
	wpt_points.push(new GLatLng(35.8777666666667,139.110933333333));
	wpt_points.push(new GLatLng(35.8777833333333,139.11095));
	wpt_points.push(new GLatLng(35.8777833333333,139.11095));
	wpt_points.push(new GLatLng(35.8777666666667,139.11095));
	wpt_points.push(new GLatLng(35.95285,139.053966666667));
	wpt_points.push(new GLatLng(35.95285,139.053966666667));
	wpt_points.push(new GLatLng(35.95285,139.053966666667));
	wpt_points.push(new GLatLng(35.95285,139.05395));
	wpt_points.push(new GLatLng(35.95285,139.05395));
	wpt_points.push(new GLatLng(35.97605,138.96985));
	wpt_points.push(new GLatLng(35.971,138.952133333333));
	wpt_points.push(new GLatLng(35.971,138.9521));
	wpt_points.push(new GLatLng(35.971,138.952083333333));
	wpt_points.push(new GLatLng(35.97,138.947633333333));
	wpt_points.push(new GLatLng(35.97015,138.948616666667));
	wpt_points.push(new GLatLng(35.97015,138.948616666667));
	wpt_points.push(new GLatLng(35.9701666666667,138.9486));
	wpt_points.push(new GLatLng(35.9609,138.94765));
	wpt_points.push(new GLatLng(35.9640333333333,138.9405));
	wpt_points.push(new GLatLng(35.96395,138.940566666667));
	wpt_points.push(new GLatLng(35.9640166666667,138.940416666667));
	wpt_points.push(new GLatLng(35.9394,138.9478));
	wpt_points.push(new GLatLng(35.93935,138.947716666667));
	wpt_points.push(new GLatLng(35.8598666666667,139.171683333333));
	wpt_points.push(new GLatLng(35.8598666666667,139.171683333333));
	wpt_points.push(new GLatLng(35.8598666666667,139.171783333333));
	wpt_points.push(new GLatLng(35.8598666666667,139.171783333333));
	wpt_points.push(new GLatLng(35.8615333333333,139.170533333333));
	wpt_points.push(new GLatLng(35.8615333333333,139.170533333333));
	wpt_points.push(new GLatLng(35.8615166666667,139.170616666667));
	wpt_points.push(new GLatLng(35.8615333333333,139.17065));
	wpt_points.push(new GLatLng(35.8600333333333,139.16145));
	wpt_points.push(new GLatLng(35.8599833333333,139.161516666667));
	wpt_points.push(new GLatLng(35.8706666666667,139.241283333333));
	wpt_points.push(new GLatLng(35.87065,139.241283333333));
	wpt_points.push(new GLatLng(35.8730666666667,139.177633333333));
	wpt_points.push(new GLatLng(35.8731666666667,139.177466666667));
	wpt_points.push(new GLatLng(35.8778666666667,139.110916666667));
	wpt_points.push(new GLatLng(35.87775,139.110916666667));
	wpt_points.push(new GLatLng(35.8778333333333,139.110866666667));
	wpt_points.push(new GLatLng(35.87765,139.110916666667));
	wpt_points.push(new GLatLng(35.8778,139.110916666667));
	wpt_points.push(new GLatLng(35.8778333333333,139.110966666667));
	wpt_points.push(new GLatLng(35.87775,139.111016666667));
	wpt_points.push(new GLatLng(35.8778166666667,139.110933333333));
	wpt_points.push(new GLatLng(35.8777,139.11085));
	wpt_points.push(new GLatLng(35.87775,139.111183333333));
	wpt_points.push(new GLatLng(35.9529166666667,139.05385));
	wpt_points.push(new GLatLng(35.9528,139.053966666667));
	wpt_points.push(new GLatLng(35.9528,139.053933333333));
	wpt_points.push(new GLatLng(35.9761333333333,138.96975));
	wpt_points.push(new GLatLng(35.9710833333333,138.9521));
	wpt_points.push(new GLatLng(35.9710833333333,138.952016666667));
	wpt_points.push(new GLatLng(35.971,138.952233333333));
	wpt_points.push(new GLatLng(35.97015,138.948683333333));
	wpt_points.push(new GLatLng(35.9702833333333,138.948683333333));
	wpt_points.push(new GLatLng(35.9702333333333,138.948683333333));
	wpt_points.push(new GLatLng(35.9700666666667,138.948683333333));
	wpt_points.push(new GLatLng(35.9611333333333,138.947616666667));
	wpt_points.push(new GLatLng(35.9611,138.947616666667));
	wpt_points.push(new GLatLng(35.9609833333333,138.947633333333));
	wpt_points.push(new GLatLng(35.93935,138.9477));
	wpt_points.push(new GLatLng(35.9544833333333,139.013216666667));
	wpt_points.push(new GLatLng(35.9544333333333,139.013216666667));
	wpt_points.push(new GLatLng(36.0191333333333,139.283716666667));
	wpt_points.push(new GLatLng(36.0190666666667,139.283783333333));
	wpt_points.push(new GLatLng(35.8908666666667,139.1323));
	wpt_points.push(new GLatLng(35.9699833333333,138.947583333333));
	wpt_points.push(new GLatLng(35.9395333333333,138.946716666667));
	wpt_points.push(new GLatLng(35.9394666666667,138.96525));
	wpt_points.push(new GLatLng(35.9907833333333,139.10795));
	wpt_points.push(new GLatLng(36.00615,139.263));
	wpt_points.push(new GLatLng(36.00605,139.262883333333));


	// 表示の中心位置・サイズを算出します。
	var xavg=0;
	var yavg=0;
	var xmin=181;
	var xmax=-181;
	var ymin=91;
	var ymax=-91;
	for (var i=0; i<points.length; i++)
	{
		if (xmin>points[i].x) xmin=points[i].x;
		if (xmax<points[i].x) xmax=points[i].x;
		if (ymin>points[i].y) ymin=points[i].y;
		if (ymax<points[i].y) ymax=points[i].y;
	}
	for (var i=0; i<wpt_points.length; i++)
	{
		if (xmin>wpt_points[i].x) xmin=wpt_points[i].x;
		if (xmax<wpt_points[i].x) xmax=wpt_points[i].x;
		if (ymin>wpt_points[i].y) ymin=wpt_points[i].y;
		if (ymax<wpt_points[i].y) ymax=wpt_points[i].y;
	}
		
	xavg=(xmax+xmin)/2;
	yavg=(ymax+ymin)/2;
	var centerpos=new GLatLng( yavg, xavg);
	var region=new GLatLngBounds(new GLatLng(ymin,xmin), new GLatLng(ymax, xmax));
	
	// マップ初期化	
	map = new GMap2(document.getElementById("map"));
	map.addControl(new GLargeMapControl());
	map.addMapType(G_PHYSICAL_MAP);
	map.addControl(new GHierarchicalMapTypeControl());
	map.enableContinuousZoom();
	map.enableDoubleClickZoom();
	map.addControl(new GOverviewMapControl());
	
	if (zoom>0)
	{
		map.setCenter(centerpos, 17-zoom);
	}
	else
	{
		map.setCenter(centerpos, map.getBoundsZoomLevel(region));
	}
	
	// 軌跡再生アイコン
	movemarkerIcon = new GIcon();
	movemarkerIcon.iconSize = new GSize(32, 32);
	movemarkerIcon.shadowSize = new GSize(59, 32);
	movemarkerIcon.iconAnchor = new GPoint(16, 16);
	movemarkerIcon.infoWindowAnchor = new GPoint(1, 1);
	movemarkerIcon.image = "http://maps.google.co.jp/mapfiles/ms/icons/motorcycling.png";
	movemarkerIcon.shadow = "http://maps.google.co.jp/mapfiles/ms/icons/motorcycling.shadow.png";

	var overlay;
	if (points.length > 0)
	{
		//var encoded_points = "{36}";
		//var encoded_levels = "{37}";
		//overlay = GPolyline.fromEncoded({color: linecolor,
	    //                                      weight: linewidth,
	    //                                      points: encoded_points,
	    //                                      zoomFactor: 32,
		//                                      levels: encoded_levels,
		//                                      numLevels: 4
		//                                    });
		//map.addOverlay(overlay); 
		
		// トラックログがあった場合：
		// 線の色と幅と不透明度を設定します。
		var polyline= new GPolyline(points, linecolor, linewidth, lineopacity);

		// 線を描画します。
		map.addOverlay(polyline);
	}
		
	// 初期マップタイプ設定
	switch(defaultmaptype)
	{
		case 0:
		map.setMapType(G_NORMAL_MAP);   	//This is the normal street map type.
		break;
		
		case 1:
		map.setMapType(G_SATELLITE_MAP); //This map type shows Google Earth satellite images.
		break;
	
		case 2:
		map.setMapType(G_HYBRID_MAP); 	//This map type shows transparent street maps over Google Earth satellite images.
		break;
		
		case 3:
		map.setMapType(G_PHYSICAL_MAP); 
		break;		
	
		default:
		map.setMapType(G_NORMAL_MAP);
		break;
	}
	addWayPoints(map, 1,139.467166666667,35.97465,"<b><a href=\""+relativepathtomainhtml+"#photoID1\">IMG_3975</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3975.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3975-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 08:33:43<br />E139°28′1.80″<br />N35°58′28.74″<br />埼玉県比企郡川島町上伊草<hr /></small>");
	addWayPoints(map, 1,139.467216666667,35.97465,"<b><a href=\""+relativepathtomainhtml+"#photoID2\">IMG_3976</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3976.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3976-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 09:11:12<br />E139°28′1.98″<br />N35°58′28.74″<br />8m<br />埼玉県比企郡川島町上伊草<hr /></small>");
	addWayPoints(map, 1,139.241166666667,35.8706666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID3\">IMG_3977</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3977.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3977-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 10:07:08<br />E139°14′28.20″<br />N35°52′14.40″<br />143m<br />埼玉県飯能市上赤工<hr /></small>");
	addWayPoints(map, 1,139.241166666667,35.8706666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID4\">IMG_3978</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3978.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3978-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 10:07:24<br />E139°14′28.20″<br />N35°52′14.40″<br />141m<br />埼玉県飯能市上赤工<hr /></small>");
	addWayPoints(map, 1,139.171666666667,35.8599166666667,"<b><a href=\""+relativepathtomainhtml+"#photoID5\">IMG_3979</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3979.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3979-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 10:37:39<br />E139°10′18.00″<br />N35°51′35.70″<br />592m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.171683333333,35.8599333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID6\">IMG_3980</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3980.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3980-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 10:38:01<br />E139°10′18.06″<br />N35°51′35.76″<br />594m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.170583333333,35.8616166666667,"<b><a href=\""+relativepathtomainhtml+"#photoID7\">IMG_3981</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3981.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3981-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 10:48:12<br />E139°10′14.10″<br />N35°51′41.82″<br />713m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.161416666667,35.8601,"<b><a href=\""+relativepathtomainhtml+"#photoID8\">IMG_3982</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3982.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3982-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:27:27<br />E139°9′41.10″<br />N35°51′36.36″<br />676m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.176866666667,35.85835,"<b><a href=\""+relativepathtomainhtml+"#photoID9\">IMG_3983</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3983.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3983-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:41:03<br />E139°10′36.72″<br />N35°51′30.06″<br />400m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.178266666667,35.85875,"<b><a href=\""+relativepathtomainhtml+"#photoID10\">IMG_3984</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3984.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3984-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:41:23<br />E139°10′41.76″<br />N35°51′31.50″<br />370m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.176883333333,35.85755,"<b><a href=\""+relativepathtomainhtml+"#photoID11\">IMG_3985</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3985.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3985-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:41:50<br />E139°10′36.78″<br />N35°51′27.18″<br />365m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.176783333333,35.8574833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID12\">IMG_3986</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3986.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3986-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:41:52<br />E139°10′36.42″<br />N35°51′26.94″<br />363m<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.24135,35.8706666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID13\">IMG_3987</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3987.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3987-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:04:11<br />E139°14′28.86″<br />N35°52′14.40″<br />159m<br />埼玉県飯能市上赤工<hr /></small>");
	addWayPoints(map, 1,139.24135,35.8706666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID14\">IMG_3988</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3988.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3988-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:04:16<br />E139°14′28.86″<br />N35°52′14.40″<br />159m<br />埼玉県飯能市上赤工<hr /></small>");
	addWayPoints(map, 1,139.205183333333,35.8561833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID15\">IMG_3989</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3989.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3989-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:23:13<br />E139°12′18.66″<br />N35°51′22.26″<br />210m<br />埼玉県飯能市赤沢<hr /></small>");
	addWayPoints(map, 1,139.177583333333,35.8731333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID16\">IMG_3990</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3990.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3990-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:30:09<br />E139°10′39.30″<br />N35°52′23.28″<br />328m<br />埼玉県飯能市南<hr /></small>");
	addWayPoints(map, 1,139.177583333333,35.8731333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID17\">IMG_3991</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3991.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3991-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:30:18<br />E139°10′39.30″<br />N35°52′23.28″<br />327m<br />埼玉県飯能市南<hr /></small>");
	addWayPoints(map, 1,139.110933333333,35.8777666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID18\">IMG_3992</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3992.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3992-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:57:42<br />E139°6′39.36″<br />N35°52′39.96″<br />1141m<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.110933333333,35.8777666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID19\">IMG_3993</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3993.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3993-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:57:47<br />E139°6′39.36″<br />N35°52′39.96″<br />1141m<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.11095,35.8777833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID20\">IMG_3994</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3994.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3994-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 13:05:45<br />E139°6′39.42″<br />N35°52′40.02″<br />1134m<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.11095,35.8777833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID21\">IMG_3995</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3995.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3995-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 13:06:14<br />E139°6′39.42″<br />N35°52′40.02″<br />1134m<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.11095,35.8777666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID22\">IMG_3996</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3996.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3996-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 13:45:35<br />E139°6′39.42″<br />N35°52′39.96″<br />1139m<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.053966666667,35.95285,"<b><a href=\""+relativepathtomainhtml+"#photoID23\">IMG_3997</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3997.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3997-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 14:11:54<br />E139°3′14.28″<br />N35°57′10.26″<br />418m<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.053966666667,35.95285,"<b><a href=\""+relativepathtomainhtml+"#photoID24\">IMG_3998</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3998.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3998-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 14:12:07<br />E139°3′14.28″<br />N35°57′10.26″<br />418m<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.053966666667,35.95285,"<b><a href=\""+relativepathtomainhtml+"#photoID25\">IMG_3999</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_3999.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_3999-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 14:12:17<br />E139°3′14.28″<br />N35°57′10.26″<br />418m<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.05395,35.95285,"<b><a href=\""+relativepathtomainhtml+"#photoID26\">IMG_4000</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4000.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4000-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 14:13:52<br />E139°3′14.22″<br />N35°57′10.26″<br />418m<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.05395,35.95285,"<b><a href=\""+relativepathtomainhtml+"#photoID27\">IMG_4001</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4001.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4001-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 14:14:05<br />E139°3′14.22″<br />N35°57′10.26″<br />418m<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,138.96985,35.97605,"<b><a href=\""+relativepathtomainhtml+"#photoID28\">IMG_4002</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4002.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4002-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:11:07<br />E138°58′11.46″<br />N35°58′33.78″<br />393m<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,138.952133333333,35.971,"<b><a href=\""+relativepathtomainhtml+"#photoID29\">IMG_4003</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4003.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4003-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:28:35<br />E138°57′7.68″<br />N35°58′15.60″<br />786m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.9521,35.971,"<b><a href=\""+relativepathtomainhtml+"#photoID30\">IMG_4004</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4004.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4004-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:30:17<br />E138°57′7.56″<br />N35°58′15.60″<br />784m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.952083333333,35.971,"<b><a href=\""+relativepathtomainhtml+"#photoID31\">IMG_4005</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4005.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4005-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:31:53<br />E138°57′7.50″<br />N35°58′15.60″<br />783m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.947633333333,35.97,"<b><a href=\""+relativepathtomainhtml+"#photoID32\">IMG_4006</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4006.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4006-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:19:00<br />E138°56′51.48″<br />N35°58′12.00″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.948616666667,35.97015,"<b><a href=\""+relativepathtomainhtml+"#photoID33\">IMG_4007</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4007.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4007-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:20:48<br />E138°56′55.02″<br />N35°58′12.54″<br />851m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.948616666667,35.97015,"<b><a href=\""+relativepathtomainhtml+"#photoID34\">IMG_4008</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4008.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4008-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:20:58<br />E138°56′55.02″<br />N35°58′12.54″<br />851m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.9486,35.9701666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID35\">IMG_4009</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4009.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4009-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:21:59<br />E138°56′54.96″<br />N35°58′12.60″<br />853m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.94765,35.9609,"<b><a href=\""+relativepathtomainhtml+"#photoID36\">IMG_4010</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4010.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4010-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:27:10<br />E138°56′51.54″<br />N35°57′39.24″<br />897m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.9405,35.9640333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID37\">IMG_4011</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4011.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4011-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:38:52<br />E138°56′25.80″<br />N35°57′50.52″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.940566666667,35.96395,"<b><a href=\""+relativepathtomainhtml+"#photoID38\">IMG_4012</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4012.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4012-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:38:54<br />E138°56′26.04″<br />N35°57′50.22″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.940416666667,35.9640166666667,"<b><a href=\""+relativepathtomainhtml+"#photoID39\">IMG_4013</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4013.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4013-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:38:58<br />E138°56′25.50″<br />N35°57′50.46″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.9478,35.9394,"<b><a href=\""+relativepathtomainhtml+"#photoID40\">IMG_4014</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4014.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4014-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:53:41<br />E138°56′52.08″<br />N35°56′21.84″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.947716666667,35.93935,"<b><a href=\""+relativepathtomainhtml+"#photoID41\">IMG_4015</a></b><br /><a href=\""+relativepathtosubfolder+"IMG_4015.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"IMG_4015-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:53:51<br />E138°56′51.78″<br />N35°56′21.66″<br />470m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,139.171683333333,35.8598666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID42\">P1010001</a></b><br /><a href=\""+relativepathtosubfolder+"P1010001.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010001-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′18.06″<br />N35°51′35.52″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.171683333333,35.8598666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID43\">P1010001</a></b><br /><a href=\""+relativepathtosubfolder+"P1010001.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010001-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′18.06″<br />N35°51′35.52″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.171783333333,35.8598666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID44\">P1010002</a></b><br /><a href=\""+relativepathtosubfolder+"P1010002.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010002-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′18.42″<br />N35°51′35.52″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.171783333333,35.8598666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID45\">P1010002</a></b><br /><a href=\""+relativepathtosubfolder+"P1010002.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010002-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′18.42″<br />N35°51′35.52″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.170533333333,35.8615333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID46\">P1010003</a></b><br /><a href=\""+relativepathtosubfolder+"P1010003.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010003-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′13.92″<br />N35°51′41.52″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.170533333333,35.8615333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID47\">P1010003</a></b><br /><a href=\""+relativepathtosubfolder+"P1010003.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010003-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′13.92″<br />N35°51′41.52″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.170616666667,35.8615166666667,"<b><a href=\""+relativepathtomainhtml+"#photoID48\">P1010004</a></b><br /><a href=\""+relativepathtosubfolder+"P1010004.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010004-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′14.22″<br />N35°51′41.46″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.17065,35.8615333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID49\">P1010005</a></b><br /><a href=\""+relativepathtosubfolder+"P1010005.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010005-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 15:09:59<br />E139°10′14.34″<br />N35°51′41.52″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.16145,35.8600333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID50\">P1010006</a></b><br /><a href=\""+relativepathtosubfolder+"P1010006.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010006-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:20 11:52:34<br />E139°9′41.22″<br />N35°51′36.12″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.161516666667,35.8599833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID51\">P1010007</a></b><br /><a href=\""+relativepathtosubfolder+"P1010007.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010007-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:52:34<br />E139°9′41.46″<br />N35°51′35.94″<br />東京都青梅市成木七丁目<hr /></small>");
	addWayPoints(map, 1,139.241283333333,35.8706666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID52\">P1010008</a></b><br /><a href=\""+relativepathtosubfolder+"P1010008.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010008-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:52:34<br />E139°14′28.62″<br />N35°52′14.40″<br />埼玉県飯能市上赤工<hr /></small>");
	addWayPoints(map, 1,139.241283333333,35.87065,"<b><a href=\""+relativepathtomainhtml+"#photoID53\">P1010009</a></b><br /><a href=\""+relativepathtosubfolder+"P1010009.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010009-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:04:11<br />E139°14′28.62″<br />N35°52′14.34″<br />埼玉県飯能市上赤工<hr /></small>");
	addWayPoints(map, 1,139.177633333333,35.8730666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID54\">P1010010</a></b><br /><a href=\""+relativepathtosubfolder+"P1010010.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010010-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:04:11<br />E139°10′39.48″<br />N35°52′23.04″<br />埼玉県飯能市南<hr /></small>");
	addWayPoints(map, 1,139.177466666667,35.8731666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID55\">P1010011</a></b><br /><a href=\""+relativepathtosubfolder+"P1010011.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010011-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:20 11:54:58<br />E139°10′38.88″<br />N35°52′23.40″<br />埼玉県飯能市南<hr /></small>");
	addWayPoints(map, 1,139.110916666667,35.8778666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID56\">P1010012</a></b><br /><a href=\""+relativepathtosubfolder+"P1010012.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010012-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:20 11:54:58<br />E139°6′39.30″<br />N35°52′40.32″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.110916666667,35.87775,"<b><a href=\""+relativepathtomainhtml+"#photoID57\">P1010013</a></b><br /><a href=\""+relativepathtosubfolder+"P1010013.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010013-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.30″<br />N35°52′39.90″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.110866666667,35.8778333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID58\">P1010014</a></b><br /><a href=\""+relativepathtosubfolder+"P1010014.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010014-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.12″<br />N35°52′40.20″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.110916666667,35.87765,"<b><a href=\""+relativepathtomainhtml+"#photoID59\">P1010015</a></b><br /><a href=\""+relativepathtosubfolder+"P1010015.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010015-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.30″<br />N35°52′39.54″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.110916666667,35.8778,"<b><a href=\""+relativepathtomainhtml+"#photoID60\">P1010016</a></b><br /><a href=\""+relativepathtosubfolder+"P1010016.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010016-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.30″<br />N35°52′40.08″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.110966666667,35.8778333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID61\">P1010017</a></b><br /><a href=\""+relativepathtosubfolder+"P1010017.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010017-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.48″<br />N35°52′40.20″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.111016666667,35.87775,"<b><a href=\""+relativepathtomainhtml+"#photoID62\">P1010018</a></b><br /><a href=\""+relativepathtosubfolder+"P1010018.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010018-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.66″<br />N35°52′39.90″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.110933333333,35.8778166666667,"<b><a href=\""+relativepathtomainhtml+"#photoID63\">P1010019</a></b><br /><a href=\""+relativepathtosubfolder+"P1010019.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010019-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.36″<br />N35°52′40.14″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.11085,35.8777,"<b><a href=\""+relativepathtomainhtml+"#photoID64\">P1010020</a></b><br /><a href=\""+relativepathtosubfolder+"P1010020.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010020-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′39.06″<br />N35°52′39.72″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.111183333333,35.87775,"<b><a href=\""+relativepathtomainhtml+"#photoID65\">P1010021</a></b><br /><a href=\""+relativepathtosubfolder+"P1010021.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010021-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°6′40.26″<br />N35°52′39.90″<br />東京都西多摩郡奥多摩町<hr /></small>");
	addWayPoints(map, 1,139.05385,35.9529166666667,"<b><a href=\""+relativepathtomainhtml+"#photoID66\">P1010022</a></b><br /><a href=\""+relativepathtosubfolder+"P1010022.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010022-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°3′13.86″<br />N35°57′10.50″<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.053966666667,35.9528,"<b><a href=\""+relativepathtomainhtml+"#photoID67\">P1010023</a></b><br /><a href=\""+relativepathtosubfolder+"P1010023.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010023-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°3′14.28″<br />N35°57′10.08″<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.053933333333,35.9528,"<b><a href=\""+relativepathtomainhtml+"#photoID68\">P1010024</a></b><br /><a href=\""+relativepathtosubfolder+"P1010024.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010024-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°3′14.16″<br />N35°57′10.08″<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,138.96975,35.9761333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID69\">P1010025</a></b><br /><a href=\""+relativepathtosubfolder+"P1010025.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010025-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°58′11.10″<br />N35°58′34.08″<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,138.9521,35.9710833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID70\">P1010026</a></b><br /><a href=\""+relativepathtosubfolder+"P1010026.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010026-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°57′7.56″<br />N35°58′15.90″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.952016666667,35.9710833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID71\">P1010027</a></b><br /><a href=\""+relativepathtosubfolder+"P1010027.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010027-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°57′7.26″<br />N35°58′15.90″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.952233333333,35.971,"<b><a href=\""+relativepathtomainhtml+"#photoID72\">P1010028</a></b><br /><a href=\""+relativepathtosubfolder+"P1010028.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010028-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°57′8.04″<br />N35°58′15.60″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.948683333333,35.97015,"<b><a href=\""+relativepathtomainhtml+"#photoID73\">P1010029</a></b><br /><a href=\""+relativepathtosubfolder+"P1010029.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010029-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′55.26″<br />N35°58′12.54″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.948683333333,35.9702833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID74\">P1010030</a></b><br /><a href=\""+relativepathtosubfolder+"P1010030.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010030-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′55.26″<br />N35°58′13.02″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.948683333333,35.9702333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID75\">P1010031</a></b><br /><a href=\""+relativepathtosubfolder+"P1010031.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010031-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′55.26″<br />N35°58′12.84″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.948683333333,35.9700666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID76\">P1010032</a></b><br /><a href=\""+relativepathtosubfolder+"P1010032.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010032-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′55.26″<br />N35°58′12.24″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.947616666667,35.9611333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID77\">P1010033</a></b><br /><a href=\""+relativepathtosubfolder+"P1010033.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010033-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′51.42″<br />N35°57′40.08″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.947616666667,35.9611,"<b><a href=\""+relativepathtomainhtml+"#photoID78\">P1010034</a></b><br /><a href=\""+relativepathtosubfolder+"P1010034.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010034-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′51.42″<br />N35°57′39.96″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.947633333333,35.9609833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID79\">P1010035</a></b><br /><a href=\""+relativepathtosubfolder+"P1010035.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010035-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′51.48″<br />N35°57′39.54″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.9477,35.93935,"<b><a href=\""+relativepathtomainhtml+"#photoID80\">P1010036</a></b><br /><a href=\""+relativepathtosubfolder+"P1010036.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010036-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E138°56′51.72″<br />N35°56′21.66″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,139.013216666667,35.9544833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID81\">P1010037</a></b><br /><a href=\""+relativepathtosubfolder+"P1010037.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010037-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°0′47.58″<br />N35°57′16.14″<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.013216666667,35.9544333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID82\">P1010038</a></b><br /><a href=\""+relativepathtosubfolder+"P1010038.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010038-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°0′47.58″<br />N35°57′15.96″<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.283716666667,36.0191333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID83\">P1010039</a></b><br /><a href=\""+relativepathtosubfolder+"P1010039.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010039-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°17′1.38″<br />N36°1′8.88″<br />埼玉県比企郡玉川村玉川<hr /></small>");
	addWayPoints(map, 1,139.283783333333,36.0190666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID84\">P1010040</a></b><br /><a href=\""+relativepathtosubfolder+"P1010040.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"P1010040-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 11:54:58<br />E139°17′1.62″<br />N36°1′8.64″<br />埼玉県比企郡玉川村玉川<hr /></small>");
	addWayPoints(map, 1,139.1323,35.8908666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID85\">SANY1761</a></b><br /><a href=\""+relativepathtosubfolder+"SANY1761.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"SANY1761-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 12:49:50<br />E139°7′56.28″<br />N35°53′27.12″<br />874m<br />埼玉県飯能市南川<hr /></small>");
	addWayPoints(map, 1,138.947583333333,35.9699833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID86\">SANY1766</a></b><br /><a href=\""+relativepathtosubfolder+"SANY1766.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"SANY1766-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:26:29<br />E138°56′51.30″<br />N35°58′11.94″<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.946716666667,35.9395333333333,"<b><a href=\""+relativepathtomainhtml+"#photoID87\">SANY1771</a></b><br /><a href=\""+relativepathtosubfolder+"SANY1771.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"SANY1771-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 16:59:37<br />E138°56′48.18″<br />N35°56′22.32″<br />438m<br />埼玉県秩父郡小鹿野町<hr /></small>");
	addWayPoints(map, 1,138.96525,35.9394666666667,"<b><a href=\""+relativepathtomainhtml+"#photoID88\">SANY1772</a></b><br /><a href=\""+relativepathtosubfolder+"SANY1772.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"SANY1772-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 17:02:52<br />E138°57′54.90″<br />N35°56′22.08″<br />埼玉県秩父市久那<hr /></small>");
	addWayPoints(map, 1,139.10795,35.9907833333333,"<b><a href=\""+relativepathtomainhtml+"#photoID89\">SANY1774</a></b><br /><a href=\""+relativepathtosubfolder+"SANY1774.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"SANY1774-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 17:56:49<br />E139°6′28.62″<br />N35°59′26.82″<br />275m<br />埼玉県秩父郡横瀬町横瀬<hr /></small>");
	addWayPoints(map, 1,139.263,36.00615,"<b><a href=\""+relativepathtomainhtml+"#photoID90\">SANY1775</a></b><br /><a href=\""+relativepathtosubfolder+"SANY1775.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"SANY1775-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 18:32:19<br />E139°15′46.80″<br />N36°0′22.14″<br />埼玉県比企郡都幾川村桃木<hr /></small>");
	addWayPoints(map, 1,139.262883333333,36.00605,"<b><a href=\""+relativepathtomainhtml+"#photoID91\">SANY1776</a></b><br /><a href=\""+relativepathtosubfolder+"SANY1776.jpg\"  target=\"_blank\"><img src=\""+relativepathtosubfolder+"SANY1776-thumb.jpg\" border=\"0\" width=\"128\" height=\"96\" /></a><br /><small>2008:06:18 18:32:25<br />E139°15′46.38″<br />N36°0′21.78″<br />埼玉県比企郡都幾川村桃木<hr /></small>");


	if (numofwaypoints == 0)
	{
		hiddenLAYER('waypointcombo');
	}
	if (numofphotos==0)
	{
		hiddenLAYER('photocombo');
	}
	if (callHiddenLayers==1)
	{
		hiddenLayers();
	}
	
} // end of load() function.


var moveMarker;
var obj2;
var strStart ="開始";
var strStop = "始点へ";
var strPause ="一時停止";
function operateTracking(obj) 
{
	if(obj.value == strStart)
	{
		obj.value = strPause;
		panTo(strStart, obj);
		obj2 = obj;
	}
	else if (obj.value == strPause)
	{
		panTo(strPause, obj);
		obj2 = obj;
	}
	else if (obj.value == strStop)
	{
		panTo(strStop, obj);
		if (obj2) obj2.value=strStart;
	}
	else
	{
		obj.value="";
	}
}
    

var iCurrent=0;
var timerID;
function panTo(state, obj)
{
	if (state==strStart)
	{
		map.panTo(points[iCurrent]);
		if (moveMarker == null)
		{
			moveMarker = new GMarker(points[iCurrent], movemarkerIcon);
			map.addOverlay(moveMarker);
		}
		else
		{
			moveMarker.setLatLng(points[iCurrent]);
		}
		iCurrent++;
		if (timerID != null) window.clearTimeout(timerID);
		timerID = window.setTimeout(function(){ panTo(strStart, obj); }, 60000/points.length);
		if (iCurrent==points.length)
		{
			obj.value=strStart;
			panTo(strStop, obj);
		}
	}
	else if (state==strStop)
	{
		iCurrent=0;
		if (moveMarker == null)
		{
			moveMarker = new GMarker(points[iCurrent], movemarkerIcon);
			map.addOverlay(moveMarker);
		}
		else
		{
			moveMarker.setLatLng(points[iCurrent]);
		}
		map.panTo(points[iCurrent]);
		if (timerID != null) window.clearTimeout(timerID);
	}
	else
	{
		obj.value = strStart;
		if (timerID != null) window.clearTimeout(timerID);
	}
}	

// 指定された写真へジャンプ
function jumpphotomarker(n)
{
	photo_markers[n-1].openInfoWindowHtml(photo_infos[n-1]);
	location.hash="#googlemap";
}
	
// 指定されたマーカーへジャンプ
function jumpwaypointmarker(n)
{
	waypoint_markers[n-1].openInfoWindowHtml(waypoint_infos[n-1]);
	location.hash="#googlemap";
}

// グラフは初期状態では消しておく
function hiddenLayers()
{
	hiddenLAYER('graph1');
	hiddenLAYER('graph2');
	hiddenLAYER('graph3');
}

// 指定したレイヤーを非表示にする
function hiddenLAYER(idName)
{ 
	if ( document.getElementById )
	{
		document.getElementById( idName ).style.visibility='hidden';
	}
	else if ( document.all )
	{
		document.all( idName ).style.visibility = 'hidden';
	}
	else if ( document.layers )
	{
		document.layers[ idName ].visibility = 'hidden';
	}
}

// 指定したレイヤーを表示する
function showLAYER(idName)
{
	if ( document.getElementById )
	{
		document.getElementById( idName ).style.visibility   = 'visible';
	}
	else if ( document.all )
	{
		document.all( idName ).style.visibility = 'visible';
	}
	else if ( document.layers )
	{
		document.layers[ idName ].visibility = 'visible';
	}
}

// 地図を表示する
function showMapPop( idName, lat, lon )
{ 
	var svalue;
	var zoomlevel;
	if (map == null)
	{
		if (currentzoom == null)
		{
			zoomlevel=12; // 指定がない場合	
		}
		else
		{
			zoomlevel=currentzoom; // htmlファイルに?xxでズームレベルが渡されたとき
		}
	}
	else
	{
		zoomlevel=map.getZoom();
	}
	svalue = ".<img src=\"http://maps.google.com/staticmap?center="+lat+","+lon+"&markers="+lat+","+lon+",blue&zoom="+zoomlevel+"&size=240x240&key="+key+"\" width=\"240\" height=\"240\"  />.";

	if ( document.getElementById )
	{
		document.getElementById( idName ).style.display="block";
		document.getElementById( idName ).innerHTML = svalue;
	}
	else if ( document.all )
	{
		 document.all( idName ).style.display="block";
		 document.all( idName ).innerHTML=svalue;
	}
	else if ( document.layers )
	{ 
		document.layers[ idName ].display = "block";
		document.layers[ idName ].innerHTML  = svalue;
	}
}

// 地図を消す
function hideMapPop( idName )
{
	if ( document.getElementById )
	{
		document.getElementById( idName ).style.display="none";
	}
	else if ( document.all )
	{
		document.all( idName ).style.display="none";
	}
	else if ( document.layers )
	{
		document.layers[ idName ].display="none";
	}
}

// ズームレベルを渡しながらページを移動する。
function goPhotopage(url, hash)
{
	location.href=url+"?"+map.getZoom()+hash;
}
