/* [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','4654',jdecode('SERVICIOS'),jdecode(''),'/4654/index.html','true',[ 
		['PAGE','5198',jdecode('Nuestros+Servicios+%28follow+up+page%29'),jdecode(''),'/4654/5198.html','false',[],'']
	],''],
	['PAGE','4597',jdecode('QUIENES+SOMOS+'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','7583',jdecode('NATCO+SELECCION'),jdecode(''),'/7583/index.html','true',[ 
		['PAGE','7610',jdecode('SERVICIOS+A+EMPRESAS'),jdecode(''),'/7583/7610.html','true',[],''],
		['PAGE','7637',jdecode('SERVICIOS+A+HEADHUNTERS'),jdecode(''),'/7583/7637.html','true',[],''],
		['PAGE','7664',jdecode('SOPORTE+A+RECRUITING'),jdecode(''),'/7583/7664.html','true',[],''],
		['PAGE','16301',jdecode('QUICK+SERVICE'),jdecode(''),'/7583/16301.html','true',[],'']
	],''],
	['PAGE','4735',jdecode('CLIENTES'),jdecode(''),'/4735/index.html','true',[ 
		['PAGE','5947',jdecode('CLIENTES+%28follow+up+page%29'),jdecode(''),'/4735/5947.html','false',[],'']
	],''],
	['PAGE','7745',jdecode('NATCO+C+%26+C'),jdecode(''),'/7745/index.html','true',[ 
		['PAGE','9402',jdecode('COACHING'),jdecode(''),'/7745/9402.html','true',[],''],
		['PAGE','8302',jdecode('COUNSELLING'),jdecode(''),'/7745/8302.html','true',[],'']
	],''],
	['PAGE','7502',jdecode('NATCO+FORMACI%C3%93N'),jdecode(''),'/7502/index.html','true',[ 
		['PAGE','22801',jdecode('FORMACI%C3%93N+%28follow+up+page%29'),jdecode(''),'/7502/22801.html','false',[],'']
	],''],
	['PAGE','7772',jdecode('OPCI%C3%93N+PROFESIONAL'),jdecode(''),'/7772.html','true',[],''],
	['PAGE','7853',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/7853/index.html','true',[ 
		['PAGE','7880',jdecode('Direcciones'),jdecode(''),'/7853/7880.html','true',[],'']
	],''],
	['PAGE','7907',jdecode('Trucos+y+ayudas'),jdecode(''),'/7907.html','true',[],''],
	['PAGE','9434',jdecode('Libro+de+visitas'),jdecode(''),'/9434/index.html','true',[ 
		['PAGE','9435',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/9434/9435.html','true',[],'']
	],''],
	['PAGE','9717',jdecode('Mapa+de+acceso'),jdecode(''),'/9717.html','true',[],''],
	['PAGE','11308',jdecode('Informacion+Legal'),jdecode(''),'/11308.html','true',[],''],
	['PAGE','25001',jdecode('C%C3%B3mo+encontrarnos'),jdecode(''),'/25001.html','true',[],''],
	['PAGE','26721',jdecode('Blog'),jdecode(''),'/26721.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Moonflight';
theSitetree.paletteFamily='5B7A93';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='445';
theSitetree.graphicsetId='499';
theSitetree.contentColor='2C5574';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Moonflight',
				paletteFamily: 	'5B7A93',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'445',
				graphicsetId: 	'499',
				contentColor: 	'2C5574',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'2C5574',
				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['1001']={
webappId:    '1001',
documentId:  '4654',
internalId:  'aas010in2xvz103130bfc62',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5198',
internalId:  'aas010in2xvz103130bfc62',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4735',
internalId:  'aas010in2xvz103135920cc',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5947',
internalId:  'aas010in2xvz103135920cc',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4654',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '7502',
internalId:  'aas010in2xvz113721123a2',
customField: ''
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4654',
internalId:  '2353980',
customField: '1501'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '9434',
internalId:  '9434aas010in2xvz',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '9435',
internalId:  '9434aas010in2xvz',
customField: 'action=list'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '9717',
internalId:  'location',
customField: 'language:es;country:ES;isIncluded:false;'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4654',
internalId:  '1501',
customField: '1501'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '22801',
internalId:  'aas010in2xvz113721123a2',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20080206-142045'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4654',
internalId:  '',
customField: '20080206-141835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7745',
internalId:  '',
customField: '20080204-195630'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8302',
internalId:  '',
customField: '20080121-125728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5947',
internalId:  '',
customField: '20050405-191217'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '26721',
internalId:  '26721',
customField: 'language:es;country:ES;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4735',
internalId:  '',
customField: '20080204-194418'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7502',
internalId:  '',
customField: '20070628-132527'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7583',
internalId:  '',
customField: '20080121-130237'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7772',
internalId:  '',
customField: '20080204-195659'
};
webappMappings['2002']={
webappId:    '2002',
documentId:  '25001',
internalId:  'routing',
customField: 'es_ES'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5198',
internalId:  '',
customField: '20050405-174802'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22801',
internalId:  '',
customField: '20070628-132212'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7610',
internalId:  '',
customField: '20060331-104705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7637',
internalId:  '',
customField: '20060331-104717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7664',
internalId:  '',
customField: '20060331-104737'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20070608-134335'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9402',
internalId:  '',
customField: '20060324-152358'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7853',
internalId:  '',
customField: '20060323-111901'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7880',
internalId:  '',
customField: '20060323-105714'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7907',
internalId:  '',
customField: '20060323-111744'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9434',
internalId:  '',
customField: '20060222-120444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9435',
internalId:  '',
customField: '20060222-120444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9717',
internalId:  '',
customField: '20060315-124448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11308',
internalId:  '',
customField: '20060324-153409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25001',
internalId:  '',
customField: '20080121-131741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26721',
internalId:  '',
customField: '20080204-195950'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010IN2XVZ';
var companyName   = 'NATCO+Recruiting+%26+Counselling';
var htmlTitle	  = 'www.natcoseleccion.com';
var metaKeywords  = 'psicologia%2C+psicologo%2C+barcelona%2C+seleccion%2C+counselling%2C+executive+search%2C+coaching%2C+recursos+humanos%2C+curriculum+vitae';
var metaContents  = 'psicologia%2C+psicologo%2C+barcelona%2C+seleccion%2C+counselling%2C+executive+search%2C+coaching%2C+recursos+humanos%2C+curriculum+vitae';
					                                                                    
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 */					                                                            
