 //<![CDATA[

    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
      }
    }

    //]]>

    //<![CDATA[
    var map = null;
    var geocoder = null;
    
    function load() {
      if (GBrowserIsCompatible()) {
      	geocoder = new GClientGeocoder();
      	showAddress("Zelder 1, Ven-Zelderheiden, Netherlands");
      }
    }
    //]]>
		
		
		function showAddress(address) {
			var map = new GMap2(document.getElementById("map"));
    	var icon = new GIcon();
			var sInput = "<b>Euro Grass B.V.</b><br />Zelder 1<br />6599 EG Ven-Zelderheide<br /><br />Wat is uw plaats van vertrek?<form action='" + siteurl + "includes/google-route.php' target='_blank' method='post' id='routeForm' style='margin: 3px 0 0 0; padding: 0px;'><input type='text' id='plaats' name='plaats' style='border: 1px solid #000; font-size: 9px;' />&nbsp;<input type='submit' id='submit-route' value='plan route' style='border: 1px solid #000; font-size: 9px;' /></form>";
			
			map.addControl(new GSmallMapControl());
			map.addControl(new GMapTypeControl());
			
			//********** make new marker **********//
				icon.image = siteurl + "img/layout/applepie.gif";
				icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
				icon.iconSize = new GSize(21, 21);
				icon.shadowSize = new GSize(22, 20);
				icon.iconAnchor = new GPoint(10, 21);
				icon.infoWindowAnchor = new GPoint(10, 1);
			//************************************//
				
		  geocoder.getLatLng(
		    address,
		    function(point) {
		      if (!point) {
		        alert(address + " not found");
		      } else {
		        map.setCenter(point, 14);
				map.setMapType(G_HYBRID_MAP); //opties: G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP
		        var marker = new GMarker(point, icon);
		        map.addOverlay(marker);
		        marker.openInfoWindowHtml(sInput);
		      }
		    }
		  );
		}