    //<![CDATA[

   var geocoder;
   var map;

   //var restaurant = "Bram Van Deuren";
   //var address = "A. Borghijsstraat 69, 2870 Puurs";
   
   //var a2 = "test"
   //var address2 = "A. Borghijsstraat 71, 2870 Puurs";

   // On page load, call this function

   function load(address)
   {
	   
	  
      // Create new map object
      map = new GMap2(document.getElementById("map"));

      // Create new geocoding object
      geocoder = new GClientGeocoder();

      // Retrieve location information, pass it to addToMap()
      geocoder.getLocations(address, addToMap);
	  //geocoder.getLocations('Borghijsstraat 69,Puurs,Belgium', addToMap);
   }

   // This function adds the point to the map

   function addToMap(response)
   {
      // Retrieve the object
      place = response.Placemark[0];

      // Retrieve the latitude and longitude
      point = new GLatLng(place.Point.coordinates[1],
                          place.Point.coordinates[0]);

      // Center the map on this point
	  map.addControl(new GSmallMapControl()); 
	  map.addControl(new GMapTypeControl()); 
	  map.addControl(new GMapTypeControl());
      map.setCenter(point, 17, G_HYBRID_MAP);

      // Create a marker
	  var html='Publimail, Rue de Meudonstraat 60, 1120 Brussels, Belgium, </br>http://www.publimail.be, info@publimail.be</br><img src=http://www.publimail.be/images/DEFPMG.png />'
	  
      //marker = new GMarker(point,html);
	  //var marker = createMarker(point);

      // Add the marker to map
      //map.addOverlay(marker);
	  //marker.openInfoWindowHtml('Publimail, Rue de Meudonstraat 60, 1120 Brussels, Belgium, </br>http://www.publimail.be, info@publimail.be</br><img src=http://www.publimail.be/images/DEFPMG.png />');
		var marker = new GMarker(point);
        map.addOverlay(marker);
        marker.openInfoWindowHtml(html);
      // Add address information to marker
      //marker.openInfoWindowHtml(place.address);
   }

    //]]>
	
	//Create marker and set up event window
  function createMarker(point,html,icon){
  	var marker = new GMarker(point,icon);
	GEvent.addListener(marker, "click", function() {
      marker.openInfoWindowHtml(html);
    });
	return marker;
  }
