/* [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','1401',jdecode('Inicio'),jdecode(''),'/1401.html','true',[],''],
	['PAGE','23401',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/23401.html','true',[],''],
	['PAGE','23464',jdecode('Te+ofrecemos+la+f%C3%B3rmula'),jdecode(''),'/23464.html','true',[],''],
	['PAGE','80101',jdecode('El+oc%C3%A9ano+experto'),jdecode(''),'/80101.html','true',[],''],
	['PAGE','48101',jdecode('Entrenador+personal'),jdecode(''),'/48101/index.html','true',[ 
		['PAGE','47522',jdecode('Actitud%3A+tipos'),jdecode(''),'/48101/47522.html','true',[],''],
		['PAGE','42401',jdecode('Esfuerzo'),jdecode(''),'/48101/42401.html','true',[],''],
		['PAGE','57001',jdecode('Entusiasmo'),jdecode(''),'/48101/57001.html','true',[],''],
		['PAGE','63701',jdecode('Inteligencia+EMO'),jdecode(''),'/48101/63701.html','true',[],''],
		['PAGE','59601',jdecode('Tenacidad'),jdecode(''),'/48101/59601.html','true',[],'']
	],''],
	['PAGE','90801',jdecode('News+actualizado'),jdecode(''),'/90801/index.html','true',[ 
		['PAGE','89401',jdecode('Perd%C3%B3n+o+Permiso'),jdecode(''),'/90801/89401.html','true',[],'']
	],''],
	['PAGE','53001',jdecode('Sesi%C3%B3n+anti-stress'),jdecode(''),'/53001.html','true',[],''],
	['PAGE','45201',jdecode('PositiBlog+%2B'),jdecode(''),'/45201.html','true',[],''],
	['PAGE','26206',jdecode('Libro+de+visitas'),jdecode(''),'/26206/index.html','true',[ 
		['PAGE','26201',jdecode('leer+libro+visitas'),jdecode(''),'/26206/26201.html','true',[],'']
	],''],
	['PAGE','51101',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/51101/index.html','true',[ 
		['PAGE','66001',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/51101/66001.html','false',[],'']
	],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Impulse';
theSitetree.paletteFamily='84AACA';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10413';
theSitetree.graphicsetId='10679';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='84AACA';
var theTemplate={
				name: 			'Impulse',
				paletteFamily: 	'84AACA',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10413',
				graphicsetId: 	'10679',
				contentColor: 	'000000',
				contentBGColor: '84AACA',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'517695',
				e_color: 		'4A6C8B',
				f_color: 		'2F6999',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1401',
internalId:  '',
customField: '20071127-134605'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1401',
internalId:  '1204199',
customField: '1501'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '26206',
internalId:  '26206aars20in39sb',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '26201',
internalId:  '26206aars20in39sb',
customField: 'action=list'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '45201',
internalId:  '45201',
customField: 'language:es;country:ES;'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '51101',
internalId:  'aars20in39sb11553a086f5',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '66001',
internalId:  'aars20in39sb11553a086f5',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23401',
internalId:  '',
customField: '20071003-222904'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23464',
internalId:  '',
customField: '20071004-202215'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89401',
internalId:  '',
customField: '20080103-125832'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '80101',
internalId:  '',
customField: '20071006-023636'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48101',
internalId:  '',
customField: '20070930-014427'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47522',
internalId:  '',
customField: '20070929-182338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42401',
internalId:  '',
customField: '20070929-200628'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '57001',
internalId:  '',
customField: '20070930-005118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '63701',
internalId:  '',
customField: '20071001-223420'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59601',
internalId:  '',
customField: '20071001-223338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53001',
internalId:  '',
customField: '20071005-235416'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45201',
internalId:  '',
customField: '20070929-142325'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26206',
internalId:  '',
customField: '20070926-001153'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26201',
internalId:  '',
customField: '20070926-001153'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51101',
internalId:  '',
customField: '20070930-015931'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66001',
internalId:  '',
customField: '20070930-013610'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90801',
internalId:  '',
customField: '20080103-120029'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'AARS20IN39SB';
var companyName   = 'CLUB+DE+AMIGOS';
var htmlTitle	  = 'enprincipiosi';
var metaKeywords  = 'actitud+enprincipiosi+capital+intelectual+reto+esfuerzo+tenacidad+inteligencia+emocional+entusiasmo+';
var metaContents  = 'En+Principio+Si%2C+fundamentalmente+se+basa+en+el+intercambio+de+capital+intelectual%2C+dicho+de+otra+manera%2C+compartimos+experiencias+desde+un+entorno+laboral+y+una+visi%C3%B3n+multi-sectorial%2C+donde+las+fortalezas+y+amenazas+se+combinan+para+obtener+la+clave+que+nos+guiara+hac%C3%ADa+el+camino+del+%C3%A9xito.+';
					                                                                    
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 */					                                                            

