numNationalMapServers = 21;


nationalMapServersNamesList = new Array(numNationalMapServers);
nationalMapServersNamesList[0] = "http://www.idee.es/wms/IDEE-Limite/IDEE-Limite";
nationalMapServersNamesList[1] = "http://www.cartociudad.es/wms/PartidosJudiciales";
nationalMapServersNamesList[2] = "http://www.cartociudad.es/wms/CARTOCIUDAD/CARTOCIUDAD";
nationalMapServersNamesList[3] = "http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx";
nationalMapServersNamesList[4] = "http://wms.marm.es/sig/biodivENP/wms.aspx";
nationalMapServersNamesList[5] = "http://wms.marm.es/sig/MapaCultivos/wms.aspx";
nationalMapServersNamesList[6] = "http://wms.marm.es/wms/wms.aspx";
nationalMapServersNamesList[7] = "http://wms.marm.es/sig/MFE/wms.aspx";
nationalMapServersNamesList[8] = "http://mapas.igme.es/gis/services/Cartografia_Geologica/IGME_Geologico_1M/MapServer/WMSServer";
nationalMapServersNamesList[9] = "http://siu.vivienda.es/ows/wms";
nationalMapServersNamesList[10] = "http://geoportal.mityc.es/cgi-bin/mapserv";
nationalMapServersNamesList[11] = "http://www.idee.es/wms/IDEE-Referencia/IDEE-Referencia";
nationalMapServersNamesList[12] = "http://www.idee.es/wms/IDEE-Cuadricula-Hojas/IDEE-Cuadricula-Hojas";
nationalMapServersNamesList[13] = "http://www.idee.es/wms/MTN-Raster/MTN-Raster";
nationalMapServersNamesList[14] = "http://www.idee.es/wms/IDEE-Base/IDEE-Base";
nationalMapServersNamesList[15] = "http://www.idee.es/wms-c/IDEE-Base/IDEE-Base";
nationalMapServersNamesList[16] = "http://www.idee.es/wms/PNOA/PNOA";
nationalMapServersNamesList[17] = "http://www.idee.es/wms/PNOA-MR/PNOA-MR";
nationalMapServersNamesList[18] = "http://www.idee.es/wms/IDEE-Relieve-UTM30N/IDEE-Relieve-UTM30N";
nationalMapServersNamesList[19] = "http://www.idee.es/wms/IDEE-Relieve-UTM28N/IDEE-Relieve-UTM28N";
nationalMapServersNamesList[20] = "http://wms.marm.es/sig/biodivRedNatura/wms.aspx"

nationalMapServersTitlesList = new Array(numNationalMapServers);
nationalMapServersTitlesList[0] = "Unidades estadísticas (INE)";
nationalMapServersTitlesList[1] = "Partidos judiciales (M.º Justicia)";
nationalMapServersTitlesList[2] = "CartoCiudad";
nationalMapServersTitlesList[3] = "Catastro (MEH)";
nationalMapServersTitlesList[4] = "Espacios Naturales Protegidos (MARM)";
nationalMapServersTitlesList[5] = "Mapa de cultivos y aprovechamientos (MARM)";
nationalMapServersTitlesList[6] = "SIGPAC (MARM)";
nationalMapServersTitlesList[7] = "Mapa Forestal de España (MARM)";
nationalMapServersTitlesList[8] = "Mapa Geológico 1:1000000 (IGME) ";
nationalMapServersTitlesList[9] = "Sistema de Información Urbana (SG Vivienda)";
nationalMapServersTitlesList[10] = "Estaciones de servicio (MITYC)";
nationalMapServersTitlesList[11] = "Redes geodésicas (IGN)";
nationalMapServersTitlesList[12] = "Cuadrículas cartográficas (IGN)";
nationalMapServersTitlesList[13] = "Mapa Topográfico Nacional 1:25000 (IGN)";
nationalMapServersTitlesList[14] = "Mapa base (IGN)";
nationalMapServersTitlesList[15] = "Mapa base (IGN) WMS-C (Teselado)";
nationalMapServersTitlesList[16] = "Ortofotos PNOA máxima actualidad (IGN)";
nationalMapServersTitlesList[17] = "Ortofotos PNOA máxima resolución (IGN)";
nationalMapServersTitlesList[18] = "MDT: pendientes y orientaciones Península y Baleares (IGN)";
nationalMapServersTitlesList[19] = "MDT: pendientes y orientaciones Canarias (IGN)";
nationalMapServersTitlesList[20] = "Red Natura 2000 (MARM)";

nationalMapVersion = new Array(numNationalMapServers);
nationalMapVersion[0] = "1.3.0";
nationalMapVersion[1] = "1.1.1";
nationalMapVersion[2] = "1.1.1";
nationalMapVersion[3] = "1.1.1";
nationalMapVersion[4] = "1.1.1";
nationalMapVersion[5] = "1.3.0";
nationalMapVersion[6] = "1.1.0";
nationalMapVersion[7] = "1.1.1";
nationalMapVersion[8] = "1.1.0";
nationalMapVersion[9] = "1.1.1";
nationalMapVersion[10] = "1.1.1";
nationalMapVersion[11] = "1.3.0";
nationalMapVersion[12] = "1.3.0";
nationalMapVersion[13] = "1.3.0";
nationalMapVersion[14] = "1.3.0";
nationalMapVersion[15] = "1.3.0";
nationalMapVersion[16] = "1.1.1";
nationalMapVersion[17] = "1.1.1";
nationalMapVersion[18] = "1.3.0";
nationalMapVersion[19] = "1.3.0";
nationalMapVersion[20] = "1.1.1";


nationalServiceType = new Array(numNationalMapServers);
for (var i = 0; i < numNationalMapServers;i++) {
  nationalServiceType[i] = "WMS";
}

nationalIsWMSC = new Array(numNationalMapServers);
for (var i = 0; i < numNationalMapServers;i++) {
  nationalIsWMSC[i] = false;
}
nationalIsWMSC[15] = true;

nationalMapDefaultFormatSelected = new Array(numNationalMapServers);
nationalMapDefaultFormatSelected[0] = null;
nationalMapDefaultFormatSelected[1] = null;
nationalMapDefaultFormatSelected[2] = null;
nationalMapDefaultFormatSelected[3] = "image/png";
nationalMapDefaultFormatSelected[4] = null;
nationalMapDefaultFormatSelected[5] = null;
nationalMapDefaultFormatSelected[6] = "image/png";
nationalMapDefaultFormatSelected[7] = null;
nationalMapDefaultFormatSelected[8] = null;
nationalMapDefaultFormatSelected[9] = "image/png";
nationalMapDefaultFormatSelected[10] = null;
nationalMapDefaultFormatSelected[11] = null;
nationalMapDefaultFormatSelected[12] = null;
nationalMapDefaultFormatSelected[13] = null;
nationalMapDefaultFormatSelected[14] = null;
nationalMapDefaultFormatSelected[15] = null;
nationalMapDefaultFormatSelected[16] = null;
nationalMapDefaultFormatSelected[17] = null;
nationalMapDefaultFormatSelected[18] = null;
nationalMapDefaultFormatSelected[19] = null;
nationalMapDefaultFormatSelected[20] = null;


