//<![CDATA[

    function load() {
      if (GBrowserIsCompatible()) {

	createMap("<strong>BECONA NV</strong><br />Industrieterrein 2/6<br />I.Z. Webbekom 2022<br />3920 Diest", "50.96183259192762", "5.066628456115723",11); 
    }}

	function createMap(ghtmlMessage,glat,glong,gzoom){ 
	//create the icon (replaces the standard google balloon)
		var icon = new GIcon(); 
		icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";
		icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
		icon.iconSize = new GSize(12, 20);
		icon.shadowSize = new GSize(22, 20);
		icon.iconAnchor = new GPoint(6, 20);
		icon.infoWindowAnchor = new GPoint(5, 1);
		//creates a marker at the given point, displaying the text on click 
		function createMarker(point, text) 
		{ 
			var marker = new GMarker(point,icon); 
			GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(text); }); return marker; } var map = new GMap2(document.getElementById("map")); 
			//add the pan & zoom control to the map 
			map.addControl(new GLargeMapControl()); 
			var point = new GLatLng(glat,glong); 
			map.setCenter(point, gzoom); 
			var mark = createMarker(point,ghtmlMessage); 
			map.addOverlay(mark); 
			mark.openInfoWindowHtml(ghtmlMessage); 
		}; 
			
		function printOnLoad() { 
			load(); 
			window.print(); 
		};
	
    //]]>
