//<![CDATA[

function load() {
  if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById("map"));
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());
	map.setCenter(new GLatLng(52.375645, 4.898529), 12);

	// Our info window content
	var infoTabs = [
	  new GInfoWindowTab("Address", "<span class='tekst'>Hotel CC<br>Warmoesstraat 42<br>1012 JE Amsterdam</span>"),
	  new GInfoWindowTab("Route", "<span class='tekst'><a href=\"http://maps.google.nl/maps?f=d&hl=en&saddr=&daddr=Warmoesstraat+42,+Amsterdam\" target='_blank' > <br>Direction to our hotel</a>")
	];

	// Place a marker in the center of the map and open the info window
	// automatically
	var marker = new GMarker(map.getCenter());
	GEvent.addListener(marker, "click", function() {
	  marker.openInfoWindowTabsHtml(infoTabs);
	});
	map.addOverlay(marker);
	marker.openInfoWindowTabsHtml(infoTabs);
  }
}

//]]>
