/* [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','4598',jdecode('Home'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','54802',jdecode('Terapia+craneosacral'),jdecode(''),'/54802.html','true',[],''],
	['PAGE','54829',jdecode('Terapia+de+polaridad'),jdecode(''),'/54829.html','true',[],''],
	['PAGE','4929',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/4929/index.html','true',[ 
		['PAGE','4956',jdecode('Nuestro+equipo'),jdecode(''),'/4929/4956.html','true',[],'']
	],''],
	['PAGE','16703',jdecode('CURSOS'),jdecode(''),'/16703.html','true',[],''],
	['PAGE','9964',jdecode('Postgrado+de+n%C3%BAcleo'),jdecode(''),'/9964.html','true',[],''],
	['PAGE','13603',jdecode('Terapia+craneo+sacral'),jdecode(''),'/13603.html','true',[],''],
	['PAGE','49702',jdecode('Pr.+Terapia+craneosacral'),jdecode(''),'/49702.html','true',[],''],
	['PAGE','15503',jdecode('Terapia+de+polaridad'),jdecode(''),'/15503.html','true',[],''],
	['PAGE','55702',jdecode('Pr.+B%C3%A1sico+polaridad'),jdecode(''),'/55702.html','true',[],''],
	['PAGE','56402',jdecode('Pr.+Superior+polaridad'),jdecode(''),'/56402.html','true',[],''],
	['PAGE','5010',jdecode('Enlaces'),jdecode(''),'/5010.html','true',[],''],
	['PAGE','5037',jdecode('CONT%C3%81CTENOS'),jdecode(''),'/5037/index.html','true',[ 
		['PAGE','47902',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/5037/47902.html','false',[],''],
		['PAGE','5064',jdecode('Direcciones'),jdecode(''),'/5037/5064.html','true',[],''],
		['PAGE','5091',jdecode('D%C3%B3nde+encontrarnos'),jdecode(''),'/5037/5091.html','true',[],'']
	],''],
	['PAGE','53002',jdecode('ARTICULOS'),jdecode(''),'/53002.html','true',[],''],
	['PAGE','53502',jdecode('Art%C3%ADculo+dos'),jdecode(''),'/53502.html','true',[],''],
	['PAGE','53529',jdecode('Art%C3%ADculo+tres'),jdecode(''),'/53529.html','true',[],''],
	['PAGE','12302',jdecode('Libro+de+visitas'),jdecode(''),'/12302/index.html','true',[ 
		['PAGE','12303',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/12302/12303.html','true',[],'']
	],''],
	['PAGE','12702',jdecode('Albun+de+fotos'),jdecode(''),'/12702.html','true',[],''],
	['PAGE','14602',jdecode('Mapa+de+acceso'),jdecode(''),'/14602.html','true',[],''],
	['PAGE','18103',jdecode('FORO'),jdecode(''),'/18103.html','true',[],''],
	['PAGE','41502',jdecode('Natura'),jdecode(''),'/41502.html','true',[],''],
	['PAGE','54502',jdecode('FOTOS+FLASH+'),jdecode(''),'/54502.html','true',[],''],
	['PAGE','61701',jdecode('Blog'),jdecode(''),'/61701.html','true',[],''],
	['PAGE','75001',jdecode('TALLER+DOLOR'),jdecode(''),'/75001.html','true',[],''],
	['PAGE','75022',jdecode('nuevo'),jdecode(''),'/75022.html','true',[],'']];
var siteelementCount=30;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='93A6CC';
theSitetree.keyvisualId='2243';
theSitetree.keyvisualName='love4.jpg';
theSitetree.fontsetId='364';
theSitetree.graphicsetId='415';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='93A6CC';
var theTemplate={
				name: 			'Enjoy',
				paletteFamily: 	'93A6CC',
				keyvisualId: 	'2243',
				keyvisualName: 	'love4.jpg',
				fontsetId: 		'364',
				graphicsetId: 	'415',
				contentColor: 	'000000',
				contentBGColor: '93A6CC',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'93A6CC',
				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['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '12302',
internalId:  '12302aam010inl19c',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '12303',
internalId:  '12302aam010inl19c',
customField: 'action=list'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '12702',
internalId:  '112068c5fa8',
customField: 'CRANEO'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '14602',
internalId:  'location',
customField: 'language:es;country:ES;isIncluded:false;'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5037',
internalId:  'aam010inl19c112bb355d63',
customField: ''
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '41502',
internalId:  '11243364ffb',
customField: 'Natura'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '47902',
internalId:  'aam010inl19c112bb355d63',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100525-010437'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53502',
internalId:  '',
customField: '20071012-011444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56402',
internalId:  '',
customField: '20091011-195827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9964',
internalId:  '',
customField: '20081027-170705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15503',
internalId:  '',
customField: '20080204-012358'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16703',
internalId:  '',
customField: '20100425-235421'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54502',
internalId:  '',
customField: '20071205-001556'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54802',
internalId:  '',
customField: '20070925-164929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54829',
internalId:  '',
customField: '20070726-202052'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4929',
internalId:  '',
customField: '20080803-224641'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4956',
internalId:  '',
customField: '20070722-013951'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13603',
internalId:  '',
customField: '20100426-231932'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49702',
internalId:  '',
customField: '20080804-004206'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '55702',
internalId:  '',
customField: '20080807-005322'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5010',
internalId:  '',
customField: '20091222-153259'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5037',
internalId:  '',
customField: '20070524-011551'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47902',
internalId:  '',
customField: '20070524-011115'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5064',
internalId:  '',
customField: '20091221-013927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5091',
internalId:  '',
customField: '20080804-004548'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53002',
internalId:  '',
customField: '20070725-232851'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53529',
internalId:  '',
customField: '20070726-002428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12302',
internalId:  '',
customField: '20070418-230006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12303',
internalId:  '',
customField: '20070418-230006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12702',
internalId:  '',
customField: '20070418-231502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14602',
internalId:  '',
customField: '20070419-001419'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18103',
internalId:  '',
customField: '20070422-133246'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41502',
internalId:  '',
customField: '20070430-175752'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '61701',
internalId:  '61701',
customField: 'language:es;country:ES;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61701',
internalId:  '',
customField: '20090927-012417'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75001',
internalId:  '',
customField: '20090927-012504'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75022',
internalId:  '',
customField: '20090629-194415'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INL19C';
var companyName   = 'TERAPIA+de+POLARIDAD++CRANEOSACRAL';
var htmlTitle	  = 'TERAPIA+DE+POLARIDAD+TERAPIA+CRANEOSACRAL';
var metaKeywords  = 'Terapia+craneosacral.+Cursos+de+terapia+craneosacral.Osteopatia+craneosacral.Cursos+de+osteopatia+craneosacra.+Terapia+de+polaridad.+cursos+de+terapia+de+polaridad.Polaridad.+Cursos+de+terapia+de+polaridad+del+Dr.+Stone%2C+terapia+sacrocraneal%2C+terapia+craneo+sacral.+Yoga+de+polaridad';
var metaContents  = 'Escuela+de+terapias+naturales.Dan+cursos+de+osteopat%EF%BF%BDa%2Cterapia+craneosacral%2C+terapia+de+polaridad+y+otras+de+terapias+manuales+en+todo+el+estado.+Las+que+est%EF%BF%BDn+reguladas+se+ajustan+a+las+guias+del+decreto+ley+de+regulaci%EF%BF%BDn+de+las+terapias+naturales+de+la+Generalitat';
					                                                                    
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 */					                                                            
