/* [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','1508',jdecode('PRINCIPAL'),jdecode(''),'/1508.html','true',[],''],
	['PAGE','21001',jdecode('C%C3%93MO+LLEGAR'),jdecode(''),'/21001/index.html','true',[ 
		['PAGE','21022',jdecode('VER+FOTO+AMPLIADA'),jdecode(''),'/21001/21022.html','true',[],''],
		['PAGE','21043',jdecode('VISTA+A%C3%89REA'),jdecode(''),'/21001/21043.html','true',[],'']
	],''],
	['PAGE','25001',jdecode('CLASES+INDIVIDUALES'),jdecode(''),'/25001.html','true',[],''],
	['PAGE','21064',jdecode('METODOLOG%C3%8DA'),jdecode(''),'/21064.html','true',[],''],
	['PAGE','37001',jdecode('FECHAS+EX%C3%81MENES'),jdecode(''),'/37001.html','true',[],''],
	['PAGE','69222',jdecode('ELKANO%3A+GRADO'),jdecode(''),'/69222.html','true',[],''],
	['PAGE','21085',jdecode('ELKANO%3A+DIPLOMATURA'),jdecode(''),'/21085.html','true',[],''],
	['PAGE','69264',jdecode('SARRIKO%3A+GRADOS'),jdecode(''),'/69264/index.html','true',[ 
		['PAGE','90601',jdecode('GRADO+ADE'),jdecode(''),'/69264/90601.html','true',[],''],
		['PAGE','90101',jdecode('GRADO+ECONOMIA'),jdecode(''),'/69264/90101.html','true',[],''],
		['PAGE','90143',jdecode('GRADO+FINANZAS'),jdecode(''),'/69264/90143.html','true',[],''],
		['PAGE','90122',jdecode('GRADO+MARKETING'),jdecode(''),'/69264/90122.html','true',[],''],
		['PAGE','90164',jdecode('GRADO+FISCALIDAD'),jdecode(''),'/69264/90164.html','true',[],'']
	],''],
	['PAGE','21106',jdecode('LADE'),jdecode(''),'/21106.html','true',[],''],
	['PAGE','21127',jdecode('Lic.+ECONOMIA+'),jdecode(''),'/21127.html','true',[],''],
	['PAGE','21148',jdecode('LITM'),jdecode(''),'/21148.html','true',[],''],
	['PAGE','21169',jdecode('CICLOS+ADMINISTRACI%C3%93N'),jdecode(''),'/21169.html','true',[],''],
	['PAGE','42801',jdecode('FORMACI%C3%93N+LABORAL'),jdecode(''),'/42801.html','true',[],''],
	['PAGE','21232',jdecode('ECONOM%C3%8DA+BACHILLER'),jdecode(''),'/21232.html','true',[],''],
	['PAGE','103401',jdecode('ALQUILER+DE+AULAS'),jdecode(''),'/103401.html','true',[],''],
	['PAGE','61201',jdecode('EMPLEO+EN+IKASLEKU'),jdecode(''),'/61201.html','true',[],''],
	['PAGE','21253',jdecode('CONTACTO'),jdecode(''),'/21253.html','true',[],'']];
var siteelementCount=24;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='5351C2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10894';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'5351C2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10894',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'5351C2',
				e_color: 		'5351C2',
				f_color: 		'5351C2',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1508',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1508',
internalId:  '',
customField: '20120116-003521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42801',
internalId:  '',
customField: '20120116-002729'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21001',
internalId:  '',
customField: '20110302-215606'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21022',
internalId:  '',
customField: '20080531-143218'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21043',
internalId:  '',
customField: '20080531-143331'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21064',
internalId:  '',
customField: '20120116-000428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25001',
internalId:  '',
customField: '20120116-000405'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21169',
internalId:  '',
customField: '20111020-112147'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21232',
internalId:  '',
customField: '20111020-112240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90122',
internalId:  '',
customField: '20120116-001951'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21253',
internalId:  '',
customField: '20110821-005941'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '21253',
internalId:  '11812192',
customField: 'es:ES:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21085',
internalId:  '',
customField: '20120116-000832'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21106',
internalId:  '',
customField: '20120116-002600'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21127',
internalId:  '',
customField: '20120116-002617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21148',
internalId:  '',
customField: '20120116-002643'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1508',
internalId:  '11811465',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37001',
internalId:  '',
customField: '20120116-000513'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20100901-010029'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90601',
internalId:  '',
customField: '20120116-004039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90101',
internalId:  '',
customField: '20120116-002505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '69222',
internalId:  '',
customField: '20120116-000647'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '69264',
internalId:  '',
customField: '20120116-003442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103401',
internalId:  '',
customField: '20120116-005754'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90143',
internalId:  '',
customField: '20120116-001551'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90164',
internalId:  '',
customField: '20120116-002415'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INEO5D';
var companyName   = 'Econ%C3%B3micas+y+Empresariales';
var htmlTitle	  = 'Ikasleku+Empresariales';
var metaKeywords  = 'Academia+Basauri+Academias+Basauri+Academia+Basauri+Economicas+Empresariales+Economicas+Formaci%C3%B3n+Laboral+Grados+Empresa+Licenciatura+Elkano+Elcano+Sarriko+Deusto+Contabilidad+Financiera+Contabilidad+Aplicada+Contabilidad+Costes+Economia+Politica+Estadistica+Matematicas+Plan+Bolonia+Grados+ADE+Grado+en+Econom%C3%ADa+Grado+en+Gesti%C3%B3n+de+Negocios+Grado+en+Finanzas+grado+en+marketing+grado+en+fiscalidad+Empresa+Matematicas+Financieras+Direccion+Financiera+Direccion+Comercial+Organizacion+y+Administracion+de+Empresas+Economia+Espa%C3%B1ola+Mundial+Macroeconomia+Microeconomia+Analisis+y+Consolidacion+de+los+Estados+ContablesComercio+Exterior+de+la+Empresa+Direccion+Comercial+Marketing+Internacional+Sociologia+Empresa+Nuevos+Grados+Alquiler+de+Aulas+en+Basauri';
var metaContents  = 'Centro+de+Estudios+Empresariales+Ikasleku+C%2F+Uribarri+6%2C+Entreplanta.+48970+Basauri.+Bizkaia.El+Centro+de+Estudios+Empresariales+Ikasleku%2C+es+un+Centro+de+Estudios+especializado+en+las+asignaturas+de+Economicas+y+Empresariales+%28Sarriko-Elkano-Deusto%29.++++El+exito+de+nuestros+alumnos%2C+se+basa+en+una+metodologia+totalmente+personalizada%2C+que+se+adapta+a+cada+alumno+y+al+temario+exacto+de+sus+asignaturas.++++++';
					                                                                    
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 */					                                                            

