var MyMap;

		function LoadGPXFileIntoGoogleMap(map, filename)
		{
			// Remove any existing overlays from the map.
			map.clearOverlays();

			var request = GXmlHttp.create();
			request.open("GET", filename, true);
			request.onreadystatechange = function()
			{
				if (request.readyState == 4)
				{
					parser = new GPXParser(request.responseXML, map);
					parser.SetTrackColour("#FF0000");					// Set the track line colour
					parser.SetTrackWidth(5);							// Set the track line width
					parser.SetMinTrackPointDelta(0.001);				// Set the minimum distance between track points

											var maptype = G_NORMAL_MAP;
					
					parser.CenterAndZoom(request.responseXML, maptype);			// Center and Zoom the map over all the points.

					parser.AddTrackpointsToMap();		// Add the trackpoints
					parser.AddWaypointsToMap();		// Add the waypoints

				}
			}
			request.send(null);
		}
		
function map_meret()
	{
	document.getElementById('map').style.height='500px';
	document.getElementById('map').style.width='500px';
	onload();
	}
