function initialize(lat, lng, zlevel, addr) {
	var map = new GMap2(document.getElementById("map_canvas"));
	var locationPoint = new GLatLng(lat, lng);
	
	map.setCenter(locationPoint, zlevel);
	map.addControl(new GLargeMapControl());
	map.addControl(new GMapTypeControl());
	map.setMapType(G_NORMAL_MAP);
	map.addOverlay(createMarker(locationPoint, addr));
}

// Creates a marker whose info window displays the letter corresponding
// to the given index.
function createMarker(point, address) {
	var baseIcon = new GIcon(G_DEFAULT_ICON);
	baseIcon.iconSize = new GSize(40, 68);
	var locationIcon = new GIcon(baseIcon);
	locationIcon.image = "/imagenes/detalleclasificado/marker.png";
	locationIcon.iconAnchor = new GPoint(20, 68);


	// Set up our GMarkerOptions object
	markerOptions = {
		title : address,
		icon : locationIcon
	};
	
	var marker = new GMarker(point, markerOptions);

	GEvent.addListener(marker, "click", function() {
		marker.openInfoWindowHtml("<b>" + address + "</b>");
	});
	return marker;
}
