	toogle = 1;
    /**
    *  ubica a un hotel segun su direccion
        Implementa varios callbacks de errores!
    */
	
	var gmap;
	function load_map(lat,lng,zoom,tipo){
		if (zoom == null) zoom = 15;
		if (tipo == null) tipo = G_HYBRID_MAP;
		if (GBrowserIsCompatible()){
			//inicializamos el mapa
			gmap = new GMap2(document.getElementById("map"));
			gmap.setMapType(tipo);
			gmap.addControl(new GSmallZoomControl ());
			gmap.addControl(new GMenuMapTypeControl());
			var latlang = new GLatLng(lat,lng);
			gmap.setCenter(latlang, zoom);
			var marker = new GMarker(latlang);
			gmap.addOverlay(marker);
			document.getElementById('google_maps').className = 'visible';
		}
	}  
	

