/* [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','1412',jdecode('Home'),jdecode(''),'/1412.html','true',[],''],
	['PAGE','6164',jdecode('%C2%BFQu%C3%AD+som%3F'),jdecode(''),'/6164/index.html','true',[ 
		['PAGE','14035',jdecode('Historia'),jdecode(''),'/6164/14035.html','true',[],''],
		['PAGE','14062',jdecode('La+direcci%C3%B3'),jdecode(''),'/6164/14062.html','true',[],''],
		['PAGE','14089',jdecode('Estatuts'),jdecode(''),'/6164/14089.html','true',[],''],
		['PAGE','14116',jdecode('Bolet%C3%ADn+del+club'),jdecode(''),'/6164/14116.html','true',[],''],
		['PAGE','14143',jdecode('Nuestro+equipo'),jdecode(''),'/6164/14143.html','true',[],'']
	],''],
	['PAGE','1496',jdecode('Noticies'),jdecode(''),'/1496.html','true',[],''],
	['PAGE','14170',jdecode('Anagrama'),jdecode(''),'/14170.html','true',[],''],
	['PAGE','14224',jdecode('Rutes'),jdecode(''),'/14224/index.html','true',[ 
		['PAGE','15011',jdecode('Gener_05_Caves'),jdecode(''),'/14224/15011.html','true',[],''],
		['PAGE','15812',jdecode('Muro+Barranc+Escurrispeina'),jdecode(''),'/14224/15812.html','true',[],''],
		['PAGE','17112',jdecode('Bicorp+Barranc+Moreno'),jdecode(''),'/14224/17112.html','true',[],''],
		['PAGE','17139',jdecode('Foia+Redona'),jdecode(''),'/14224/17139.html','true',[],''],
		['PAGE','17166',jdecode('Pico+ANETO'),jdecode(''),'/14224/17166.html','true',[],'']
	],''],
	['PAGE','14332',jdecode('Albums+Fotos'),jdecode(''),'/14332/index.html','true',[ 
		['PAGE','16198',jdecode('Alena_Curri'),jdecode(''),'/14332/16198.html','true',[],'']
	],''],
	['PAGE','14640',jdecode('Records'),jdecode(''),'/14640.html','true',[],''],
	['PAGE','14278',jdecode('Pont+de+L%26%23x27%3BArca'),jdecode(''),'/14278.html','true',[],''],
	['PAGE','14197',jdecode('Ferse+membre'),jdecode(''),'/14197.html','true',[],''],
	['PAGE','14305',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/14305/index.html','true',[ 
		['PAGE','16781',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/14305/16781.html','false',[],'']
	],''],
	['PAGE','14359',jdecode('Enlaces+de+inter%C3%A9s'),jdecode(''),'/14359.html','true',[],''],
	['PAGE','35131',jdecode('Aventureros+%28Fidel%29'),jdecode(''),'/35131/index.html','true',[ 
		['PAGE','35173',jdecode('Monte+Perdido'),jdecode(''),'/35131/35173.html','true',[],''],
		['PAGE','35152',jdecode('Picon+de+Jerez'),jdecode(''),'/35131/35152.html','true',[],''],
		['PAGE','35194',jdecode('Poset'),jdecode(''),'/35131/35194.html','true',[],'']
	],''],
	['PAGE','35110',jdecode('Cimes+Comunitat'),jdecode(''),'/35110.html','true',[],''],
	['PAGE','35215',jdecode('Aficiones'),jdecode(''),'/35215/index.html','true',[ 
		['PAGE','35236',jdecode('Deportes'),jdecode(''),'/35215/35236.html','true',[],'']
	],''],
	['PAGE','35320',jdecode('Noticias'),jdecode(''),'/35320.html','true',[],''],
	['PAGE','35341',jdecode('%C3%81lbum+de+fotos'),jdecode(''),'/35341.html','true',[],''],
	['PAGE','35425',jdecode('Tratamientos'),jdecode(''),'/35425.html','true',[],''],
	['PAGE','35915',jdecode('Libro+de+visitas'),jdecode(''),'/35915/index.html','true',[ 
		['PAGE','35910',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/35915/35910.html','true',[],'']
	],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Meadow';
theSitetree.paletteFamily='0000BB';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10703';
theSitetree.graphicsetId='10949';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='9FD796';
var theTemplate={
				name: 			'Meadow',
				paletteFamily: 	'0000BB',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10703',
				graphicsetId: 	'10949',
				contentColor: 	'000000',
				contentBGColor: '9FD796',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'6EC262',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1007']={
webappId:    '1007',
documentId:  '15011',
internalId:  '109a5f9d2d4',
customField: 'Gener_05_Caves'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '16198',
internalId:  '109e5279b1a',
customField: 'Alena_Curri'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '14305',
internalId:  'aas010in2yyt10b38c6d81a',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '16781',
internalId:  'aas010in2yyt10b38c6d81a',
customField: 'followUp'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '35915',
internalId:  '35915aas010in2yyt',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '35910',
internalId:  '35915aas010in2yyt',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1412',
internalId:  '',
customField: '20081011-141800'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6164',
internalId:  '',
customField: '20080320-142248'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14035',
internalId:  '',
customField: '20080320-142811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14062',
internalId:  '',
customField: '20080320-142728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14089',
internalId:  '',
customField: '20080320-142847'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14116',
internalId:  '',
customField: '20060224-174604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14143',
internalId:  '',
customField: '20060224-174604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1496',
internalId:  '',
customField: '20070302-183300'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14170',
internalId:  '',
customField: '20060307-175422'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14224',
internalId:  '',
customField: '20070518-190044'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15011',
internalId:  '',
customField: '20060226-120806'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15812',
internalId:  '',
customField: '20080922-205627'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17112',
internalId:  '',
customField: '20060523-211717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17139',
internalId:  '',
customField: '20060518-213923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17166',
internalId:  '',
customField: '20060915-190923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14332',
internalId:  '',
customField: '20070302-190042'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16198',
internalId:  '',
customField: '20070302-185628'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14640',
internalId:  '',
customField: '20060307-175554'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14278',
internalId:  '',
customField: '20060527-133844'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14197',
internalId:  '',
customField: '20080320-141139'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14305',
internalId:  '',
customField: '20070912-193808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16781',
internalId:  '',
customField: '20060515-180023'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14359',
internalId:  '',
customField: '20060515-175428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35110',
internalId:  '',
customField: '20080302-144125'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35131',
internalId:  '',
customField: '20081102-191722'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35152',
internalId:  '',
customField: '20070912-193435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35173',
internalId:  '',
customField: '20081102-185556'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35194',
internalId:  '',
customField: '20070912-193435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35215',
internalId:  '',
customField: '20070912-193435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35236',
internalId:  '',
customField: '20070912-193435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35320',
internalId:  '',
customField: '20070912-193435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35341',
internalId:  '',
customField: '20070912-193435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35425',
internalId:  '',
customField: '20070912-193435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35915',
internalId:  '',
customField: '20070912-193547'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35910',
internalId:  '',
customField: '20070912-193547'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1412',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010IN2YYT';
var companyName   = 'Senderisme+%22ALENA+QUE+NO+ARRIBES%22';
var htmlTitle	  = 'ALENA+QUE+NO+ARRIBES';
var metaKeywords  = 'senderista%2C+ruta%2C+senderismo%2C+monta%EF%BF%BDismo%2C+Vall+Albaida%2C+senderisme';
var metaContents  = 'Asociacion+senderista+de+la+Vall+Albaida%2C+rutas%2C+senderos%2C+historia+grupo%2C+actividades.';
					                                                                    
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 */					                                                            
