/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var theSitetree=[ 
	['PAGE','601',jdecode('Home'),jdecode(''),'/601.html','true',[],''],
	['PAGE','652',jdecode('%C2%BFQui%C3%A9nes+somos%3F'),jdecode(''),'/652/index.html','true',[ 
		['PAGE','14315',jdecode('Coordinador'),jdecode(''),'/652/14315.html','true',[],''],
		['PAGE','14336',jdecode('Sacerdote+consiliario'),jdecode(''),'/652/14336.html','true',[],''],
		['PAGE','9415',jdecode('Modelos+educativos+cristianos'),jdecode(''),'/652/9415.html','true',[],'']
	],''],
	['PAGE','673',jdecode('Pastoral+en+parroquias'),jdecode(''),'/673.html','true',[],''],
	['PAGE','694',jdecode('Actividades'),jdecode(''),'/694/index.html','true',[ 
		['PAGE','736',jdecode('Pr%C3%B3ximas+actividades'),jdecode(''),'/694/736.html','true',[],''],
		['PAGE','757',jdecode('2004'),jdecode(''),'/694/757.html','true',[],''],
		['PAGE','17215',jdecode('2005'),jdecode(''),'/694/17215.html','true',[],''],
		['PAGE','17236',jdecode('2006'),jdecode(''),'/694/17236.html','true',[],''],
		['PAGE','17257',jdecode('2007'),jdecode(''),'/694/17257.html','true',[],''],
		['PAGE','17278',jdecode('2008'),jdecode(''),'/694/17278.html','true',[],''],
		['PAGE','17299',jdecode('2009'),jdecode(''),'/694/17299.html','true',[],'']
	],''],
	['PAGE','9436',jdecode('Liga+Juan+Pablo+II'),jdecode(''),'/9436.html','true',[],''],
	['PAGE','778',jdecode('Blog+en+Religi%C3%B3n+Digital'),jdecode(''),'/778.html','true',[],''],
	['PAGE','9457',jdecode('TV+para+j%C3%B3venes+cristianos+QSS'),jdecode(''),'/9457.html','true',[],''],
	['PAGE','799',jdecode('Canal+de+v%C3%ADdeos'),jdecode(''),'/799.html','true',[],''],
	['PAGE','841',jdecode('Revista+Testigos+en+Acci%C3%B3n'),jdecode(''),'/841.html','true',[],''],
	['PAGE','820',jdecode('Formaci%C3%B3n'),jdecode(''),'/820.html','true',[],''],
	['PAGE','9478',jdecode('Colaboradores+y+agradecimientos'),jdecode(''),'/9478.html','true',[],''],
	['PAGE','862',jdecode('Enlaces'),jdecode(''),'/862.html','true',[],''],
	['PAGE','883',jdecode('Email%2C+Tuenti+y+Messenger'),jdecode(''),'/883.html','true',[],''],
	['PAGE','9709',jdecode('ESP.+COMIDA+CON+BENEDICTO+XVI'),jdecode(''),'/9709.html','true',[],''],
	['PAGE','9520',jdecode('ESPECIAL+JMJ+MADRID+2011'),jdecode(''),'/9520.html','true',[],''],
	['PAGE','9541',jdecode('Asociaci%C3%B3n+J%C3%B3venes+en+Acci%C3%B3n'),jdecode(''),'/9541/index.html','true',[ 
		['PAGE','9562',jdecode('Centro+de+J%C3%B3venes'),jdecode(''),'/9541/9562.html','true',[],''],
		['PAGE','9583',jdecode('P.+Deportes%2C+ocio+y+tiempo+libre'),jdecode(''),'/9541/9583.html','true',[],''],
		['PAGE','9604',jdecode('P.+Ayuda+en+los+estudios'),jdecode(''),'/9541/9604.html','true',[],''],
		['PAGE','9625',jdecode('P.+Periodistas+en+acci%C3%B3n'),jdecode(''),'/9541/9625.html','true',[],''],
		['PAGE','9646',jdecode('-TV+Salamanca+con+los+j%C3%B3venes'),jdecode(''),'/9541/9646.html','true',[],''],
		['PAGE','9667',jdecode('-Cortometrajes+y+videos'),jdecode(''),'/9541/9667.html','true',[],''],
		['PAGE','9688',jdecode('-Revista+J%C3%B3venes+en+Acci%C3%B3n'),jdecode(''),'/9541/9688.html','true',[],'']
	],''],
	['PAGE','14715',jdecode('Productos+Audiovisuales'),jdecode(''),'/14715.html','true',[],''],
	['PAGE','13215',jdecode('Donativos+y+ayuda'),jdecode(''),'/13215.html','true',[],''],
	['PAGE','21415',jdecode('Contacto'),jdecode(''),'/21415.html','true',[],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B0CBD6';
theSitetree.keyvisualId='1961';
theSitetree.keyvisualName='agentur.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='383';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'B0CBD6',
				keyvisualId: 	'1961',
				keyvisualName: 	'agentur.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'383',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'B0CBD6',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20100102-180845'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '652',
internalId:  '',
customField: '20090831-190900'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '673',
internalId:  '',
customField: '20090215-135929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '694',
internalId:  '',
customField: '20090214-163450'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '736',
internalId:  '',
customField: '20090505-154427'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '757',
internalId:  '',
customField: '20090419-011937'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '778',
internalId:  '',
customField: '20090505-154501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '799',
internalId:  '',
customField: '20090215-154008'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '820',
internalId:  '',
customField: '20090505-155554'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '841',
internalId:  '',
customField: '20090214-163654'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '862',
internalId:  '',
customField: '20090214-163709'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '883',
internalId:  '',
customField: '20090215-164342'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21415',
internalId:  '',
customField: '20090524-112438'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9415',
internalId:  '',
customField: '20090419-011413'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9436',
internalId:  '',
customField: '20090215-132924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9457',
internalId:  '',
customField: '20090215-155243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9478',
internalId:  '',
customField: '20090215-132924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13215',
internalId:  '',
customField: '20090217-190606'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9520',
internalId:  '',
customField: '20090505-163009'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9541',
internalId:  '',
customField: '20090306-124337'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9562',
internalId:  '',
customField: '20090215-164735'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9583',
internalId:  '',
customField: '20090217-191911'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9604',
internalId:  '',
customField: '20090217-192117'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9625',
internalId:  '',
customField: '20090217-192430'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9646',
internalId:  '',
customField: '20090215-132924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9667',
internalId:  '',
customField: '20090215-165511'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9688',
internalId:  '',
customField: '20090215-132924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9709',
internalId:  '',
customField: '20090505-162932'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14315',
internalId:  '',
customField: '20090511-155412'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14715',
internalId:  '',
customField: '20091102-171643'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14336',
internalId:  '',
customField: '20090505-153830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17215',
internalId:  '',
customField: '20090419-015113'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17236',
internalId:  '',
customField: '20090419-012224'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17257',
internalId:  '',
customField: '20090419-012306'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17278',
internalId:  '',
customField: '20090419-012354'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17299',
internalId:  '',
customField: '20090419-012411'
};
var canonHostname = 'llwc535-new.servidoresdns.net';
var accountId     = 'AARS20INVXLV';
var companyName   = 'J%C3%B3venes+Cristianos+en+Acci%C3%B3n';
var htmlTitle	  = 'Web+de+J%C3%B3venes+Cristianos+en+Acci%C3%B3n';
var metaKeywords  = 'j%C3%B3venes+cristianos+acci%C3%B3n+cat%C3%B3licos+jmj+madrid+2011+wyd+gmg+wjt';
var metaContents  = 'P%C3%A1gina+web+de+J%C3%B3venes+Cristianos+en+Acci%C3%B3n.';
					                                                                    
theSitetree.getById = function(id, ar) {												
							if (typeof(ar) == 'undefined')                              
								ar = this;                                              
							for (var i=0; i < ar.length; i++) {                         
								if (ar[i][POS_ID] == id)                                
									return ar[i];                                       
								if (ar[i][POS_CHILDS].length > 0) {                     
									var result=this.getById(id, ar[i][POS_CHILDS]);     
									if (result != null)                                 
										return result;                                  
								}									                    
							}                                                           
							return null;                                                
					  };                                                                
					                                                                    
theSitetree.getParentById = function(id, ar) {                                        
						if (typeof(ar) == 'undefined')                              	
							ar = this;                                             		
						for (var i=0; i < ar.length; i++) {                        		
							for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {   		
								if (ar[i][POS_CHILDS][j][POS_ID] == id) {          		
									// child found                                 		
									return ar[i];                                  		
								}                                                  		
								var result=this.getParentById(id, ar[i][POS_CHILDS]);   
								if (result != null)                                 	
									return result;                                  	
							}                                                       	
						}                                                           	
						return null;                                                	
					 }								                                    
					                                                                    
theSitetree.getName = function(id) {                                                  
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAME];                                      
						return null;	                                                
					  };			                                                    
theSitetree.getNavigationText = function(id) {                                        
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAVIGATIONTEXT];                            
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getHREF = function(id) {                                                  
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_HREF];                                      
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getIsNavigation = function(id) {                                          
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_ISNAVIGATION];                              
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getTemplateName = function(id, lastTemplateName, ar) {             		
	                                                                                 
	if (typeof(lastTemplateName) == 'undefined')                                     
		lastTemplateName = this.topTemplateName;	                                 
	if (typeof(ar) == 'undefined')                                                   
		ar = this;                                                                   
		                                                                             
	for (var i=0; i < ar.length; i++) {                                              
		var actTemplateName = ar[i][POS_TEMPLATENAME];                               
		                                                                             
		if (actTemplateName == '')                                                   
			actTemplateName = lastTemplateName;		                                 
		                                                                             
		if (ar[i][POS_ID] == id) {                                			         
			return actTemplateName;                                                  
		}	                                                                         
		                                                                             
		if (ar[i][POS_CHILDS].length > 0) {                                          
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]); 
			if (result != null)                                                      
				return result;                                                       
		}									                                         
	}                                                                                
	return null;                                                                     
	};                                                                               
/* EOF */					                                                            
