//<![CDATA[
 
if (GBrowserIsCompatible()) { 
  // A function to create a tabbed marker and set up the event window
  function createMarker(point) {
		var marker = new GMarker(point);
		GEvent.addListener(marker, "click", function() 
		{
  		marker.openInfoWindowHtml(
				'<h3 style="line-height:16px;">Het LoopCentrum</h3>'+
				'Stationsstraat 137<br>'+
				'5963 AA Horst<br>'+
				'T 077 398 71 00<br>'+
				'F 077 398 36 36<br>'+
				'<a href="mailto:info@hetloopcentrum.nl"> info@hetloopcentrum.nl</a>');
		});
		return marker;
  }
  // Display the map, with some controls and set the initial location 
  var map = new GMap2(document.getElementById("map"));
  map.addControl(new GSmallMapControl());
  map.addControl(new GMapTypeControl());
  map.setCenter(new GLatLng(51.429023,6.040925),13);
 	
	//map.setMapType(G_HYBRID_MAP);
	var point = new GLatLng(51.429023,6.040925);
	var marker = createMarker(point)
	map.addOverlay(marker); 
}
// display a warning if the browser was not compatible
else {
		alert("Sorry, the Google Maps API is not compatible with this browser");
}
//]]>