function bewerk(hetID){
	switch (hetID) {
	case "1":
		document.getElementById("reclame").style.display = 'none';
		document.getElementById("reclame_sluiten").style.display = 'none';
		document.getElementById("reclame_i").style.display = 'none';
		
		}
		}
		
		
		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("#175A74");					// Set the track line colour
					parser.SetTrackWidth(4);							// Set the track line width
					parser.SetMinTrackPointDelta(0.0002);				// Set the minimum distance between track points
					parser.CenterAndZoom(request.responseXML, G_NORMAL_MAP); // Center and Zoom the map over all the points.
					parser.AddTrackpointsToMap();						// Add the trackpoints
					parser.AddWaypointsToMap();							// Add the waypoints
				}
			}
			request.send(null);
		}

		function onLoad(naam)
		{
			MyMap = new GMap2(document.getElementById("googlem"));
			MyMap.addControl(new GSmallZoomControl());
		
			LoadGPXFileIntoGoogleMap(MyMap, "GPSroutes/"+naam+".xml");
		}