/* 
    This file is part of MiraMon Map Browser.
    MiraMon Map Browser is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Foobar is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with MiraMon Map Browser.  If not, see "http://www.gnu.org/licenses/".

    Copyright 2001, 2011 Xavier Pons

    Aquest codi JavaScript ha estat realitzat per Joan Masó Pau 
    (joan maso at uab cat) i Nuria Julià (n julia at creaf uab cat)
    dins del grup de MiraMon. MiraMon és un projecte del Centre
    de recerca i aplicacions forestals (CREAF) que elabora programari de 
    Sistema d'Informació Geogràfica i de Teledetecció per a la 
    visualització, consulta, edició i anàlisi de mapes ràsters i 
    vectorials. Elabora programari d'escriptori i també servidors i clients 
    per Internet. No tots aquests productes són gratuïts o de codi obert. 
    En particular, el Navegador de Mapes del MiraMon (client per Internet) 
    es distribueix sota els termes de la llicència "GNU General Public 
    License". Es pot actualitzar des de www.creaf.uab.cat/miramon/mmn

    Fitxer de configuració del navegador.
*/

var VersioConfigMMN="5.3";

if (VersioConfigMMN!=VersioToolsMMN)
{
    alert("La versió de config.js (" + VersioConfigMMN + ") no es correspon amb la versió de tools.htm (" + VersioToolsMMN + "). Actualitza't correctament." +  
          "La versión de config.js (" + VersioConfigMMN + ") no se corresponde con la versión de tools.htm (" + VersioToolsMMN + "). Actualicese correctamente." +
          "The version of config.js (" + VersioConfigMMN + ") it is not according with the version of tools.htm (" + VersioToolsMMN + "). Please, upgrade it correctly.");
}
var ServidorLocal="http://www.sigma.ad/sma/cgi-bin/MiraMon5_0.cgi?";
//var ServidorLocal="http://www.ogc.uab.es/sma/cgi-bin/MiraMon5_0.cgi?";
//var ServidorLocal="http://www.ogc.uab.es/cgi-bin/SIGMA_nou/MiraMon5_0.cgi?";

var VersioServidorLocal=new CreaVersio(1,1,1);

var TipusServidorLocal=TipusWMS;
var AdrecaBaseSRC="";
var WPSschemaURL="http://schemas.opengis.net";


/* *****************************************************************************
			C O N F I G U R A C I O  D E L  N A V E G A D O R
***************************************************************************** */

var ParamCtrl=new CreaParametresDeControl(new Array("cat"),		//Idiomes
					"cat", 		  //Idioma predeterminat
					"http://www.sigma.ad",   //Plana principal
                    new CreaTitolNavegador("titol", 
										   "<img src=propies/mini_capcelera_SIGMA.gif>"),  //Títol navegador
					"Sistema d'Informació Geogràfica Mediambiental d'Andorra. SIGMA", 	//Títol Faixa Blava
//					"<font face='Arial' size='3' color='#00A286'><b>Sistema d'Informació Geogràfica Mediambiental d'Andorra</b></font>",		//Títol de les caixes filles
					"<img src=propies/mini_capcelera_SIGMA.gif>",
					640, //N Columnes
					480, //N Files
					true, //NColNFilAuto
					80, //psalt
					0,  //MargeEsqVista
				   	0,  //MargeSupVista
				   	"#C0C0C0",		//ColorFonsVista
				   	"#FF7E2B",		//ColorQuadratSituacio
//				   	"#EFDFFF",		//ColorFonsPlana
//				   	"#F4EAFF",		//ColorFonsPlana
				   	"#FFFFFF",		//ColorFonsPlana
				   	" ",	//titol_coord
				   	1,		//NDecimalesCoord
				   	no,  		//CoordExtremes: no, proj, longlat_g, longlat_gms
				   	proj,  //CoordActual:   proj|longlat_g|longlat_gms
				   	20,  		//costat del nivell de zoom inicial
				   					   	consultable_segons_escala|desplegable_proj|zoom_un_sol_clic, //flags: zoom_continu,consultable_segons_escala,desplegable_proj,canvi_proj_auto,zoom_un_sol_clic
					new Array(new CreaImatgeDeSituacio(new CreaExtentCRS(new CreaExtent(523800,555200,14400,39700),"EPSG:27563"),
										"propies/ImatgeServidorCCL.gif", 211, 170, 15, 15),
						  new CreaImatgeDeSituacio(new CreaExtentCRS(new CreaExtent(369200,400700,4698600,4723800),"EPSG:23031"),
										"propies/ImatgeServidor31N.gif", 210, 170, 15, 15),
						  new CreaImatgeDeSituacio(new CreaExtentCRS(new CreaExtent(369200,400700,4698600,4723800),"EPSG:25831"),
										"propies/ImatgeServidor31N.gif", 210, 170, 15, 15),
						  new CreaImatgeDeSituacio(new CreaExtentCRS(new CreaExtent(1.408,1.786,42.428, 42.656),"EPSG:4258"),
										"propies/ImatgeServidorLatLon.png", 217, 130, 15, 15),
						  new CreaImatgeDeSituacio(new CreaExtentCRS(new CreaExtent(1.408,1.786,42.428, 42.656),"EPSG:4326"),
										"propies/ImatgeServidorLatLon.png", 217, 130, 15, 15)),
					true, 		//Auto
					0,
//					new CreaPunt2D(532000, 22500),			//Punt centre vista
					new CreaPunt2D(534750, 23960),			//Punt centre vista
					new CreaAspecteLlegenda("",		//Capcalera Llegenda
						"", //Peu Llegenda
						"<font face=\"Arial\" size=2 color=\"#00A286\"><b>",			//PreviSepara
						"</b></font>",			//PostSepara
						"<font face=\"Arial\" color=\"#808080\" size=1><b>",			//PreviDescLlegenda
						"</font></b></font>",			//PostDescLlegenda
						"<font face=\"Arial\" color=\"#00A286\" size=1><b>",			//PreviDescLlegendaGris
						"</b></font>",			//PostDescLlegendaGris
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=1>",			//PreviDescEstil
						"</font>",			//PostDescEstil
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=1>",			//PreviDescItems
						"</font>",			//PostDescItems
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=1>",			//PreviDescColor
						"</font>"),			//PostDescColor
					new CreaAspecteLlegenda("",		//Capcalera Llegenda
						"",
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=2 color=\"#00A286\"><b>",			//PreviSepara
						"</b></font>",			//PostSepara
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#00A286\" size=1><b>",			//PreviDescLlegenda
						"</font></b></font>",			//PostDescLlegenda
						"<font face=\"Arial\" color=\"#00A286\" size=1><b>",			//PreviDescLlegendaGris
						"</b></font>",			//PostDescLlegendaGris
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=1>",			//PreviDescEstil
						"</font>",			//PostDescEstil
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=1>",			//PreviDescItems
						"</font>",			//PostDescItems
						"<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=1>",			//PreviDescColor
						"</font>"),			//PostDescColor
					gris_segons_escala|grups_com_a_radials|lliga_visible_amb_ctipica|amaga_separa_no_capa|gris_si_fora_ambit,				//FlagsLlegenda
					new Array(new CreaParamFinestraConsultaTipica("ctipica", ctipica_desplegables, new Array("pobles_andorra","rius_andorra","llacs_andorra","vessants_andorra","pics_andorra","refugis_andorra"))),
    					boto_mes|boto_menys|boto_back|boto_vgeneral|botons_alternatius|boto_caixa_param|boto_plana_principal|boto_ajuda|boto_print|boto_anar_coord|boto_consola|boto_enllac|boto_enllacWMS|boto_afegeixCapa|boto_installar_mmz, //TipusBarraBotons: botons que es volen mostrar a la barra
					null,  //Per boto altres links    					
					"<font face=\"Verdana\" size=1><b>Escala:</b> </font>",
					z_mida_pixel|z_escala_aprox, //TipusLlistatNivellZoom
					estat_click_conloc, //EstatClickSobreVista:					
					consul_finestra_de_cop, //Tipus de consulta per localització per defecte:consul_incrus_de_cop, consul_finestra_de_cop, consul_finestra_seguent_capa
					new CreaIcona("mes.gif", 9, 9, 5, 5), //Icona consulta per localitzacio
   					new CreaDocumentPlantilla(null,
							null,
							"consulta_de_cop.htm",
							500,
							500),
					new CreaIcona("quadrat_v.gif", 9, 9, 5, 5), //Icona anar a coordenada
					null,
					null,
					null,
					5000,	//TempsRefresc
					true); 

/* **********************************************************************************
			D E F I N I C I O  D E L S  P A R A M E T R E S  C O V E R A G E
********************************************************************************** */
var ParGetCoverage=new Array();
//ParGetCoverage[ParGetCoverage.length]=new CreaNomILlista("Orto", null);

var FormatGetCoverage=new Array();
/*FormatGetCoverage[FormatGetCoverage.length]=new CreaNomILlista("Orto",new Array(
		new CreaNomIDescripcioSel("application/x-mmz", new CadenaMultiIdioma("Mapa Comprimit de MiraMon (MMZ)", "Mapa Comprimido de MiraMon (MMZ)", "MiraMon Compressed Map (MMZ)"), true),
		new CreaNomIDescripcioSel("application/x-zip-compressed", new CadenaMultiIdioma("Imatge JPEG georeferenciada (JPEG->ZIP)", "Imagen JPEG georeferenciada (JPEG->ZIP)", "Georeferenced JPEG Image (JPEG->ZIP)"), false),
		new CreaNomIDescripcioSel("application/x-rst", new CadenaMultiIdioma("Composició d'Idrisi Kilimanjaro (RST->ZIP)", "Composición de Idrisi Kilimanjaro (RST->ZIP)", "Idrisi Kilimanjaro Composite (RST->ZIP)"), false)));
*/
var ResGetCoverage=new Array();

/*ResGetCoverage[ResGetCoverage.length]=new CreaNomILlista("Orto",new CreaPunt2D(
		new CreaIntervalValorsDescripciosSel(0.5, null, 0.5, null, 0.5),
		new CreaIntervalValorsDescripciosSel(0.5, null, 0.5, null, 0.5)));

*/
/* *****************************************************************************
			D E F I N I C I O  D E   L E S   C A P E S
***************************************************************************** */
var capa=new Array();

capa[capa.length]=new CreaCapa(ServidorLocal,				//servidor
					VersioServidorLocal,		//VersRequestWMS
					TipusServidorLocal,
					"limadm-andorra",			//codi capa
					"Limits administratius d'Andorra. 1:5000 (Govern d'Andorra)",		//descripció capa
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					"image/gif",     		//Format imatge
					transparent,	     		//Transparecia
					0.5,				//CostatMinim
					100,				//CostatMaxim
					null,  //null per a wms
					"text/xml",
					null,		
					"<hr align=\"left\" width=\"230\"><b><font face=\"Verdana\" color=\"#00A286\" size=1>Mapa topogràfic 1:5000<hr align=\"left\" width=\"230\"></font></b>", //Separa
					"Limits administratius",		//DescLlegenda
					new Array(					new CreaEstil(
					null,
					null,		//descripcio
					null,		//DescItems
					"L",
					null, //metadades
					new Array(new CreaItemLleg("#808080","<font face=\"Verdana\" color=\"#606060\" size=1>Parròquia</font>"),		//DescColor
								 	new CreaItemLleg("#FF0000","<font face=\"Verdana\" color=\"#606060\" size=1>Estat</font>")),		//DescColor
					1)),			//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					si,				//visible
					no,				//consultable
					si,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Topografic-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "poblament-andorra",
					 "Topònims-Poblament d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 transparent,
					 0.5,
					 20,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 "",		//Separa
					 "Topònims Poblament", //DescLlegenda
 					 new Array(			new CreaEstil(
					 null,
					 null,
					 null,
					 "S",
					 null, //metadades
					 null,
					 0)),
					 0,
					 0,
	 				 no,
	 				 si,
					 si,
					 no,
					 si,
			                 null,
					 null,
					 null,
					 "metadades\\index_metadades_Topografic-3.htm",		//metadades
					 null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "medifisic-andorra",
					 "Topònims-Medi Físic d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 transparent,
					 0.5,
					 20,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 "",		//Separa
					 "Topònims Medi Físic", //DescLlegenda
 					 new Array(			new CreaEstil(
					 null,
					 null,
					 null,
					 "S",
					 null, //metadades
					 null,
					 0)),
					 0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Topografic-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "cnivell-andorra",
					 "Corbes de nivell d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 transparent,
					 0.5,
					 50,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Corbes de nivell mestres (25 m)",		//DescLlegenda
					 new Array(					new CreaEstil(
					 null,
					 null,		//descripcio
					 null,		//DescItems
					 "L",
					 null, //metadades
					 new Array(new CreaItemLleg("#FFB2FF","<font face=\"Verdana\" color=\"#606060\" size=1>3000</font>"),		//DescColor
							   		new CreaItemLleg("#BA9E82","<font face=\"Verdana\" color=\"#606060\" size=1>2750</font>"),		//DescColor
							   		new CreaItemLleg("#796500","<font face=\"Verdana\" color=\"#606060\" size=1>2500</font>"),		//DescColor
							   		new CreaItemLleg("#BA9200","<font face=\"Verdana\" color=\"#606060\" size=1>2250</font>"),		//DescColor
							   		new CreaItemLleg("#BA5500","<font face=\"Verdana\" color=\"#606060\" size=1>2000</font>"),		//DescColor
							   		new CreaItemLleg("#FF7D00","<font face=\"Verdana\" color=\"#606060\" size=1>1750</font>"),		//DescColor
							   		new CreaItemLleg("#FFB600","<font face=\"Verdana\" color=\"#606060\" size=1>1500</font>"),		//DescColor
							   		new CreaItemLleg("#FFEB00","<font face=\"Verdana\" color=\"#606060\" size=1>1250</font>"),		//DescColor
							   		new CreaItemLleg("#00FF00","<font face=\"Verdana\" color=\"#606060\" size=1>1000</font>"),		//DescColor
							   		new CreaItemLleg("#008200","<font face=\"Verdana\" color=\"#606060\" size=1>750</font>"),		//DescColor
								 	new CreaItemLleg("#000000","<font face=\"Verdana\" color=\"#606060\" size=1>500</font>")),		//DescColor
					3)),			//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Topografic-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "hidro-andorra",
					 "Rius d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 transparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Hidrografia",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#0000FF","<font face=\"Verdana\" color=\"#606060\" size=1>Riu, llac i estany d'aigua permanent</font>"),		//DescColor
							   		new CreaItemLleg("#0080FF","<font face=\"Verdana\" color=\"#606060\" size=1>Torrent, canal, barranc, estany i toll eixut</font>"),		//DescColor
							   		new CreaItemLleg("#00FFFF","<font face=\"Verdana\" color=\"#606060\" size=1>Embassament, presa</font>"),		//DescColor
							   		new CreaItemLleg("#8000FF","<font face=\"Verdana\" color=\"#606060\" size=1>Canal i sèquia de cultiu</font>"),		//DescColor
							   		new CreaItemLleg("#004080","<font face=\"Verdana\" color=\"#606060\" size=1>Piscina, bassa i estany ornamental</font>"),		//DescColor
							   		new CreaItemLleg("#70BAA4","<font face=\"Verdana\" color=\"#606060\" size=1>Pou, dipòsit d'aigua</font>"),		//DescColor
								 	new CreaItemLleg("#800080","<font face=\"Verdana\" color=\"#606060\" size=1>Conducció soterrada</font>")),		//DescColor
								1)),			//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Topografic-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "comunicacions-andorra",
					 "Xarxa de comunicacions d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 transparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Vies de comunicacions",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#FF0000","<font face=\"Verdana\" color=\"#606060\" size=1>Carretera nacional, secundària i pista</font>"),		//DescColor
							   		new CreaItemLleg("#000000","<font face=\"Verdana\" color=\"#606060\" size=1>Camí</font>"),		//DescColor
							   		new CreaItemLleg("#408080","<font face=\"Verdana\" color=\"#606060\" size=1>Sender i corriol</font>"),		//DescColor
							   		new CreaItemLleg("#00FF00","<font face=\"Verdana\" color=\"#606060\" size=1>Pont i passarel·la</font>"),		//DescColor
							   		new CreaItemLleg("#808000","<font face=\"Verdana\" color=\"#606060\" size=1>Boca túnel</font>"),		//DescColor
							   		new CreaItemLleg("#808080","<font face=\"Verdana\" color=\"#606060\" size=1>Línia de ferrocarril</font>"),		//DescColor
							   		new CreaItemLleg("#0080C0","<font face=\"Verdana\" color=\"#606060\" size=1>Drenatge</font>"),		//DescColor
							   		new CreaItemLleg("#8000FF","<font face=\"Verdana\" color=\"#606060\" size=1>Canal d'obra de fàbrica</font>"),		//DescColor
								 	new CreaItemLleg("#800080","<font face=\"Verdana\" color=\"#606060\" size=1>Canonada, conducció soterrada, canal soterrat</font>")),		//DescColor
								1)),			//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					si,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Topografic-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "urbanitzat-andorra",
					 "Superficie urbanitzada d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 transparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Edificis i Construccions",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#FF00FF","<font face=\"Verdana\" color=\"#606060\" size=1>Façana d'edifici</font>"),		//DescColor
							   		new CreaItemLleg("#FF80FF","<font face=\"Verdana\" color=\"#606060\" size=1>Mitjanera d'edifici</font>"),		//DescColor
							   		new CreaItemLleg("#FF0000","<font face=\"Verdana\" color=\"#606060\" size=1>Façana d'edifici públic</font>"),		//DescColor
							   		new CreaItemLleg("#FF8080","<font face=\"Verdana\" color=\"#606060\" size=1>Mitjanera d'edifici públic</font>"),		//DescColor
							   		new CreaItemLleg("#808080","<font face=\"Verdana\" color=\"#606060\" size=1>Edifici en construcció, ruïnes</font>"),		//DescColor
							   		new CreaItemLleg("#000000","<font face=\"Verdana\" color=\"#606060\" size=1>Església, capella</font>"),		//DescColor
							   		new CreaItemLleg("#804000","<font face=\"Verdana\" color=\"#606060\" size=1>Refugi de muntanya</font>"),		//DescColor
							   		new CreaItemLleg("#008000","<font face=\"Verdana\" color=\"#606060\" size=1>Zona esportiva</font>"),		//DescColor
								 	new CreaItemLleg("#E1710B","<font face=\"Verdana\" color=\"#606060\" size=1>Mur, tàpia, tanca</font>")),		//DescColor
								1)),			//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					si,				//visible
					no,				//consultable
					si,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Topografic-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "cims-andorra",
					 "Cims principals d'Andorra",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Cims principals",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"S",
								null,
								new Array(new CreaItemLleg("propies/Cim_10_10.gif",
											 null)),
								1)),			//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					si,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Cims.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "refugis-andorra",
					 "Refugis de muntanya d'Andorra",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Refugis de muntanya",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"S",
								null,
								new Array(new CreaItemLleg("propies/refugi_10_10.gif",
											 null)),
								1)),			//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					si,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_refugis.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "sendersgr-andorra",
					 "Senders de Gran Recorregut d'Andorra (GRs)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Senders de Gran Recorregut (GR)",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#00FF00",
											 null)),
								1)),				//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					si,				//visible
					si,				//consultable
					si,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_GRs-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "micromamifers-andorra",
					 "Micromamífers d'Andorra",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 "<hr align=\"left\" width=\"230\"><b><font face=\"Verdana\" color=\"#00A286\" size=1>Bases ambientals<hr align=\"left\" width=\"230\"></font></b>", //Separa
 					 "Micromamífers",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"S",
								null,
								new Array(new CreaItemLleg("propies/micromamifers_10_10.GIF",
											 null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					si,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_micromamifers.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "molleres-andorra",
					 "Molleres",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Molleres",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#00FFFF","<font face=\"Verdana\" color=\"#606060\" size=1>Bassa artificial</font>"),		//DescColor
							   		new CreaItemLleg("#0080C0","<font face=\"Verdana\" color=\"#606060\" size=1>Bassa o petit estany que arriba a assecar-se a l'estiu</font>"),		//DescColor
							   		new CreaItemLleg("#00A452","<font face=\"Verdana\" color=\"#606060\" size=1>Bosc torbós</font>"),		//DescColor
							   		new CreaItemLleg("#273778","<font face=\"Verdana\" color=\"#606060\" size=1>Estany</font>"),		//DescColor
							   		new CreaItemLleg("#6A3500","<font face=\"Verdana\" color=\"#606060\" size=1>Illa en un estany o terreny eixut al mig d'una mollera</font>"),		//DescColor
								 	new CreaItemLleg("#006633","<font face=\"Verdana\" color=\"#606060\" size=1>Mollera</font>")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_molleres.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
/*capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "molleres-andorra",
					 "Molleres",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Molleres",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#00FFFF","Bassa artificial"),		//DescColor
							   		new CreaItemLleg("#0080C0","Bassa o petit estany que arriba a assecar-se a l'estiu"),		//DescColor
							   		new CreaItemLleg("#00A452","Bosc torbós"),		//DescColor
							   		new CreaItemLleg("#273778","Estany"),		//DescColor
							   		new CreaItemLleg("#6A3500","Illa en un estany o terreny eixut al mig d'una mollera"),		//DescColor
								 	new CreaItemLleg("#006633","Mollera")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_molleres.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
*/
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "mivgi-andorra",
					 "Avaluació de l'Interès Naturalístic d'Andorra. (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Avaluació de l'Interès Naturalístic",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#FFFFFF","<font face=\"Verdana\" color=\"#606060\" size=1>Zones urbanes</font>"),		//DescColor
							   		new CreaItemLleg("#FFEFBA","<font face=\"Verdana\" color=\"#606060\" size=1>VGI < 2</font>"),		//DescColor
							   		new CreaItemLleg("#FFC184","<font face=\"Verdana\" color=\"#606060\" size=1>2 < VGI < 2.4</font>"),		//DescColor
							   		new CreaItemLleg("#FFA346","<font face=\"Verdana\" color=\"#606060\" size=1>2.4 < VGI < 2.8</font>"),		//DescColor
							   		new CreaItemLleg("#EA750B","<font face=\"Verdana\" color=\"#606060\" size=1>2.8 < VGI < 3.2</font>"),		//DescColor
								 	new CreaItemLleg("#E70303","<font face=\"Verdana\" color=\"#606060\" size=1>VGI > 3.2</font>")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_VGI-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "mcs-limits-andorra",
					 "Límits del Mapa de Cobertes del Sòl d'Andorra (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Límits del MCS",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#FFFF00",
											 null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "mcs-andorra",
					 "Mapa de Cobertes del Sòl d'Andorra (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Mapa de Cobertes del Sòl (MCS)",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#689010","<font face=\"Verdana\" color=\"#606060\" size=1>Arbrat dens</font>"),		//DescColor
							   		new CreaItemLleg("#A0FFA0","<font face=\"Verdana\" color=\"#606060\" size=1>Arbrat clar</font>"),		//DescColor
							   		new CreaItemLleg("#C0C09C","<font face=\"Verdana\" color=\"#606060\" size=1>Matollars</font>"),		//DescColor
							   		new CreaItemLleg("#FFFF82","<font face=\"Verdana\" color=\"#606060\" size=1>Prats i herbassars</font>"),		//DescColor
							   		new CreaItemLleg("#797979","<font face=\"Verdana\" color=\"#606060\" size=1>Roquissars</font>"),		//DescColor
							   		new CreaItemLleg("#CA0051","<font face=\"Verdana\" color=\"#606060\" size=1>Tarteres</font>"),		//DescColor
							   		new CreaItemLleg("#FF8610","<font face=\"Verdana\" color=\"#606060\" size=1>Zones nues</font>"),		//DescColor
							   		new CreaItemLleg("#0000FF","<font face=\"Verdana\" color=\"#606060\" size=1>Aigües continentals</font>"),		//DescColor
							   		new CreaItemLleg("#D7FFF5","<font face=\"Verdana\" color=\"#606060\" size=1>Glaceres i neus permanents</font>"),		//DescColor
							   		new CreaItemLleg("#F4C8A4","<font face=\"Verdana\" color=\"#606060\" size=1>Conreus</font>"),		//DescColor
							   		new CreaItemLleg("#FFA4E2","<font face=\"Verdana\" color=\"#606060\" size=1>Zones urbanitzades</font>"),		//DescColor
							   		new CreaItemLleg("#FF00FF","<font face=\"Verdana\" color=\"#606060\" size=1>Vies de comunicació</font>"),		//DescColor
							   		new CreaItemLleg("#A244FF","<font face=\"Verdana\" color=\"#606060\" size=1>Zones esportives i lúdiques</font>"),		//DescColor
								 	new CreaItemLleg("#408080","<font face=\"Verdana\" color=\"#606060\" size=1>Zones d'extracció minera</font>")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_MCSA.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "mcs-andorraomb",
					 "Mapa De Cobertes del Sòl d'Andorra ombrejat amb el MDE (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "MCS ombrejat amb el MDE",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"I",
								null,
								null,
								0)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_MCSA.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "mcs48-andorra",
					 "Mapa de Cobertes del Sòl d'Andorra del 1948 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Mapa de Cobertes del Sòl del 1948",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#689010","<font face=\"Verdana\" color=\"#606060\" size=1>Bosc dens</font>"),		//DescColor
							   		new CreaItemLleg("#A0FFA0","<font face=\"Verdana\" color=\"#606060\" size=1>Bosc poc dens</font>"),		//DescColor
							   		new CreaItemLleg("#FFFF82","<font face=\"Verdana\" color=\"#606060\" size=1>Pastura, pastura altitud, conreu</font>"),		//DescColor
							   		new CreaItemLleg("#FFFF00","<font face=\"Verdana\" color=\"#606060\" size=1>Sòl nu</font>"),		//DescColor
							   		new CreaItemLleg("#FFA4E2","<font face=\"Verdana\" color=\"#606060\" size=1>Zona urbanitzada</font>")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_MCSA48.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "mh-limits-andorra",
					 "Límits del Mapa d'Hàbitats d'Andorra (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Límits del MH",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#FFFF00",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "mh-andorra",
					 "Mapa d'Hàbitats d'Andorra (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
 					 "Mapa d'Hàbitats (MH)",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#0CABF8","Aigües estagnants"),		//DescColor
							   		new CreaItemLleg("#60DEF9","Aigües corrents"),		//DescColor
							   		new CreaItemLleg("#FFBC79","Landes i altres matollars baixos d'alta muntanya"),		//DescColor
							   		new CreaItemLleg("#EFB53A","Matollars de muntanya mitjana"),		//DescColor
							   		new CreaItemLleg("#DB9224","Matollars mediterranis"),		//DescColor
							   		new CreaItemLleg("#EDF779","Pastures"),		//DescColor
							   		new CreaItemLleg("#FDEB11","Prats de dall i herbassars higròfils"),		//DescColor
							   		/*new CreaItemLleg("#3EFFFF","Molleres o potamolls"),		//DescColor*/
							   		new CreaItemLleg("#85D683","Boscos caducifolis"),		//DescColor
							   		new CreaItemLleg("#BCE177","Boscos aciculifolis"),		//DescColor
							   		new CreaItemLleg("#A3D645","Boscos mixts de caducifolis i coníferes"),		//DescColor
							   		new CreaItemLleg("#E2F2C4","Àrees desforestades"),		//DescColor
							   		new CreaItemLleg("#009B00","Boscos i bosquines de ribera"),		//DescColor
							   		new CreaItemLleg("#7BA871","Boscos esclerofil.les"),		//DescColor
							   		new CreaItemLleg("#8F8F8F","Roques"),		//DescColor
							   		new CreaItemLleg("#C0C0C0","Tarteres"),		//DescColor
							   		new CreaItemLleg("#FEE7AF","Conreus"),		//DescColor
								 	new CreaItemLleg("#FFFFFF","Àrees urbanes i industrials")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Hab.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "forestal-andorra",
					 "Mapa Forestal",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Mapa Forestal",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#808000","Pi roig (Pinus sylvestris)"),		//DescColor
							   		new CreaItemLleg("#428484","Pi negre (Pinus mugo)"),		//DescColor
							   		new CreaItemLleg("#92A3DE","Avet (Abies alba)"),		//DescColor
							   		new CreaItemLleg("#FFFF00","Beç (Betula pendula i B. pubescens)"),		//DescColor
							   		new CreaItemLleg("#FF0000","Trèmol (Populus tremula)"),		//DescColor
							   		new CreaItemLleg("#80FF00","Clop (Populus nigra)"),		//DescColor
							   		new CreaItemLleg("#4D4DFF","Vern (Alnus glutinosa)"),		//DescColor
							   		new CreaItemLleg("#0080FF","Salzes i clops (Salix elaeagnos, S. alba, S. purpurea i Populus nigra)"),		//DescColor
							   		new CreaItemLleg("#FFA2D0","Salzes i beços (S. phylicifolia subsp. basaltica, Betula pendula i B. pubescens)"),		//DescColor
							   		new CreaItemLleg("#D3A8FF","Gatell i beç (Salix cinerea, B. pendula, B. pubescens i esporàdicament Salix caprea i Corylus avellana)"),		//DescColor
							   		new CreaItemLleg("#9DFFFF","Bosc mixt"),		//DescColor
							   		new CreaItemLleg("#FFCACA","Avellaner (Corylus avellana)"),		//DescColor
							   		new CreaItemLleg("#840000","Roure de fulla gran (Quercus petraea)"),		//DescColor
							   		new CreaItemLleg("#FDCA42","Roure martinenc (Quercus humilis)"),		//DescColor
							   		new CreaItemLleg("#FFD0FF","Freixera (Fraxinus excelsior)"),		//DescColor
								 	new CreaItemLleg("#BB5E00","Alzinera (Quercus ilex subsp. rotundifolia)")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_forestal.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Superf_estruc_icb",
					 "Polígons. Simbologia estructural",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 "<hr align=\"left\" width=\"230\"><b><font face=\"Verdana\" color=\"#00A286\" size=1 </b></font><font face=\"Verdana\"size=1><a href=\"metadades\\index_metadades_Geomorfologic.htm\" target=\"_blank\">Mapa geomorfòlogic d'Andorra</a><hr align=\"left\" width=\"230\"></font></b>", //Separa
 					 "Polígons. Simbologia estructural",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#808080",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Suma_Simbol_substrat_icb",
					 "Simbologia estructural",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Simbologia estructural",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#000000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Escarp_rocos",
					 "Escarp rocós",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Escarp rocós",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#000000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
/*capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Simb_polig",
					 "Polígons. Simbologia poligènica",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Polígons. Simbologia poligènica",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#000000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
*/
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Formes_polig",
					 "Formes poligèniques",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Formes poligèniques",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#FF8040",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Formes_vessant_icb",
					 "Polígons. Simbologia de vessants",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Polígons. Simbologia de vessants",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#000000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "simb_vessant_icb",
					 "Formes de vessants",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Formes de vessants",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#800000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Polig_no_color_patamoll",
					 "Polígons. Patamolls",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Polígons. Patamolls",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#000000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Patamolls_icb",
					 "Patamolls",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Patamolls",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#008040",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Polig_formes_glacials",
					 "Polígons. Simbologia glacial",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Polígons. Simbologia glacial",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#000000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Simb_glacial_icb",
					 "Simbologia glacial",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Simbologia glacial",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#C109FF",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Simb_fluvial_icb",
					 "Simbologia fluvial",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Simbologia fluvial",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#008080",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Riu_ordre1_icb",
					 "Riu d'ordre 1",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Riu d'ordre 1",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#0080FF",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Riu_ordre2_icb",
					 "Riu d'ordre 2",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Riu d'ordre 2",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#0080FF",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Riu_ordre3_icb",
					 "Riu d'ordre 3",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Riu d'ordre 3",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#0080FF",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_F_poligeniques2_icb",
					 "Superfícies d'erosió",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Superfícies d'erosió",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#FF8000","Superfície d'erosió preglacial"),		//DescColor
							   		new CreaItemLleg("#FFD7AE"," Superfície d'erosió preglacial degradada")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "blau_transp_icb",
					 "Superfície de rebliment lacustre",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Superfície de rebliment lacustre",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#0080FF","Superfície de rebliment lacustre")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_superf_rebl_fluvial2",
					 "Superfície de rebliment fluvial",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Superfície de rebliment fluvial",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#008040","Superfície de rebliment fluvial")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Superf_estruc_icb",
					 "Superfície estructural",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Superfície estructural",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#808080","Superfície estructural")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_D_lacustre",
					 "Dipòsit lacustre",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit lacustre",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#AAAAFF","Dipòsit lacustre associat amb altres dinàmiques (glacial i/o fluvial)"),		//DescColor
							   		new CreaItemLleg("#6464FF"," Substrat rocós aflorant o cobert per una formació prima i discontínua")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_D_antropics_icb",
					 "Dipòsit antròpic",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit antròpic",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#FFFF7D","Dipòsit antròpic)")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_D_poligenic",
					 "Dipòsit poligènic",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit poligènic",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#FFB366","Dipòsit poligènic)")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_D_vessant2_icb",
					 "Dipòsit de vessants",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit de vessants",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#F4D697","Dipòsit de vessant indiferenciat"),		//DescColor
							   		new CreaItemLleg("#DD9D17","Substrat rocós aflorant o cobert per una formació superficial prima i discontínua")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "D_glacial2_icb",
					 "Dipòsit glacial",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit glacial",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#E4B9F7","Dipòsit glacial"),		//DescColor
							   		new CreaItemLleg("#BB4BEB","Substrat rocós aflorant o cobert per una formació superficial prima i discontínua")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_D_fluviotorr2",
					 "Dipòsit fluvio-torrencial",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit fluvio-torrencial",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#C9DBB7","Dipòsit fluvio-torrencial")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "S_D_esllavissades",
					 "Dipòsit d'esllavissades",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit d'esllavissades",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#D6AB85","Dipòsit d'esllavissades")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "D_coluvions2",
					 "Dipòsit col·luvionar i/o el·luvionar",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Dipòsit col·luvionar i/o el·luvionar",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#A99283","Dipòsit col·luvionar i/o el·luvionar"),		//DescColor
							   		new CreaItemLleg("#685548","Substrat rocós aflorant o cobert per una formació superficial prima i discontínua")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Dom_morfoest_icb",
					 "Domini morfoestructural",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null,		//Separa
					"Domini morfoestructural",		//DescLlegenda
					new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#EEEEEE","Roques carbonàtiques: calcàries, marbres i calcofil·lites"),		//DescColor
							   		new CreaItemLleg("#C3C3C3","Roques cristal·lines: granitoides i/o gneissos"),		//DescColor
									new CreaItemLleg("#D7D7D7","Roques metamòrfiques amb fracturació intensa: pissarres, fil·lites i esquistos")),		//DescColor
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "Ocells-andorra_Tall",
					 "Tall 1 km",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 "<hr align=\"left\" width=\"230\"><b><font face=\"Verdana\" color=\"#00A286\" size=1>Atles dels ocells nidificants d'Andorra<hr align=\"left\" width=\"230\"></font></b>", //Separa
 					 "Tall 1 km",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"L",
								null,
								new Array(new CreaItemLleg("#000000",null)),
								1)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					no,				//descarregable
					null,
					null,
					null,
					null,		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "ocells-andorra",
					 "Atles dels Ocells Nidificants d'Andorra",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 null, //Separa
 					 "Atles dels Ocells Nidificants",		//DescLlegenda
					 new Array(new CreaEstil(
								"Accipiter_nisus",
								"<i>Accipiter nisus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Aegithalos_caudatus",
								"<i>Aegithalos caudatus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Aegolius_funereus",
								"<i>Aegolius funereus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Alauda_arvensis",
								"<i>Alauda arvensis</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Alectoris_rufa",
								"<i>Alectoris rufa</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Anthus_spinolleta",
								"<i>Anthus spinolleta</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Anthus_trivialis",
								"<i>Anthus trivialis</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Apus_apus",
								"<i>Apus apus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Asio_otus",
								"<i>Asio otus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Buteo_buteo",
								"<i>Buteo buteo</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Caprimulgus_europaeus",
								"<i>Caprimulgus europaeus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Carduelis_cannabina",
								"<i>Carduelis cannabina</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Carduelis_carduelis",
								"<i>Carduelis carduelis</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Carduelis_chloris",
								"<i>Carduelis chloris</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Carduelis_spinus",
								"<i>Carduelis spinus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Certhia_brachydactyla",
								"<i>Certhia brachydactyla</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Certhia_familiaris",
								"<i>Certhia familiaris</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Charadrius_morinellus",
								"<i>Charadrius morinellus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Cinclus_cinclus",
								"<i>Cinclus cinclus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Columba_palumbus",
								"<i>Columba palumbus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Corvus_corax",
								"<i>Corvus corax</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Corvus_corone",
								"<i>Corvus corone</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Coturnix_coturnix",
								"<i>Coturnix coturnix</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Cuculus_canorus",
								"<i>Cuculus canorus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Delichon_urbica",
								"<i>Delichon urbica</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Dendrocopos_major",
								"<i>Dendrocopos major</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Dryocopus_martius",
								"<i>Dryocopus martius</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Emberiza_cia",
								"<i>Emberiza cia</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Emberiza_cirlus",
								"<i>Emberiza cirlus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Emberiza_citrinella",
								"<i>Emberiza citrinella</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Emberiza_hortulana",
								"<i>Emberiza hortulana</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Erithacus_rubecula",
								"<i>Erithacus rubecula</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Falco_tinnunculus",
								"<i>Falco tinnunculus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Fringilla_coelebs",
								"<i>Fringilla coelebs</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Garrulus_glandarius",
								"<i>Garrulus glandarius</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Hirundo_rustica",
								"<i>Hirundo rustica</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Jynx_torquilla",
								"<i>Jynx torquilla</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Lagopus_mutus",
								"<i>Lagopus mutus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Lanius_collurio",
								"<i>Lanius collurio</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Lanius_senator",
								"<i>Lanius senator</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Loxia_curvirostra",
								"<i>Loxia curvirostra</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Lullula_arborea",
								"<i>Lullula arborea</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Luscinia_megarhynchos",
								"<i>Luscinia megarhynchos</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Miliaria_calandra",
								"<i>Miliaria calandra</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Monticola_saxatilis",
								"<i>Monticola saxatilis</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Monticola_solitarius",
								"<i>Monticola solitarius</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Montifringilla_nivalis",
								"<i>Montifringilla nivalis</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Motacilla alba",
								"<i>Motacilla alba</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Motacilla_cinerea",
								"<i>Motacilla cinerea</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Muscicapa_striata",
								"<i>Muscicapa striata</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Oenanthe_oenanthe",
								"<i>Oenanthe oenanthe</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Otus_scops",
								"<i>Otus scops</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Parus_ater",
								"<i>Parus ater</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Parus_caeruleus",
								"<i>Parus caeruleus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Parus_cristatus",
								"<i>Parus cristatus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Parus_major",
								"<i>Parus major</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Passer_domesticus",
								"<i>Passer domesticus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Passer_montanus",
								"<i>Passer montanus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Perdix_perdix",
								"<i>Perdix perdix</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Petronia_petronia",
								"<i>Petronia petronia</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Phoenicurus_ochruros",
								"<i>Phoenicurus ochruros</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Phylloscopus_bonelli",
								"<i>Phylloscopus bonelli</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Phylloscopus collybita",
								"<i>Phylloscopus collybita</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Pica_pica",
								"<i>Pica pica</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Picus_viridis",
								"<i>Picus viridis</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Prunella_collaris",
								"<i>Prunella collaris</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Prunella_modularis",
								"<i>Prunella modularis</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Ptyonoprogne_rupestris",
								"<i>Ptyonoprogne rupestris</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Pyrrhocorax_graculus",
								"<i>Pyrrhocorax graculus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Pyrrhocorax_pyrrhocorax",
								"<i>Pyrrhocorax pyrrhocorax</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Pyrrhula_pyrrhula",
								"<i>Pyrrhula pyrrhula</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Regulus_ignicapillus",
								"<i>Regulus ignicapillus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Regulus_regulus",
								"<i>Regulus regulus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Saxicola_rubetra",
								"<i>Saxicola rubetra</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Saxicola_torquata",
								"<i>Saxicola torquata</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Scolopax_rusticola",
								"<i>Scolopax rusticola</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Serinus_citrinella",
								"<i>Serinus citrinella</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Serinus_serinus",
								"<i>Serinus serinus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Sitta_europaea",
								"<i>Sitta europaea</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Strix_aluco",
								"<i>Strix aluco</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Sylvia_atricapilla",
								"<i>Sylvia atricapilla</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Sylvia_borin",
								"<i>Sylvia borin</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Sylvia_cantillans",
								"<i>Sylvia cantillans</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Sylvia_undata",
								"<i>Sylvia undata</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Tichodroma_muraria",
								"<i>Tichodroma muraria</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Troglodytes_troglodytes",
								"<i>Troglodytes troglodytes</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Turdus_merula",
								"<i>Turdus merula</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Turdus_philomelos",
								"<i>Turdus philomelos</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Turdus_torquatus",
								"<i>Turdus torquatus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3),
						new CreaEstil(
								"Turdus_viscivorus",
								"<i>Turdus viscivorus</i>",		//descripcio
								"Presència",		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#32BDCD","Possible"),		//DescColor
							   		new CreaItemLleg("#0080C0","Probable"),		//DescColor
								 	new CreaItemLleg("#004080","Segura")),		//DescColor
								3)

					),
					0,				//i_estil_actual
					1,				//NColEstil
					si,				//LlegDesplegada
					ara_no,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_Ocells.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "modeldigitalelevombra-andorra",
					 "Model Digital d'Elevacions d'Andorra ombrejat. (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/gif",
					 semitransparent,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 null,
					 "<hr align=\"left\" width=\"230\"><b><font face=\"Verdana\" color=\"#00A286\" size=1>Bases de referència<hr align=\"left\" width=\"230\"></font></b>", //Separa
 					 "Model Digital d'Elevacions ombrejat",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"P",
								null,
								new Array(new CreaItemLleg("#FFBAFF","2900"),		//DescColor
							   		new CreaItemLleg("#F7E7F7","2800"),		//DescColor
							   		new CreaItemLleg("#AA8A65","2700"),		//DescColor
							   		new CreaItemLleg("#794D00","2600"),		//DescColor
							   		new CreaItemLleg("#7D6900","2500"),		//DescColor
							   		new CreaItemLleg("#AA9200","2400"),		//DescColor
							   		new CreaItemLleg("#BA9200","2300"),		//DescColor
							   		new CreaItemLleg("#B67500","2200"),		//DescColor
							   		new CreaItemLleg("#BA5900","2100"),		//DescColor
							   		new CreaItemLleg("#E76900","2000"),		//DescColor
							   		new CreaItemLleg("#FF7900","1900"),		//DescColor
							   		new CreaItemLleg("#FF8E00","1800"),		//DescColor
							   		new CreaItemLleg("#FFAE00","1700"),		//DescColor
							   		new CreaItemLleg("#FFC600","1600"),		//DescColor
							   		new CreaItemLleg("#FFDF00","1500"),		//DescColor
							   		new CreaItemLleg("#FFFF00","1400"),		//DescColor
							   		new CreaItemLleg("#3DFF00","1300"),		//DescColor
							   		new CreaItemLleg("#00D200","1200"),		//DescColor
							   		new CreaItemLleg("#009600","1100"),		//DescColor
							   		new CreaItemLleg("#006500","1000"),		//DescColor
								 	new CreaItemLleg("#002000","900")),		//DescColor
								3)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					ara_no,				//consultable
					ara_no,				//descarregable
					null,
					null,
					null,
					"metadades\\index_metadades_MDE-3.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "ortofoto5k-andorra",
					 "Ortofotografia color d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/jpeg",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 "orto",
					 null,		//Separa
 					 "Ortofotografia color 1995",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"I",
								null,
								null,		//DescColor
								0)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					ara_no,				//visible
					no,				//consultable
					no,				//descarregable
					ParGetCoverage[0],
					FormatGetCoverage[0],
					ResGetCoverage[0],
					"metadades\\index_metadades_Ortos.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
capa[capa.length]=new CreaCapa(ServidorLocal,
					 VersioServidorLocal,
					 TipusServidorLocal,
					 "ortofoto5k_03-andorra",
					 "Ortofotografia color d'Andorra. 1:5000 (Govern d'Andorra)",
					 null,		//Array de CRS disponibles
					 null,		//Envolupant de la capa
					 "image/jpeg",
					 opac,
					 0.5,
					 100,
					 null,  //null per a wms
					 "text/xml",
					 "orto",
					 null,		//Separa
 					 "Ortofotografia color 2003",		//DescLlegenda
					 new Array(					new CreaEstil(
						null,
								null,		//descripcio
								null,		//DescItems
								"I",
								null,
								null,		//DescColor
								0)),					//NColColor
					0,				//i_estil_actual
					0,				//NColEstil
					no,				//LlegDesplegada
					si,				//VisibleALaLlegenda
					si,				//visible
					no,				//consultable
					no,				//descarregable
					ParGetCoverage[0],
					FormatGetCoverage[0],
					ResGetCoverage[0],
					"metadades\\index_metadades_Ortos03.htm",		//metadades
					null,				//nom video
					null,		//descripció video
					0,
					null,			//data
					0,
					no,         //animable
					null);
/* ****************************************************************************
			C A P E S   D I G I T A L I T Z A D E S
***************************************************************************** */

var IconaValidacio=null;
var CapaDigi=new Array();
		

/* ****************************************************************************
			C A P E S   P E R   C O N S U L T A  S I M P L E
***************************************************************************** */

var capa_consulta_pregunta_servidor=new Array();
capa_consulta_pregunta_servidor[capa_consulta_pregunta_servidor.length]=new CreaCapaPreguntaServidorConsultaTipica(
                                        ServidorLocal,
					"pobles_andorra",
					new Array(new CreaCampConsultaTipica("Anar a:", "ATRIBUTO", "Pobles", "de: ")),
					"EPSG:27563");
capa_consulta_pregunta_servidor[capa_consulta_pregunta_servidor.length]=new CreaCapaPreguntaServidorConsultaTipica(
                                        ServidorLocal,
					"rius_andorra",
					new Array(new CreaCampConsultaTipica("Anar a:","ATRIBUTO", "Rius", "de: ")),
					"EPSG:27563");
capa_consulta_pregunta_servidor[capa_consulta_pregunta_servidor.length]=new CreaCapaPreguntaServidorConsultaTipica(
                                        ServidorLocal,
					"llacs_andorra",
					new Array(new CreaCampConsultaTipica("Anar a:","ATRIBUTO", "Llacs", "de: ")),
					"EPSG:27563");
capa_consulta_pregunta_servidor[capa_consulta_pregunta_servidor.length]=new CreaCapaPreguntaServidorConsultaTipica(
                                        ServidorLocal,
					"vessants_andorra",
					new Array(new CreaCampConsultaTipica("Anar a:","ATRIBUTO", "Vessants", "de: ")),
					"EPSG:27563");
capa_consulta_pregunta_servidor[capa_consulta_pregunta_servidor.length]=new CreaCapaPreguntaServidorConsultaTipica(
                                        ServidorLocal,
					"pics_andorra",
					new Array(new CreaCampConsultaTipica("Anar a:","NOM", "Pics", "de: ")),
					"EPSG:27563");
capa_consulta_pregunta_servidor[capa_consulta_pregunta_servidor.length]=new CreaCapaPreguntaServidorConsultaTipica(
                                        ServidorLocal,
					"refugis_andorra",
					new Array(new CreaCampConsultaTipica("Anar a:","NOM", "Refugis", "de: ")),
					"EPSG:27563");


/* ****************************************************************************
			N I V E L L S  D E  Z O O M
***************************************************************************** */

var zoom=new Array();
zoom[zoom.length]=new CreaZoom(100);
zoom[zoom.length]=new CreaZoom(50);
zoom[zoom.length]=new CreaZoom(20);
zoom[zoom.length]=new CreaZoom(10);
zoom[zoom.length]=new CreaZoom(5);
zoom[zoom.length]=new CreaZoom(2);
zoom[zoom.length]=new CreaZoom(1);
zoom[zoom.length]=new CreaZoom(0.5);


/* ****************************************************************************
                     P L A N T I L L E S  D' I M P R E S S I Ó
**************************************************************************** */

var plantilla_dimpressio=new Array();	
plantilla_dimpressio[plantilla_dimpressio.length]=new CreaDocumentPlantilla("A4Vertical", //nom plantilla impressió 
					"A4 vertical", //descripció
					"a4vertical.htm", //fitxer plantilla
					600, //ample plantilla
					800);  //alt plantilla

plantilla_dimpressio[plantilla_dimpressio.length]=new CreaDocumentPlantilla("A4Horitzontal", 
					"A4 horizontal",
					"a4horitzontal.htm",
					800,
					600);

