var config = new Array();

// Definiciones globales
config.Global = new Array();
config.Global.mainPage = "/index.jsp";
config.Global.thesaurusMainPage = "/indexThesaurusSearch.jsp";
config.Global.resultsBrowserView = "/jsps/ResultsBrowserGUIBuilder_products_diga_2.jsp";
config.Global.resultsBrowserViewGeneral = "/jsps/ResultsBrowserGUIBuilder_products_general.jsp";
config.Global.resultsBrowserViewThesaurus = "/jsps/ResultsBrowserGUIBuilder_products_thesaurus.jsp";
config.Global.resultsBrowserUnitsView = "/jsps/ResultsBrowserGUIBuilder_units_diga.jsp";
config.Global.resultsBrowserUnitsViewGeneral = "/jsps/ResultsBrowserGUIBuilder_units_general.jsp";
config.Global.resultsBrowserUnitsViewThesaurus = "/jsps/ResultsBrowserGUIBuilder_units_thesaurus.jsp";
config.Global.resultsBrowserLayersView = "/jsps/ResultsBrowserGUIBuilder_layers.jsp";
config.Global.resultsISOView = "/jsps/ISODV_general.jsp";
config.Global.resultsResumenView = "/jsps/RDV_resumen.jsp";
config.Global.resultsServicesView = "/jsps/ServicesResultsBrowserView.jsp";
config.Global.defaultSRS = "EPSG:4326";
config.Global.specialChar = "Ç";
config.Global.urlWMS = 'http://www.idee.es/wms/IDEE-Limite/IDEE-Limite';
config.Global.validLayers = new Array("provincias", "cuadricula50", "cuadricula25", "jrc-img2k_footprints");
config.Global.layerUrlWMS = new Array();
config.Global.layerUrlWMS["provincias"] = 'http://www.idee.es/wms/IDEE-Limite/IDEE-Limite';
config.Global.layerUrlWMS["cuadricula50"] = 'http://www.idee.es/wms/IDEE-Cuadricula-Hojas/IDEE-Cuadricula-Hojas';
config.Global.layerUrlWMS["cuadricula25"] = 'http://www.idee.es/wms/IDEE-Cuadricula-Hojas/IDEE-Cuadricula-Hojas';
config.Global.layerUrlWMS["jrc-img2k_footprints"] = 'http://iaaa.cps.unizar.es/6531_WMS-IAAA-Core-World/servlet/WMSIAAACoreWorld';

config.Global.organisations = new Array();
config.Global.organisations[0] = new Array();
config.Global.organisations[0].name = "TODAS";
config.Global.organisations[0].query = "";
config.Global.organisations[1] = new Array();
config.Global.organisations[1].name = "IGN";
config.Global.organisations[1].query = "<Not><PropertyIsLike><PropertyName>publisher</PropertyName><Literal>IDEC</Literal></PropertyIsLike></Not>";
config.Global.organisations[2] = new Array();
config.Global.organisations[2].name = "IDEC";
config.Global.organisations[2].query = "<PropertyIsLike><PropertyName>publisher</PropertyName><Literal>IDEC</Literal></PropertyIsLike>";
config.Global.globalOrganisation = config.Global.organisations[0].name;
config.Global.useOrganisationSearch = true;

// Página inicial (index.jsp)
config.Index = new Array();
config.Index.titleImg = "titulo_geodatos.jpg";
config.Index.lineaImg = "titdegra2.jpg";
config.Index.targetWindow = "_self";
config.Index.resultsBrowserView = config.Global.resultsBrowserView;
config.Index.specialChar = config.Global.specialChar;
config.Index.useShowAll = false;

// Página inicial búsqueda general (indexGeneral.jsp)
config.IndexGeneral = new Array();
config.IndexGeneral.titleImg = "titulo_geodatos.jpg";
config.IndexGeneral.header = GENERAL_HEADER;
config.IndexGeneral.lineaImg = "titdegra2.jpg";
config.IndexGeneral.targetWindow = "geodatosRes";
config.IndexGeneral.resultsBrowserView = config.Global.resultsBrowserViewGeneral;
config.IndexGeneral.specialChar = config.Global.specialChar;

// Página inicial (index.jsp)
config.IndexThesaurus = new Array();
config.IndexThesaurus.titleImg = "titulo_geodatos.jpg";
config.IndexThesaurus.lineaImg = "titdegra2.jpg";
config.IndexThesaurus.targetWindow = "_self";
config.IndexThesaurus.resultsBrowserView = config.Global.resultsBrowserViewThesaurus;
config.IndexThesaurus.specialChar = config.Global.specialChar;

// Página inicial (CoordinatesBoxCriterionQueryBuilder.js)
config.CoordinatesBoxCQB = new Array();
config.CoordinatesBoxCQB._title = COORDINATES_TITLE;
config.CoordinatesBoxCQB.header = COORDINATES_HEADER;
config.CoordinatesBoxCQB.headerImg = "area.jpg";
config.CoordinatesBoxCQB._useRestrictArea = true;
config.CoordinatesBoxCQB._restrictArea = COORDINATES_AREA_RESTRICT;
config.CoordinatesBoxCQB._norte = COORDINATES_NORTH;
config.CoordinatesBoxCQB._oeste = COORDINATES_WEST;
config.CoordinatesBoxCQB._sur = COORDINATES_SOUTH;
config.CoordinatesBoxCQB._este = COORDINATES_EAST;
config.CoordinatesBoxCQB._srs = config.Global.defaultSRS;
config.CoordinatesBoxCQB._WMSClientFramePath = "VisualizadorInteractivoMinimo";
config.CoordinatesBoxCQB.getExtentError = COORDINATES_GET_EXTENT_ERROR;
config.CoordinatesBoxCQB.centerError = COORDINATES_CENTER_ERROR;
config.CoordinatesBoxCQB.restoreError = COORDINATES_RESTORE_ERROR;
config.CoordinatesBoxCQB.specialChar = config.Global.specialChar;
config.CoordinatesBoxCQB.layerNames = new Array("provincias", "cuadricula50", "cuadricula25");
config.CoordinatesBoxCQB.urlWMS = config.Global.urlWMS;
config.CoordinatesBoxCQB._styleGUI = "coordinatesBox";

// Página inicial (ThemeCriterionExtentQueryBuilder.js)
config.ThemeCQB = new Array();
config.ThemeCQB.header = THEME_HEADER;
config.ThemeCQB.headerImg = "tema.jpg";
config.ThemeCQB._title = THEME_TITLE;
config.ThemeCQB._exactTip = THEME_EXACT_TIP;
config.ThemeCQB._anyTip = THEME_ANY_TIP;
config.ThemeCQB._allTip = THEME_ALL_TIP;
config.ThemeCQB._titleTips = THEME_TITLE_TIPS;
config.ThemeCQB._wildCardMessage = THEME_WILDCARD_MESSAGE;
config.ThemeCQB._sizeGUI = 40;
config.ThemeCQB._styleGUI = "theme";
config.ThemeCQB._styleGUIText = "themeText";
config.ThemeCQB._queryOperatorExact = "CONTAINS WORD";
config.ThemeCQB._queryOperatorAll = "CONTAINS WORD";
config.ThemeCQB._queryOperatorAny = "CONTAINS WORD";

config.ThemeCQB._queryFields = new Array(3);
config.ThemeCQB._queryFields[0] = "subject";
config.ThemeCQB._queryFields[1] = "title";
config.ThemeCQB._queryFields[2] = "description";

// Página inicial (CreatorCriterionQueryBuilder.js)
config.CreatorCQB = new Array();
config.CreatorCQB.header = CREATOR_HEADER;
config.CreatorCQB.headerImg = "proveedor.jpg";
config.CreatorCQB._title = CREATOR_TITLE;
config.CreatorCQB._wildCardMessage = CREATOR_WILDCARD_MESSAGE;
config.CreatorCQB._specialChar = config.Global.specialChar;
config.CreatorCQB._sizeGUI = 40;
config.CreatorCQB._styleGUI = "creator";
config.CreatorCQB._styleGUIText = "creatorText";
config.CreatorCQB._queryOperator = "";

config.CreatorCQB._queryFields = new Array();
config.CreatorCQB._queryFields[0] = "organisationName";

// Página inicial (CreatorCriterionQueryBuilder.js)
config.GuidedThemeCQB = new Array();
config.GuidedThemeCQB.header = GUIDED_THEME_HEADER;
config.GuidedThemeCQB.headerImg = "categoria.jpg";
config.GuidedThemeCQB._title = GUIDED_THEME_TITLE;
config.GuidedThemeCQB._tooltip = GUIDED_THEME_TOOLTIP;
config.GuidedThemeCQB._sizeGUI = 1;
config.GuidedThemeCQB._styleGUI = "guidedTheme";
config.GuidedThemeCQB._queryOperator = "";

config.GuidedThemeCQB._queryFields = new Array(3);
config.GuidedThemeCQB._queryFields[0] = "subject";
config.GuidedThemeCQB._queryFields[1] = "title";
config.GuidedThemeCQB._queryFields[2] = "description";

config.GuidedThemeCQB._keys = new Array();
config.GuidedThemeCQB._keys[0] = new Array(CUALQUIERA, 
		AGRICULTURA, BIOTA, LIMITES, ATMOSFERA, ECONOMIA, ELEVACION, MEDIO_AMBIENTE,
		INFORMACION_GEOCIENTIFICA, SALUD, COBERTURA_MAPAS, INTELIGENCIA_MILITAR,
		AGUAS_INTERIORES, LOCALIZACION, OCEANOS, PLANEAMIENTO_CATASTRAL, SOCIEDAD,
		ESTRUCTURAS, TRANSPORTE, COMUNICACION);
config.GuidedThemeCQB._values = new Array();
config.GuidedThemeCQB._values[0] = new Array ("", CATEGORIA_AGRICULTURA,
		CATEGORIA_BIOTA, CATEGORIA_LIMITES, CATEGORIA_ATMOSFERA, CATEGORIA_ECONOMIA,
		CATEGORIA_ELEVACION, CATEGORIA_MEDIO_AMBIENTE, CATEGORIA_INFORMACION_GEOCIENTIFICA,
		CATEGORIA_SALUD, CATEGORIA_COBERTURA_MAPAS, CATEGORIA_INTELIGENCIA_MILITAR,
		CATEGORIA_AGUAS_INTERIORES, CATEGORIA_LOCALIZACION, CATEGORIA_OCEANOS,
		CATEGORIA_PLANEAMIENTO_CATASTRAL, CATEGORIA_SOCIEDAD, CATEGORIA_ESTRUCTURAS,
		CATEGORIA_TRANSPORTE, CATEGORIA_COMUNICACION);

// Página inicial (ScaleCriterionQueryBuilder.js)
config.ScaleCQB = new Array();
config.ScaleCQB.header = SCALE_HEADER;

config.ScaleCQB.headerImg = "escala.jpg";
config.ScaleCQB._title = SCALE_TITLE;
config.ScaleCQB._sizeGUI = 1;
config.ScaleCQB._styleGUI = "scale";
config.ScaleCQB._queryOperator = "=";

config.ScaleCQB._queryFields = new Array();
config.ScaleCQB._queryFields[0] = "scale";

config.ScaleCQB._keys = new Array();
config.ScaleCQB._keys[0] = new Array(SCALE_ANY, ">1.000.000", "250.000 - 1.000.000", 
		"50.000 - 250.000", "10.000 - 50.000", "5.000 - 10.000", "<5.000");
config.ScaleCQB._values = new Array();
config.ScaleCQB._values[0] = new Array("", ESCALA_MAYOR_1000000, ESCALA_250000_1000000,
		ESCALA_50000_250000, ESCALA_10000_50000, ESCALA_5000_10000, ESCALA_MENOR_5000);

// Página inicial (TextDateIntervalBriefCriterionQueryBuilder.js)
config.DateIntervalCQB = new Array();
config.DateIntervalCQB.header = DATE_INTERVAL_HEADER;
config.DateIntervalCQB.headerImg = "fecha.jpg";
config.DateIntervalCQB._title = DATE_INTERVAL_TITLE;
config.DateIntervalCQB._from = DATE_INTERVAL_FROM;
config.DateIntervalCQB._to = DATE_INTERVAL_TO
config.DateIntervalCQB._formatting = DATE_INTERVAL_FORMATTING
config.DateIntervalCQB._specialChar = config.Global.specialChar;
//config.DateIntervalCQB._sizeGUI = 20;
//config.DateIntervalCQB._styleGUI = "dateInterval";

config.DateIntervalCQB._queryFields = new Array(1);
config.DateIntervalCQB._queryFields[0] = "publicationDate";

config.DateIntervalCQB._startDate = new Array();
config.DateIntervalCQB._startDate._title = DATE_INTERVAL_TITLE;
config.DateIntervalCQB._startDate._specialChar = config.Global.specialChar;
config.DateIntervalCQB._startDate._wildCardMessage = "";
config.DateIntervalCQB._startDate._sizeGUI = 20;
config.DateIntervalCQB._startDate._styleGUI = "dateInterval";
config.DateIntervalCQB._startDate._queryOperator = ">=";
config.DateIntervalCQB._startDate._queryFields = new Array(1);
config.DateIntervalCQB._startDate._queryFields[0] = "publicationDate";

config.DateIntervalCQB._endDate = new Array();
config.DateIntervalCQB._endDate._title = DATE_INTERVAL_TITLE;
config.DateIntervalCQB._endDate._specialChar = config.Global.specialChar;
config.DateIntervalCQB._endDate._wildCardMessage = "";
config.DateIntervalCQB._endDate._sizeGUI = 20;
config.DateIntervalCQB._endDate._styleGUI = "dateInterval";
config.DateIntervalCQB._endDate._styleGUIText = "dateIntervalText";
config.DateIntervalCQB._endDate._queryOperator = "<=";
config.DateIntervalCQB._endDate._queryFields = new Array(1);
config.DateIntervalCQB._endDate._queryFields[0] = "publicationDate";

// Página inicial (GeneralCriterionQueryBuilder.js)
config.GeneralCQB = new Array();
config.GeneralCQB.header = GENERAL_HEADER;
config.GeneralCQB.headerImg = "";
config.GeneralCQB._title = GENERAL_TITLE;
config.GeneralCQB._wildCardMessage = GENERAL_WILDCARD_MESSAGE;
config.GeneralCQB.specialChar = config.Global.specialChar;
config.GeneralCQB._sizeGUI = 45;
config.GeneralCQB._styleGUI = "general";
config.GeneralCQB._queryOperator = "";

config.GeneralCQB._queryFields = new Array(3);
config.GeneralCQB._queryFields[0] = "subject";
config.GeneralCQB._queryFields[1] = "title";
config.GeneralCQB._queryFields[2] = "description";

// Página inicial (ThesaurusQueryBuilder.js)
config.ThesaurusCQB = new Array();
config.ThesaurusCQB.header = THESAURUS_TITLE;
config.ThesaurusCQB.headerImg = "tematica.jpg";
config.ThesaurusCQB._thesaurusListTitle = THESAURUS_LIST_TITLE;
config.ThesaurusCQB._thesaurusPrevious = THESAURUS_PREVIOUS;
//config.ThesaurusCQB.selectThesaurus = THESAURUS_SELECT_THESAURUS;
config.ThesaurusCQB.goPreviousLevel = THESAURUS_PREVIOUS_LEVEL;
config.ThesaurusCQB._title = THESAURUS_TITLE;
config.ThesaurusCQB._selectThesaurus = THESAURUS_SELECT_THESAURUS;
config.ThesaurusCQB._sizeGUI = 5;
config.ThesaurusCQB._styleGUI = "thesaurus";
config.ThesaurusCQB._styleThesaurusList = "thesaurusThesaurusList";
config.ThesaurusCQB._styleRouteList = "thesaurusRouteList";
config.ThesaurusCQB._textAreaRows = 2;
config.ThesaurusCQB._textAreaColumns = 60;
//config.ThesaurusCQB._sizeQueryList = 40;
//config.ThesaurusCQB._styleQueryList = "thesaurusThesaurusList";
// Dividir el texto buscado en sus subcadenas.
config.ThesaurusCQB._splitSelection = true;

config.ThesaurusCQB._queryFields = new Array();
config.ThesaurusCQB._queryFields[0] = "subject";
config.ThesaurusCQB._queryOperator = "CONTAINS WORD";

config.ThesaurusCQB._getThesaurusQuestion = "";
config.ThesaurusCQB._thesaurusNames = new Array();
config.ThesaurusCQB._thesaurusNames[0] = "";//"AGROVOC";
//config.ThesaurusCQB._thesaurusNames[1] = "EUROVOC";
//config.ThesaurusCQB._thesaurusNames[2] = "GEMET";
//config.ThesaurusCQB._thesaurusNames[3] = "UNESCO";
config.ThesaurusCQB._getWholeThesaurus = false; 
config.ThesaurusCQB._timeout = 100;
config.ThesaurusCQB._numRetries = 500;
config.ThesaurusCQB._goNextLevel = THESAURUS_GO_NEXT_LEVEL;
config.ThesaurusCQB._goNextLevelTooltip = THESAURUS_GO_NEXT_LEVEL_TOOLTIP;
config.ThesaurusCQB._andQuery = THESAURUS_AND_QUERY;
config.ThesaurusCQB._andQueryTooltip = THESAURUS_AND_QUERY_TOOLTIP;
config.ThesaurusCQB._orQuery = THESAURUS_OR_QUERY;
config.ThesaurusCQB._orQueryTooltip = THESAURUS_OR_QUERY_TOOLTIP;
config.ThesaurusCQB._clearQuery = THESAURUS_CLEAR_QUERY;
config.ThesaurusCQB._clearQueryTooltip = THESAURUS_CLEAR_QUERY_TOOLTIP;
config.ThesaurusCQB._questionWholeRoute = false;

config.ThesaurusCQB._useThesaurusList = true;
config.ThesaurusCQB._useRoute = true;
config.ThesaurusCQB._useDblClick = true;
config.ThesaurusCQB._useNextLevelButton = true;
config.ThesaurusCQB._useMultipleQuery = false;

/* Alerts */
config.ThesaurusCQB._XMLError = THESAURUS_THESAURUS_XML_ERROR;
config.ThesaurusCQB._showThesaurusError = THESAURUS_SHOW_THESAURUS_ERROR;
config.ThesaurusCQB._thesaurusQueryError = THESAURUS_QUERY_ERROR;

// Página de resultados (ResultsBrowserGUIBuilder_proucts_diga_2.jsp & XSLProductTitles_diga_ISO_2.xsl)
config.ResultsBrowser = new Array();
config.ResultsBrowser.useSearchInfo = true;
config.ResultsBrowser.useImageHeaders = true;
config.ResultsBrowser.searchInfoHeader = RESULTS_SEARCH_INFO;
config.ResultsBrowser.searchInfoImg = "info_consulta.jpg";
config.ResultsBrowser.resultsListHeader = RESULTS_LIST;
config.ResultsBrowser.resultsListImg = "lista_resultados.jpg";
config.ResultsBrowser.viewDetailTip = RESULTS_VIEW_DETAIL_TIP;
config.ResultsBrowser.useViewMetadata = true;
config.ResultsBrowser.viewMetadata = RESULTS_VIEW_METADATA;
config.ResultsBrowser.viewMetadataTooltip = RESULTS_VIEW_METADATA_TOOLTIP;
config.ResultsBrowser.useViewDetailMigra = false;
config.ResultsBrowser.viewDetailMigra = RESULTS_VIEW_DETAIL_MIGRA;
config.ResultsBrowser.viewDetailMigraTooltip = RESULTS_VIEW_DETAIL_MIGRA_TOOLTIP;
config.ResultsBrowser.useViewAggregates = true;
config.ResultsBrowser.viewAggregates = RESULTS_VIEW_AGGREGATES;
config.ResultsBrowser.viewAggregatesTooltip = RESULTS_VIEW_AGGREGATES_TOOLTIP;
config.ResultsBrowser.useViewLayers = true;
config.ResultsBrowser.viewLayers = RESULTS_VIEW_LAYERS;
config.ResultsBrowser.viewLayersTooltip = RESULTS_VIEW_LAYERS_TOOLTIP;
config.ResultsBrowser.useViewMapServices = true;
config.ResultsBrowser.viewMapServices = RESULTS_VIEW_MAP_SERVICES;
config.ResultsBrowser.viewMapServicesTooltip = RESULTS_VIEW_MAP_SERVICES_TOOLTIP;
config.ResultsBrowser.useViewProvider = false;

config.ResultsBrowser.resultsBrowserClient = config.Global.resultsBrowserView;
config.ResultsBrowser.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowser.newSearch = config.Global.mainPage;
config.ResultsBrowser.newSearchTargetWindow = "_self";
config.ResultsBrowser.refineQuestion = config.Global.mainPage;
config.ResultsBrowser.refineQuestionTargetWindow = "_self";

config.ResultsBrowser.getUnits = new Array();
config.ResultsBrowser.getUnits.targetWindow = "_self";
config.ResultsBrowser.getUnits.resultsBrowserView = config.Global.resultsBrowserUnitsView;
config.ResultsBrowser.getUnits.resultDetailer = "";

config.ResultsBrowser.getLayers = new Array();
config.ResultsBrowser.getLayers.targetWindow = "_self";
config.ResultsBrowser.getLayers.resultsBrowserView = config.Global.resultsBrowserLayersView;
config.ResultsBrowser.getLayers.resultDetailer = "";

config.ResultsBrowser.mostrarIso = new Array();
config.ResultsBrowser.mostrarIso.targetWindow = "_blank";
config.ResultsBrowser.mostrarIso.resultDetailerView = config.Global.resultsISOView;

config.ResultsBrowser.mostrarResumen = new Array();
config.ResultsBrowser.mostrarResumen.targetWindow = "_blank";
config.ResultsBrowser.mostrarResumen.resultDetailerView = config.Global.resultsResumenView;
config.ResultsBrowser.mostrarResumen.resultsBrowserView = config.Global.resultsBrowserView;

config.ResultsBrowser.getServices = new Array();
config.ResultsBrowser.getServices.targetWindow = "_blank";
config.ResultsBrowser.getServices.resultDetailerView = config.Global.resultsServicesView;

// Página de número de resultados por organización.
config.ResultsBrowserOrganisation = new Array();
config.ResultsBrowserOrganisation.resultsBrowserClient = config.Global.resultsBrowserView;
//config.ResultsBrowserOrganisation.organisation = RESULTS_ORGANISATION_ORGANISATION;
//config.ResultsBrowserOrganisation.results = RESULTS_ORGANISATION_RESULTS;

// Página de resultados (ResultsBrowserGUIBuilder_proucts_diga_2.jsp & XSLProductTitles_diga_ISO_2.xsl)
config.ResultsBrowserGeneral = new Array();
config.ResultsBrowserGeneral.useSearchInfo = false;
config.ResultsBrowserGeneral.useImageHeaders = true;
config.ResultsBrowserGeneral.searchInfoHeader = RESULTS_SEARCH_INFO;
config.ResultsBrowserGeneral.searchInfoImg = "info_consulta.jpg";
config.ResultsBrowserGeneral.resultsListHeader = RESULTS_LIST;
config.ResultsBrowserGeneral.resultsListImg = "lista_resultados.jpg";
config.ResultsBrowserGeneral.viewDetailTip = RESULTS_VIEW_DETAIL_TIP;
config.ResultsBrowserGeneral.useViewMetadata = true;
config.ResultsBrowserGeneral.viewMetadata = RESULTS_VIEW_METADATA;
config.ResultsBrowserGeneral.viewMetadataTooltip = RESULTS_VIEW_METADATA_TOOLTIP;
config.ResultsBrowserGeneral.useViewDetailMigra = false;
config.ResultsBrowserGeneral.viewDetailMigra = RESULTS_VIEW_DETAIL_MIGRA;
config.ResultsBrowserGeneral.viewDetailMigraTooltip = RESULTS_VIEW_DETAIL_MIGRA_TOOLTIP;
config.ResultsBrowserGeneral.useViewAggregates = false;
config.ResultsBrowserGeneral.viewAggregates = RESULTS_VIEW_AGGREGATES;
config.ResultsBrowserGeneral.viewAggregatesTooltip = RESULTS_VIEW_AGGREGATES_TOOLTIP;
config.ResultsBrowserGeneral.useViewLayers = true;
config.ResultsBrowserGeneral.viewLayers = RESULTS_VIEW_LAYERS;
config.ResultsBrowserGeneral.viewLayersTooltip = RESULTS_VIEW_LAYERS_TOOLTIP;
config.ResultsBrowserGeneral.useViewMapServices = false;
config.ResultsBrowserGeneral.viewMapServices = RESULTS_VIEW_MAP_SERVICES;
config.ResultsBrowserGeneral.viewMapServicesTooltip = RESULTS_VIEW_MAP_SERVICES_TOOLTIP;
config.ResultsBrowserGeneral.useViewProvider = false;

config.ResultsBrowserGeneral.resultsBrowserClient = config.Global.resultsBrowserViewGeneral;
config.ResultsBrowserGeneral.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserGeneral.newSearch = config.Global.mainPage;
config.ResultsBrowserGeneral.newSearchTargetWindow = "_self";
config.ResultsBrowserGeneral.refineQuestion = config.Global.mainPage;
config.ResultsBrowserGeneral.refineQuestionTargetWindow = "_self";

config.ResultsBrowserGeneral.getUnits = new Array();
config.ResultsBrowserGeneral.getUnits.targetWindow = "_self";
config.ResultsBrowserGeneral.getUnits.resultsBrowserView = config.Global.resultsBrowserUnitsViewGeneral;
config.ResultsBrowserGeneral.getUnits.resultDetailer = "";

config.ResultsBrowserGeneral.mostrarIso = new Array();
config.ResultsBrowserGeneral.mostrarIso.targetWindow = "_blank";
config.ResultsBrowserGeneral.mostrarIso.resultDetailerView = config.Global.resultsISOView;

config.ResultsBrowserGeneral.mostrarResumen = new Array();
config.ResultsBrowserGeneral.mostrarResumen.targetWindow = "_self";
config.ResultsBrowserGeneral.mostrarResumen.resultDetailerView = config.Global.resultsResumenView;
config.ResultsBrowserGeneral.mostrarResumen.resultsBrowserView = config.Global.resultsBrowserViewGeneral;

config.ResultsBrowserGeneral.getServices = new Array();
config.ResultsBrowserGeneral.getServices.targetWindow = "_blank";
config.ResultsBrowserGeneral.getServices.resultDetailerView = config.Global.resultsServicesView;

// Página de resultados (ResultsBrowserGUIBuilder_proucts_diga_2.jsp & XSLProductTitles_diga_ISO_2.xsl)
config.ResultsBrowserThesaurus = new Array();
config.ResultsBrowserThesaurus.useSearchInfo = true;
config.ResultsBrowserThesaurus.useImageHeaders = true;
config.ResultsBrowserThesaurus.searchInfoHeader = RESULTS_SEARCH_INFO;
config.ResultsBrowserThesaurus.searchInfoImg = "info_consulta.jpg";
config.ResultsBrowserThesaurus.resultsListHeader = RESULTS_LIST;
config.ResultsBrowserThesaurus.resultsListImg = "lista_resultados.jpg";
config.ResultsBrowserThesaurus.viewDetailTip = RESULTS_VIEW_DETAIL_TIP;
config.ResultsBrowserThesaurus.useViewMetadata = true;
config.ResultsBrowserThesaurus.viewMetadata = RESULTS_VIEW_METADATA;
config.ResultsBrowserThesaurus.viewMetadataTooltip = RESULTS_VIEW_METADATA_TOOLTIP;
config.ResultsBrowserThesaurus.useViewDetailMigra = false;
config.ResultsBrowserThesaurus.viewDetailMigra = RESULTS_VIEW_DETAIL_MIGRA;
config.ResultsBrowserThesaurus.viewDetailMigraTooltip = RESULTS_VIEW_DETAIL_MIGRA_TOOLTIP;
config.ResultsBrowserThesaurus.useViewAggregates = true;
config.ResultsBrowserThesaurus.viewAggregates = RESULTS_VIEW_AGGREGATES;
config.ResultsBrowserThesaurus.viewAggregatesTooltip = RESULTS_VIEW_AGGREGATES_TOOLTIP;
config.ResultsBrowserThesaurus.useViewLayers = true;
config.ResultsBrowserThesaurus.viewLayers = RESULTS_VIEW_LAYERS;
config.ResultsBrowserThesaurus.viewLayersTooltip = RESULTS_VIEW_LAYERS_TOOLTIP;
config.ResultsBrowserThesaurus.useViewMapServices = true;
config.ResultsBrowserThesaurus.viewMapServices = RESULTS_VIEW_MAP_SERVICES;
config.ResultsBrowserThesaurus.viewMapServicesTooltip = RESULTS_VIEW_MAP_SERVICES_TOOLTIP;
config.ResultsBrowserThesaurus.useViewProvider = false;

config.ResultsBrowserThesaurus.resultsBrowserClient = config.Global.resultsBrowserViewThesaurus;
config.ResultsBrowserThesaurus.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserThesaurus.newSearch = config.Global.thesaurusMainPage;
config.ResultsBrowserThesaurus.newSearchTargetWindow = "_self";
config.ResultsBrowserThesaurus.refineQuestion = config.Global.thesaurusMainPage;
config.ResultsBrowserThesaurus.refineQuestionTargetWindow = "_self";

config.ResultsBrowserThesaurus.getUnits = new Array();
config.ResultsBrowserThesaurus.getUnits.targetWindow = "_self";
config.ResultsBrowserThesaurus.getUnits.resultsBrowserView = config.Global.resultsBrowserUnitsViewThesaurus;
config.ResultsBrowserThesaurus.getUnits.resultDetailer = "";

config.ResultsBrowserThesaurus.mostrarIso = new Array();
config.ResultsBrowserThesaurus.mostrarIso.targetWindow = "_blank";
config.ResultsBrowserThesaurus.mostrarIso.resultDetailerView = config.Global.resultsISOView;

config.ResultsBrowserThesaurus.mostrarResumen = new Array();
config.ResultsBrowserThesaurus.mostrarResumen.targetWindow = "_self";
config.ResultsBrowserThesaurus.mostrarResumen.resultDetailerView = config.Global.resultsResumenView;
config.ResultsBrowserThesaurus.mostrarResumen.resultsBrowserView = config.Global.resultsBrowserViewThesaurus;

config.ResultsBrowserThesaurus.getServices = new Array();
config.ResultsBrowserThesaurus.getServices.targetWindow = "_blank";
config.ResultsBrowserThesaurus.getServices.resultDetailerView = config.Global.resultsServicesView;

// Página de información detallada de un resultado (RDV_resumen.jsp & XSLProductResume_ISO.xsl)
config.ResultDetailer = new Array();
config.ResultDetailer.title = DETAILER_TITLE;
config.ResultDetailer.summary = DETAILER_SUMMARY;
config.ResultDetailer.creator = DETAILER_CREATOR;
config.ResultDetailer.date = DETAILER_DATE;
config.ResultDetailer.source = DETAILER_SOURCE;
config.ResultDetailer.useImageHeaders = true;
config.ResultDetailer.detailerHeaderImg = "resumen.jpg";
config.ResultDetailer.detailerHeader = DETAILER_HEADER;


config.ResultDetailer.resultsBrowserView = config.Global.resultsBrowserViewGeneral;
config.ResultDetailer.resultDetailerView = config.Global.resultDetailerView;
config.ResultDetailer.resultsBrowserClientTargetWindow = "_self";
config.ResultDetailer.mainPage = config.Global.mainPage;
config.ResultDetailer.mainPageTargetWindow = "_self";
config.ResultDetailer.useBackToResults = false;
config.ResultDetailer.useNewSearch = false;
config.ResultDetailer.useTranslate = false;

// Página de metadato completo (ISODV_general.jsp)
config.CompleteMetadata = new Array();
config.CompleteMetadata.useTranslate = false;

// Página de resultados agregados (ResultsBrowserGUIBuilder_units_diga.jsp) 
config.ResultsBrowserUnits = new Array();
config.ResultsBrowserUnits.useImageHeaders = true;
config.ResultsBrowserUnits.searchInfoHeader = RESULTS_UNITS_SEARCH_INFO;
config.ResultsBrowserUnits.searchInfoImg = "info_consulta.jpg";
config.ResultsBrowserUnits.resultsListHeader = RESULTS_UNITS_LIST;
config.ResultsBrowserUnits.resultsListImg = "lista_resultados.jpg";
config.ResultsBrowserUnits.lineaImg = "titdegra2.jpg";
config.ResultsBrowserUnits.useEmbeddedMap = true;
config.ResultsBrowserUnits.embeddedClientInIFRAME = false;
config.ResultsBrowserUnits.embeddedClientInExternalFRAME = true;
config.ResultsBrowserUnits.embeddedClientFramePath = "VisualizadorInteractivoMinimo_cuadriculasSLD";
config.ResultsBrowserUnits.embeddedClientTimeout = 1700;
config.ResultsBrowserUnits.resultsBrowserClient = config.Global.resultsBrowserView;
config.ResultsBrowserUnits.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserUnits.urlWMS = config.Global.urlWMS;
config.ResultsBrowserUnits.useViewProvider = false;

config.ResultsBrowserUnits.resultsBrowserClient = config.Global.resultsBrowserUnitsView;
config.ResultsBrowserUnits.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserUnits.newSearch = config.Global.mainPage;
config.ResultsBrowserUnits.newSearchTargetWindow = "_self";
config.ResultsBrowserUnits.refineQuestion = config.Global.mainPage;
config.ResultsBrowserUnits.refineQuestionTargetWindow = "_self";

config.ResultsBrowserUnits.getUnits = new Array();
config.ResultsBrowserUnits.getUnits.targetWindow = "_self";
config.ResultsBrowserUnits.getUnits.resultsBrowserView = config.Global.resultsBrowserUnitsView;
config.ResultsBrowserUnits.getUnits.resultDetailer = "";

config.ResultsBrowserUnits.initialList = new Array();
config.ResultsBrowserUnits.initialList.targetWindow = "_self";
config.ResultsBrowserUnits.initialList.resultsBrowserView = config.Global.resultsBrowserView;
config.ResultsBrowserUnits.initialList.resultDetailer = "";

config.ResultsBrowserUnits.levelUp = new Array();
config.ResultsBrowserUnits.levelUp.targetWindow = "_self";
config.ResultsBrowserUnits.levelUp.resultsBrowserView = config.Global.resultsBrowserUnitsView;
config.ResultsBrowserUnits.levelUp.resultDetailer = "";

config.ResultsBrowserUnits.mostrarIso = new Array();
config.ResultsBrowserUnits.mostrarIso.targetWindow = "_blank";
config.ResultsBrowserUnits.mostrarIso.resultDetailerView = config.Global.resultsISOView;

config.ResultsBrowserUnits.mostrarResumen = new Array();
config.ResultsBrowserUnits.mostrarResumen.targetWindow = "_blank";
config.ResultsBrowserUnits.mostrarResumen.resultDetailerView = config.Global.resultsResumenView;

config.ResultsBrowserUnits.getServices = new Array();
config.ResultsBrowserUnits.getServices.targetWindow = "_blank";
config.ResultsBrowserUnits.getServices.resultDetailerView = config.Global.resultsServicesView;

// Página de resultados agregados (ResultsBrowserGUIBuilder_units_general.jsp) 
config.ResultsBrowserUnitsGeneral = new Array();
config.ResultsBrowserUnitsGeneral.useImageHeaders = true;
config.ResultsBrowserUnitsGeneral.searchInfoHeader = RESULTS_UNITS_SEARCH_INFO;
config.ResultsBrowserUnitsGeneral.searchInfoImg = "info_consulta.jpg";
config.ResultsBrowserUnitsGeneral.resultsListHeader = RESULTS_UNITS_LIST;
config.ResultsBrowserUnitsGeneral.resultsListImg = "lista_resultados.jpg";
config.ResultsBrowserUnitsGeneral.lineaImg = "titdegra2.jpg";
config.ResultsBrowserUnitsGeneral.useEmbeddedMap = true;
config.ResultsBrowserUnitsGeneral.embeddedClientInIFRAME = false;
config.ResultsBrowserUnitsGeneral.embeddedClientInExternalFRAME = true;
config.ResultsBrowserUnitsGeneral.embeddedClientFramePath = "VisualizadorInteractivoMinimo_cuadriculasSLD";
config.ResultsBrowserUnitsGeneral.embeddedClientTimeout = 1700;
config.ResultsBrowserUnitsGeneral.resultsBrowserClient = config.Global.resultsBrowserViewGeneral;
config.ResultsBrowserUnitsGeneral.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserUnitsGeneral.urlWMS = config.Global.urlWMS;
config.ResultsBrowserUnitsGeneral.useViewProvider = false;

config.ResultsBrowserUnitsGeneral.resultsBrowserClient = config.Global.resultsBrowserUnitsViewGeneral;
config.ResultsBrowserUnitsGeneral.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserUnitsGeneral.newSearch = config.Global.mainPage;
config.ResultsBrowserUnitsGeneral.newSearchTargetWindow = "_self";
config.ResultsBrowserUnitsGeneral.refineQuestion = config.Global.mainPage;
config.ResultsBrowserUnitsGeneral.refineQuestionTargetWindow = "_self";

config.ResultsBrowserUnitsGeneral.getUnits = new Array();
config.ResultsBrowserUnitsGeneral.getUnits.targetWindow = "_self";
config.ResultsBrowserUnitsGeneral.getUnits.resultsBrowserView = config.Global.resultsBrowserUnitsViewGeneral;
config.ResultsBrowserUnitsGeneral.getUnits.resultDetailer = "";

config.ResultsBrowserUnitsGeneral.initialList = new Array();
config.ResultsBrowserUnitsGeneral.initialList.targetWindow = "_self";
config.ResultsBrowserUnitsGeneral.initialList.resultsBrowserView = config.Global.resultsBrowserViewGeneral;
config.ResultsBrowserUnitsGeneral.initialList.resultDetailer = "";

config.ResultsBrowserUnitsGeneral.levelUp = new Array();
config.ResultsBrowserUnitsGeneral.levelUp.targetWindow = "_self";
config.ResultsBrowserUnitsGeneral.levelUp.resultsBrowserView = config.Global.resultsBrowserUnitsViewGeneral;
config.ResultsBrowserUnitsGeneral.levelUp.resultDetailer = "";

config.ResultsBrowserUnitsGeneral.mostrarIso = new Array();
config.ResultsBrowserUnitsGeneral.mostrarIso.targetWindow = "_blank";
config.ResultsBrowserUnitsGeneral.mostrarIso.resultDetailerView = config.Global.resultsISOView;

config.ResultsBrowserUnitsGeneral.mostrarResumen = new Array();
config.ResultsBrowserUnitsGeneral.mostrarResumen.targetWindow = "_blank";
config.ResultsBrowserUnitsGeneral.mostrarResumen.resultDetailerView = config.Global.resultsResumenView;

config.ResultsBrowserUnitsGeneral.getServices = new Array();
config.ResultsBrowserUnitsGeneral.getServices.targetWindow = "_blank";
config.ResultsBrowserUnitsGeneral.getServices.resultDetailerView = config.Global.resultsServicesView;

// Página de resultados agregados en buscador por tesauros (ResultsBrowserGUIBuilder_units_thesaurus.jsp) 
config.ResultsBrowserUnitsThesaurus = new Array();
config.ResultsBrowserUnitsThesaurus.useImageHeaders = true;
config.ResultsBrowserUnitsThesaurus.searchInfoHeader = RESULTS_UNITS_SEARCH_INFO;
config.ResultsBrowserUnitsThesaurus.searchInfoImg = "info_consulta.jpg";
config.ResultsBrowserUnitsThesaurus.resultsListHeader = RESULTS_UNITS_LIST;
config.ResultsBrowserUnitsThesaurus.resultsListImg = "lista_resultados.jpg";
config.ResultsBrowserUnitsThesaurus.lineaImg = "titdegra2.jpg";
config.ResultsBrowserUnitsThesaurus.useEmbeddedMap = true;
config.ResultsBrowserUnitsThesaurus.embeddedClientInIFRAME = false;
config.ResultsBrowserUnitsThesaurus.embeddedClientInExternalFRAME = true;
config.ResultsBrowserUnitsThesaurus.embeddedClientFramePath = "VisualizadorInteractivoMinimo_cuadriculasSLD";
config.ResultsBrowserUnitsThesaurus.embeddedClientTimeout = 1700;
config.ResultsBrowserUnitsThesaurus.resultsBrowserClient = config.Global.resultsBrowserViewThesaurus;
config.ResultsBrowserUnitsThesaurus.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserUnitsThesaurus.urlWMS = config.Global.urlWMS;
config.ResultsBrowserUnitsThesaurus.useViewProvider = false;

config.ResultsBrowserUnitsThesaurus.resultsBrowserClient = config.Global.resultsBrowserUnitsViewThesaurus;
config.ResultsBrowserUnitsThesaurus.resultsBrowserClientTargetWindow = "_self";
config.ResultsBrowserUnitsThesaurus.newSearch = config.Global.thesaurusMainPage;
config.ResultsBrowserUnitsThesaurus.newSearchTargetWindow = "_self";
config.ResultsBrowserUnitsThesaurus.refineQuestion = config.Global.thesaurusMainPage;
config.ResultsBrowserUnitsThesaurus.refineQuestionTargetWindow = "_self";

config.ResultsBrowserUnitsThesaurus.getUnits = new Array();
config.ResultsBrowserUnitsThesaurus.getUnits.targetWindow = "_self";
config.ResultsBrowserUnitsThesaurus.getUnits.resultsBrowserView = config.Global.resultsBrowserUnitsViewThesaurus;
config.ResultsBrowserUnitsThesaurus.getUnits.resultDetailer = "";

config.ResultsBrowserUnitsThesaurus.initialList = new Array();
config.ResultsBrowserUnitsThesaurus.initialList.targetWindow = "_self";
config.ResultsBrowserUnitsThesaurus.initialList.resultsBrowserView = config.Global.resultsBrowserViewThesaurus;
config.ResultsBrowserUnitsThesaurus.initialList.resultDetailer = "";

config.ResultsBrowserUnitsThesaurus.levelUp = new Array();
config.ResultsBrowserUnitsThesaurus.levelUp.targetWindow = "_self";
config.ResultsBrowserUnitsThesaurus.levelUp.resultsBrowserView = config.Global.resultsBrowserUnitsViewThesaurus;
config.ResultsBrowserUnitsThesaurus.levelUp.resultDetailer = "";

config.ResultsBrowserUnitsThesaurus.mostrarIso = new Array();
config.ResultsBrowserUnitsThesaurus.mostrarIso.targetWindow = "_blank";
config.ResultsBrowserUnitsThesaurus.mostrarIso.resultDetailerView = config.Global.resultsISOView;

config.ResultsBrowserUnitsThesaurus.mostrarResumen = new Array();
config.ResultsBrowserUnitsThesaurus.mostrarResumen.targetWindow = "_blank";
config.ResultsBrowserUnitsThesaurus.mostrarResumen.resultDetailerView = config.Global.resultsResumenView;

config.ResultsBrowserUnitsThesaurus.getServices = new Array();
config.ResultsBrowserUnitsThesaurus.getServices.targetWindow = "_blank";
config.ResultsBrowserUnitsThesaurus.getServices.resultDetailerView = config.Global.resultsServicesView;

// Página de servicios de mapas (ServicesResultsBrowserView.jsp & XSLServices_DC.xsl)
config.ServicesResults = new Array();
config.ServicesResults.servicesListHeader = SERVICES_LIST;
config.ServicesResults.servicesListImg = "lista_resultados.jpg";
config.ServicesResults.useAddService = true;
config.ServicesResults.addService = SERVICES_ADD_SERVICE;
config.ServicesResults.addServiceImg = "avisualizador.gif";
config.ServicesResults.initSRS = "EPSG:4230";

