/* [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','401',jdecode('Inicio'),jdecode(''),'/401.html','true',[],''],
	['PAGE','5101',jdecode('Carta+de+Bienvenida'),jdecode(''),'/5101.html','true',[],''],
	['PAGE','66722',jdecode('Cifras+y+Acciones'),jdecode(''),'/66722.html','true',[],''],
	['PAGE','66701',jdecode('Noticias'),jdecode(''),'/66701.html','true',[],''],
	['PAGE','12501',jdecode('Que+es+el+Reiki'),jdecode(''),'/12501.html','true',[],''],
	['PAGE','8122',jdecode('Acci%C3%B3n+Social'),jdecode(''),'/8122.html','true',[],''],
	['PAGE','9501',jdecode('Convenios+activos+'),jdecode(''),'/9501.html','true',[],''],
	['PAGE','14701',jdecode('Imagenes+de+eventos'),jdecode(''),'/14701.html','true',[],''],
	['PAGE','66743',jdecode('Contacto+%2FInformaci%C3%B3n'),jdecode(''),'/66743/index.html','true',[ 
		['PAGE','70901',jdecode('Hacerse+miembro+%28follow+up+page%29'),jdecode(''),'/66743/70901.html','false',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='CC6600';
theSitetree.keyvisualId='1399';
theSitetree.keyvisualName='astern.jpg';
theSitetree.fontsetId='233';
theSitetree.graphicsetId='286';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Startup',
				paletteFamily: 	'CC6600',
				keyvisualId: 	'1399',
				keyvisualName: 	'astern.jpg',
				fontsetId: 		'233',
				graphicsetId: 	'286',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'CC6600',
				b_color: 		'333333',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20091122-180114'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5101',
internalId:  '',
customField: '20091102-121656'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20090526-162523'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '66743',
internalId:  'aars20in321o1217d2ba970',
customField: ''
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8122',
internalId:  '',
customField: '20091102-123113'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66701',
internalId:  '',
customField: '20091102-112736'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '9501',
internalId:  '9501',
customField: 'language:es;country:ES;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9501',
internalId:  '',
customField: '20091102-123212'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '14701',
internalId:  '1198f33a0dd',
customField: 'g.1367ih3mm.q66lbfaq0s.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66743',
internalId:  '',
customField: '20091102-123803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14701',
internalId:  '',
customField: '20090616-225951'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70901',
internalId:  '',
customField: '20090526-154602'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '70901',
internalId:  'aars20in321o1217d2ba970',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66722',
internalId:  '',
customField: '20091102-121616'
};
var canonHostname = 'llwc535-new.servidoresdns.net';
var accountId     = 'AARS20IN321O';
var companyName   = 'INTEGRA+REIKI';
var htmlTitle	  = 'INTEGRA+REIKI';
var metaKeywords  = 'voluntario%2C+reiki%2C+maestria%2C+chacras%2C+energia%2C+enfermedad%2C+desesparaci%C3%B3n%2C+ayuda%2C+volunatriado%2C+medicos%2C+medicina+complementaria%2C+sexto+sentido%2C+amor+inconicional%2C+amor+universal%2C+asociacion%2C+asociaciones%2C+responsabilidad%2C+curaci%C3%B3n%2C+curacion%2C+ayuda%2C+sancion%2C+sanaci%C3%B3n%2C+encuentro%2C+vida%2C+amor%2C+hermandad%2C+sinceridad%2C+sin+animo+de+lucro%2C+sin+%C3%A1nimo+de+lucro%2C+onestidad%2C+sencillez%2C+canalizar%2C+reiki%2C+REIKI+USUI%2C+reiki+usui%2C+reiki+tibetano%2C+teramai%2C+fibromialgia%2C+cansacion+cr%C3%B3nico%2C+dolor%2C+depresi%C3%B3n%2C+ong%2C+federaci%C3%B3n+espa%C3%B1ola+de+reiki%2C+energia+universal%2C+reiqui%2C+chickung%2C+tai+chi+chuan%2C+meditaci%C3%B3n%2C+yoga%2C+pareja%2C+ni%C3%B1os+hiperactivos%2C+hiperactividad%2C+alegias%2C+dermatitis%2C+grupo%2C+amistad%2C+organizaci%C3%B3n%2C+acci%C3%B3n+voluntaria%2C+voluntarios%2C+voluntario%2C+voluntariado%2C+ayuda%2C+alianza+espa%C3%B1ola+de+reiki%2C+asociados%2C+asociaci%C3%B3n%2C+asociacion%2C+felicidad%2C+hospital%2C+clinica%2C+cl%C3%ADnica%2C+m%C3%A9dicos%2C+especialista%2C+sanaci%C3%B3n+natural%2C+Barcelona%2CBCN%2C+quiromasaje%2C+masaje%2C+gemoterapia%2C+terapia+vibracional%2C+vibraci%C3%B3n%2C+ayuda+humanitaria%2C+cooperacion%2C+cooperaci%C3%B3n%2C+federaci%C3%B3%2C+catalana%2C+catalunya%2C+terapeutas+reiki%2C+terapeuta+reiki%2C+Reiki+egipcio%2C+reiki+teramai%2C+reiki+usui%2C+reiki+japon%C3%A9s%2C+japones%2C+simbolos+reiki%2C+simbolo%2C+usos+reiki%2C+terapia+reiki%2Csesi%C3%B3n+de+reiki%2C+iniciacion+reiki%2C+iniciaci%C3%B3n+reiki%2C+iniciaciones+reiki%2C+cursos+reiki%2C+curso+de+reiki%2C+formaci%C3%B3n%2C+formaci%C3%B3n+reiki%2C+formaci%C3%B3n%2C+infermeria%2C+infermera%2C+doctor%2C+mikao+usui%2C+usui%2C+tibet%2C+t%C3%ADbet.';
var metaContents  = 'Voluntariado+de+reiki+barcelona%2C+asociaciones%2C+hospitales%2C+centros+cl%C3%ADnicos%2C+enfermedades+de+todo+tipo%2C+ayuda+en+acci%C3%B3n.+voluntarios%2C+reiki%2C+formaci%C3%B3n+y+cursos+de+reiki%2C+terapeutas%2C+cursos+y+formaci%C3%B3n%2C+asegurados%2C+afiliados+a+la+asociaci%C3%B3n+de+reiki%2C+alianza+espa%C3%B1ola+de+Reiki%2C+ong%2C+ayuda%2C+reiki+japones%2C+barcelona%2C+voluntario%2C+voluntariado%2C+BCN%2C+BARCELONA%2C+federaci%C3%B3n+Espa%C3%B1ola.';
					                                                                    
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 */					                                                            
