// JavaScript Document
//<![CDATA[
var map = null;
var geocoder = null;
function load() {
  if (GBrowserIsCompatible() && document.getElementById("map")) {
	map = new GMap2(document.getElementById("map"));
  
	map.addControl(new GLargeMapControl());
	map.addControl(new GMapTypeControl());

	map.setCenter(new GLatLng(37.4419, -122.1419), 13);
	// map.setMapType(G_HYBRID_MAP);
	geocoder = new GClientGeocoder();
  }
	showAddress("2300 Rackeve, Kossuth Lajos u. 95, Hungary");
	a =  document.getElementById("map");

}

function showAddress(address) {
  if (geocoder) {
	geocoder.getLatLng(
	  address,
	  function(point) {
		if (!point) {

		} else {
		  map.setCenter(point, 16);
		  var marker = new GMarker(point);
			map.addOverlay(marker);
		}
	  }
	);
  }
}
//]]>
