function loadMap() {
	if (GBrowserIsCompatible()) {
	
		var redIcon = new GIcon(G_DEFAULT_ICON);
		redIcon.image = "http://www.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png";
		redIcon.iconSize = new GSize(32, 32);
	  
		// A function to create the marker and set up the event window
		// Dont try to unroll this function. It has to be here for the function closure
		// Each instance of the function preserves the contends of a different instance
		// of the "marker" and "html" variables which will be needed later when the event triggers.    
		function createMarker(point,html, options) {
			var marker = new GMarker(point, options);
			GEvent.addListener(marker, "click", function() {
				marker.openInfoWindowHtml(html);
			});
			return marker;
		}
	  
		//maps.google.com/maps/ms?mapprev=1&ie=UTF8&msa=0&ll=46.570884,26.912931&spn=0.004285,0.011759&t=h&z=17&om=1&msid=115121500357300342269.0004434af4f1f430002bf
		//Judecatoria Bacau @46.56804419525586,26.905699968338013
		//Cabinet avocatura @46.56794830722546,26.907931566238403
		//Statuia lui Stefan cel Mare @46.56935710662217,26.9105064868927
		var map = new GMap2(document.getElementById("gmap"));
		map.setCenter(new GLatLng(46.580194, 26.932983), 13);
		map.addControl(new GSmallMapControl());
		//map.addControl(new GMapTypeControl());
		map.setMapType(G_SATELLITE_MAP);
		//map.setMapType(G_SATELLITE_MAP);
		
		// Set up three markers with info windows 
		var point = new GLatLng(46.580194, 26.932983);
		var marker = createMarker(point,'<div style="width:180px;"><strong>S.C. Dely-Pet Impex S.R.L.</strong><br />Bacau, <br />Calea Barladului nr. 23 <br />tel/fax: 0234 / 588389<br /><a href="/">http://www.dely-pet.ro/</a></div>', {icon: redIcon});
		map.addOverlay(marker);
		console.dir(marker);
	  }
}
