    var map = null;
    var geocoder = null;
function initialize(id) {      
	//var latlng = new google.maps.LatLng(-34.397, 150.644);
	    var myOptions = {
	      zoom: 5,	      
	      mapTypeId: google.maps.MapTypeId.TERRAIN
	    };
 	  map = new google.maps.Map(document.getElementById("map"), myOptions);	 
}
	
function showLatLng(lat, lng, zoom){
	var point = new GLatLng(lat, lng);
	map.setCenter(point, zoom);
	var marker = new GMarker(point);
	map.addOverlay(marker);
	return marker;
}
function showAddress(address,zoom) {   		
		var geocoder = new google.maps.Geocoder();
	    if (geocoder) {			
	        geocoder.geocode({address: address}, function(results, status) {				
	        if (status == google.maps.GeocoderStatus.OK) {			  
	          map.setCenter(results[0].geometry.location);
			  //map.setCenter((51.917168,19.138184));
	          var marker = new google.maps.Marker({
	              map: map, 
	              position: results[0].geometry.location
	          });
	        } else {
	          //alert("Geocode was not successful for the following reason: " + status);
	        }
	      });
	    }
}

