/* [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','23',jdecode('Inicio'),jdecode(''),'/23.html','true',[],''],
	['PAGE','53',jdecode('Quienes+somos'),jdecode(''),'/53.html','true',[],''],
	['PAGE','641141',jdecode('Noticias+'),jdecode(''),'/641141.html','true',[],''],
	['PAGE','649941',jdecode('Foro'),jdecode(''),'/649941.html','true',[],''],
	['PAGE','71',jdecode('Actividades'),jdecode(''),'/71/index.html','true',[ 
		['PAGE','519',jdecode('Aerofitness'),jdecode(''),'/71/519.html','true',[],''],
		['PAGE','564',jdecode('Full+Contact'),jdecode(''),'/71/564.html','true',[],''],
		['PAGE','592241',jdecode('Kenpo'),jdecode(''),'/71/592241.html','true',[],'']
	],''],
	['PAGE','80',jdecode('Instalaciones'),jdecode(''),'/80/index.html','true',[ 
		['PAGE','1297',jdecode('Fotos'),jdecode(''),'/80/1297.html','true',[],''],
		['PAGE','682752',jdecode('Sala+mixta+-+tatami'),jdecode(''),'/80/682752.html','true',[],''],
		['PAGE','1450',jdecode('Recepci%C3%B3n+y+sala+de+espera'),jdecode(''),'/80/1450.html','true',[],''],
		['PAGE','682773',jdecode('recep'),jdecode(''),'/80/682773.html','true',[],''],
		['PAGE','679652',jdecode('Sala+de+musculacion+y+cardio'),jdecode(''),'/80/679652.html','true',[],''],
		['PAGE','679252',jdecode('Vestuarios'),jdecode(''),'/80/679252.html','true',[],''],
		['PAGE','682794',jdecode('Peluqueria'),jdecode(''),'/80/682794.html','true',[],'']
	],''],
	['PAGE','89',jdecode('Horarios'),jdecode(''),'/89.html','true',[],''],
	['PAGE','107',jdecode('Normas'),jdecode(''),'/107.html','true',[],''],
	['PAGE','98',jdecode('Precios'),jdecode(''),'/98.html','true',[],''],
	['PAGE','125',jdecode('Invitaci%C3%B3n'),jdecode(''),'/125.html','true',[],''],
	['PAGE','9156',jdecode('Dedicatoria'),jdecode(''),'/9156.html','true',[],''],
	['PAGE','152',jdecode('Enlaces'),jdecode(''),'/152.html','true',[],''],
	['PAGE','56731',jdecode('Videos'),jdecode(''),'/56731.html','true',[],''],
	['PAGE','179',jdecode('Campeonatos'),jdecode(''),'/179.html','true',[],''],
	['PAGE','9217',jdecode('Cinturones+Negros'),jdecode(''),'/9217.html','true',[],''],
	['PAGE','575141',jdecode('Fotos+de+equipos'),jdecode(''),'/575141.html','true',[],''],
	['PAGE','116',jdecode('Localizaci%C3%B3n'),jdecode(''),'/116.html','true',[],''],
	['PAGE','4103',jdecode('Libro+de+visitas'),jdecode(''),'/4103/index.html','true',[ 
		['PAGE','4102',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/4103/4102.html','true',[],'']
	],''],
	['PAGE','134',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/134/index.html','true',[ 
		['PAGE','2726',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/134/2726.html','false',[],'']
	],''],
	['PAGE','466662',jdecode('++++'),jdecode(''),'/466662.html','true',[],''],
	['PAGE','460541',jdecode('CLUB+KENPO+RIVEIRA'),jdecode(''),'/460541/index.html','true',[ 
		['PAGE','8425',jdecode('Memoria+2006'),jdecode(''),'/460541/8425.html','true',[],''],
		['PAGE','161',jdecode('Memoria+2005'),jdecode(''),'/460541/161.html','true',[],''],
		['PAGE','452941',jdecode('VI+Nacional+Almu%C3%B1ecar+06'),jdecode(''),'/460541/452941.html','true',[],''],
		['PAGE','1915',jdecode('V+Nacional++Sax+2005'),jdecode(''),'/460541/1915.html','true',[],''],
		['PAGE','1924',jdecode('IV+Nacional+Riveira+2004'),jdecode(''),'/460541/1924.html','true',[],''],
		['PAGE','436341',jdecode('Gallego+2006'),jdecode(''),'/460541/436341.html','true',[],''],
		['PAGE','1968',jdecode('Gallego+2005'),jdecode(''),'/460541/1968.html','true',[],'']
	],''],
	['PAGE','197',jdecode('JOSE++CARDALDA'),jdecode(''),'/197/index.html','true',[ 
		['PAGE','2125',jdecode('Personal'),jdecode(''),'/197/2125.html','true',[],''],
		['PAGE','8268',jdecode('Curriculum'),jdecode(''),'/197/8268.html','true',[],''],
		['PAGE','3241',jdecode('Fotos+'),jdecode(''),'/197/3241.html','true',[],''],
		['PAGE','10033',jdecode('Historia+deportiva'),jdecode(''),'/197/10033.html','true',[],''],
		['PAGE','37915',jdecode('Cesi%C3%B3n+del+%22Sheng+Chi+Pai%22++'),jdecode(''),'/197/37915.html','true',[],'']
	],''],
	['PAGE','2143',jdecode('MOTOS'),jdecode(''),'/2143/index.html','true',[ 
		['PAGE','464441',jdecode('Extras'),jdecode(''),'/2143/464441.html','true',[],''],
		['PAGE','503741',jdecode('Homenaje+a+Fran+Arias'),jdecode(''),'/2143/503741.html','true',[],'']
	],'']];
var siteelementCount=49;
theSitetree.topTemplateName='Boston';
theSitetree.paletteFamily='4C5C9E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11069';
theSitetree.graphicsetId='11842';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='6476B8';
var theTemplate={
				name: 			'Boston',
				paletteFamily: 	'4C5C9E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11069',
				graphicsetId: 	'11842',
				contentColor: 	'FFFFFF',
				contentBGColor: '6476B8',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23',
internalId:  '',
customField: '20100308-184309'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '3241',
internalId:  '107c87b0ad6',
customField: 'g.10v44ap33.2acahlpd72.1s'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '23',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '134',
internalId:  'aak010inxexc107b50958fc',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '2726',
internalId:  'aak010inxexc107b50958fc',
customField: 'followUp'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '575141',
internalId:  '111a4af1c1c',
customField: 'g.126i9d7mf.2bb2go21m3.3o'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '4103',
internalId:  '4103aak010inxexc',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '4102',
internalId:  '4103aak010inxexc',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '679252',
internalId:  '',
customField: '20091031-132621'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '641141',
internalId:  '',
customField: '20091223-194125'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53',
internalId:  '',
customField: '20090304-135118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '460541',
internalId:  '',
customField: '20071118-181450'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '592241',
internalId:  '',
customField: '20070615-160203'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '23',
internalId:  '10473',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '179',
internalId:  '',
customField: '20071209-184725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '71',
internalId:  '',
customField: '20081121-190241'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '519',
internalId:  '',
customField: '20060605-135212'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '564',
internalId:  '',
customField: '20060605-135238'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '80',
internalId:  '',
customField: '20100807-153922'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1297',
internalId:  '',
customField: '20100807-161638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1450',
internalId:  '',
customField: '20100807-153921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89',
internalId:  '',
customField: '20070529-204652'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98',
internalId:  '',
customField: '20100201-183616'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107',
internalId:  '',
customField: '20060605-135359'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '116',
internalId:  '',
customField: '20091026-183324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125',
internalId:  '',
customField: '20091029-224014'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134',
internalId:  '',
customField: '20060306-123141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2726',
internalId:  '',
customField: '20051121-235448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4103',
internalId:  '',
customField: '20060605-195259'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4102',
internalId:  '',
customField: '20051221-144004'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9156',
internalId:  '',
customField: '20091029-224219'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '152',
internalId:  '',
customField: '20090310-124725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56731',
internalId:  '',
customField: '20081124-003434'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9217',
internalId:  '',
customField: '20070311-114650'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '575141',
internalId:  '',
customField: '20070402-162724'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '649941',
internalId:  '',
customField: '20090520-001623'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '466662',
internalId:  '',
customField: '20061211-150108'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8425',
internalId:  '',
customField: '20071209-185200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '161',
internalId:  '',
customField: '20071209-185328'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452941',
internalId:  '',
customField: '20070127-104326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1915',
internalId:  '',
customField: '20061010-173623'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1924',
internalId:  '',
customField: '20060216-124900'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '682773',
internalId:  '',
customField: '20091101-122806'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '682752',
internalId:  '',
customField: '20091101-125301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '436341',
internalId:  '',
customField: '20061202-095147'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1968',
internalId:  '',
customField: '20061118-205440'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '197',
internalId:  '',
customField: '20091028-192219'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2125',
internalId:  '',
customField: '20071101-173835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8268',
internalId:  '',
customField: '20090312-181601'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3241',
internalId:  '',
customField: '20051220-184806'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10033',
internalId:  '',
customField: '20080811-110948'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37915',
internalId:  '',
customField: '20060605-133007'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2143',
internalId:  '',
customField: '20100808-150810'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '679652',
internalId:  '',
customField: '20100807-154100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '464441',
internalId:  '',
customField: '20080227-180954'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '503741',
internalId:  '',
customField: '20080615-214310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '682794',
internalId:  '',
customField: '20091101-122455'
};
var canonHostname = 'localhost';
var accountId     = 'AAK010INXEXC';
var companyName   = '+++++++++++++++Gimnasio+Cardalda++Sport+';
var htmlTitle	  = 'gimnasio+cardalda';
var metaKeywords  = 'kenpo+jose+cardalda+gimnasio+riveira+gali+motos+liga+gallega+kenpo';
var metaContents  = 'gimnasio+artes+marciales+peluqueria+musculacion+kenpo+full+contact++gali+liga+gallega+kenpo';
					                                                                    
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 */					                                                            
