/* [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','1406',jdecode('Inicio'),jdecode(''),'/1406.html','true',[],''],
	['PAGE','15253',jdecode('ADMINISTRACI%C3%93N+DE+FINCAS'),jdecode(''),'/15253/index.html','true',[ 
		['PAGE','27627',jdecode('Funciones+del+Administrador'),jdecode(''),'/15253/27627.html','true',[],''],
		['PAGE','15280',jdecode('Contacte+con+nosotros'),jdecode(''),'/15253/15280.html','true',[],''],
		['PAGE','4882',jdecode('Administrador+del+a%C3%B1o+2005'),jdecode(''),'/15253/4882.html','true',[],''],
		['PAGE','15519',jdecode('GESTI%C3%93N+INMOBILIARIA+%28follow+up+page%29'),jdecode(''),'/15253/15519.html','false',[],'']
	],''],
	['PAGE','3901',jdecode('VIVIR+EN+COMUNIDAD'),jdecode(''),'/3901/index.html','true',[ 
		['PAGE','1463',jdecode('Normativa+de+inter%C3%A9s'),jdecode(''),'/3901/1463.html','true',[],''],
		['PAGE','3928',jdecode('Preguntas+m%C3%A1s+frecuentes'),jdecode(''),'/3901/3928.html','true',[],''],
		['PAGE','1490',jdecode('Formulario+de+consultas'),jdecode(''),'/3901/1490.html','true',[],''],
		['PAGE','29427',jdecode('Foro+de+Vivir+en+Comunidad'),jdecode(''),'/3901/29427.html','true',[],''],
		['PAGE','2327',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/3901/2327.html','false',[],'']
	],''],
	['PAGE','3955',jdecode('APROAVI'),jdecode(''),'/3955/index.html','true',[ 
		['PAGE','11927',jdecode('APROAVI+%28follow+up+page%29'),jdecode(''),'/3955/11927.html','false',[],''],
		['PAGE','5453',jdecode('Contacto+asociados'),jdecode(''),'/3955/5453.html','true',[],''],
		['PAGE','4063',jdecode('Contacto+no+asociados'),jdecode(''),'/3955/4063/index.html','true',[ 
			['PAGE','4635',jdecode('Contacto+%28follow+up+page%29'),jdecode(''),'/3955/4063/4635.html','false',[],'']
		],''],
		['PAGE','54427',jdecode('Art%C3%ADculos+de+inter%C3%A9s'),jdecode(''),'/3955/54427.html','true',[],''],
		['PAGE','5494',jdecode('Zona+Asociados+%28follow+up+page%29'),jdecode(''),'/3955/5494.html','false',[],'']
	],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B0CBD6';
theSitetree.keyvisualId='1972';
theSitetree.keyvisualName='handwerk.jpg';
theSitetree.fontsetId='330';
theSitetree.graphicsetId='383';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'B0CBD6',
				keyvisualId: 	'1972',
				keyvisualName: 	'handwerk.jpg',
				fontsetId: 		'330',
				graphicsetId: 	'383',
				contentColor: 	'000000',
				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:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1406',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '1490',
internalId:  'aas010in2m6mfeb4b82e23',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '2327',
internalId:  'aas010in2m6mfeb4b82e23',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4063',
internalId:  'aas010in2m6m10388d2c503',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4635',
internalId:  'aas010in2m6m10388d2c503',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5453',
internalId:  'aas010in2m6m104841fcf42',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5494',
internalId:  'aas010in2m6m104841fcf42',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '3955',
internalId:  'aas010in2m6m104847d29e6',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '11927',
internalId:  'aas010in2m6m104847d29e6',
customField: 'followUp'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '29427',
internalId:  'aas010in2m6m11f4b9ddccb',
customField: 'es:ES:'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1406',
internalId:  '1519367',
customField: '1501'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '15280',
internalId:  'aas010in2m6m104f1524507',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '15519',
internalId:  'aas010in2m6m104f1524507',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1406',
internalId:  '',
customField: '20090206-001228'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3955',
internalId:  '',
customField: '20090206-164001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4882',
internalId:  '',
customField: '20090206-002628'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3928',
internalId:  '',
customField: '20090206-003645'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15280',
internalId:  '',
customField: '20090206-163427'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3901',
internalId:  '',
customField: '20050616-114108'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15253',
internalId:  '',
customField: '20090206-163210'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15519',
internalId:  '',
customField: '20050707-144317'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1463',
internalId:  '',
customField: '20090206-141058'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1490',
internalId:  '',
customField: '20090206-164431'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2327',
internalId:  '',
customField: '20040831-140102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11927',
internalId:  '',
customField: '20050616-113133'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5453',
internalId:  '',
customField: '20090206-164021'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4063',
internalId:  '',
customField: '20090206-164304'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4635',
internalId:  '',
customField: '20050428-144044'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5494',
internalId:  '',
customField: '20050616-094934'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29427',
internalId:  '',
customField: '20090206-134133'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54427',
internalId:  '',
customField: '20090206-201435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27627',
internalId:  '',
customField: '20090206-120516'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010IN2M6M';
var companyName   = 'VIVIR+EN+COMUNIDAD';
var htmlTitle	  = 'Vivir+en+comunidad';
var metaKeywords  = 'aproavi+adquirente+vivienda+comunidad+reclamaci%EF%BF%BDn+propietario+reclamaci%EF%BF%BDn+vicios+construcci%EF%BF%BDn+reformas+plazos+incumplimiento+edificaci%EF%BF%BDn+da%EF%BF%BDos+quality+house';
var metaContents  = 'Asesoramiento+y+defensa+de+los+adquirentes+de+viviendas+y+de+las+Comunidades+de+propietarios.+Reclamaciones+por+da%EF%BF%BDos+contructivos.+Asesoramiento+inmobiliario.';
					                                                                    
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 */					                                                            
