/* [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','4606',jdecode('Qui%C3%A9nes+somos'),jdecode(''),'/4606.html','true',[],''],
	['PAGE','4663',jdecode('Qu%C3%A9+hacemos'),jdecode(''),'/4663/index.html','true',[ 
		['PAGE','5707',jdecode('Consultor%C3%ADa+en+G%C3%A9nero'),jdecode(''),'/4663/5707.html','true',[],''],
		['PAGE','4717',jdecode('Manuales+y+Gu%C3%ADas'),jdecode(''),'/4663/4717.html','true',[],''],
		['PAGE','4690',jdecode('Formaci%C3%B3n'),jdecode(''),'/4663/4690.html','true',[],''],
		['PAGE','28501',jdecode('Dise%C3%B1o+gr%C3%A1fico'),jdecode(''),'/4663/28501.html','true',[],'']
	],''],
	['PAGE','27901',jdecode('%C3%81rea+de+trabajo'),jdecode(''),'/27901.html','true',[],''],
	['PAGE','4744',jdecode('Trabajamos+con...'),jdecode(''),'/4744.html','true',[],''],
	['PAGE','7217',jdecode('Contacto'),jdecode(''),'/7217.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='1690';
theSitetree.keyvisualName='beratung.jpg';
theSitetree.fontsetId='280';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'1690',
				keyvisualName: 	'beratung.jpg',
				fontsetId: 		'280',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				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:  '4606',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4606',
internalId:  '',
customField: '20080108-151025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4663',
internalId:  '',
customField: '20081218-133031'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28501',
internalId:  '',
customField: '20081218-140026'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7217',
internalId:  '',
customField: '20051004-184307'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5707',
internalId:  '',
customField: '20070329-164709'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4717',
internalId:  '',
customField: '20070329-163708'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4690',
internalId:  '',
customField: '20070329-164634'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4744',
internalId:  '',
customField: '20070329-181046'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27901',
internalId:  '',
customField: '20080409-182617'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010IN2ET7';
var companyName   = 'LIKaDI';
var htmlTitle	  = 'LIKaDI+-+Formaci%C3%B3n%2C+Empleo+y+G%C3%A9nero';
var metaKeywords  = 'planes+de+igualdad+en+empresas+igualdad+g%EF%BF%BDnero+mujer+empleo+formaci%EF%BF%BDn+consultor%EF%BF%BDa+mainstreaming+oportunidades+asesoramiento+investigaci%EF%BF%BDn+dise%EF%BF%BDo+planificaci%EF%BF%BDn+proyectos';
var metaContents  = 'Consultora+LIKaDI%2C+Formaci%EF%BF%BDn%2C+Empleo+y+G%EF%BF%BDnero.Consultora+especializada+en+Igualdad+de+Oportunidades+entre+Hombres+y+Mujeres%2C+en+Planes+de+Igualdad+para+empresas%2C+en+Formaci%EF%BF%BDn+en+G%EF%BF%BDnero%2C+y+en+elaboraci%EF%BF%BDn+de+materiales.';
					                                                                    
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 */					                                                            

