/* [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','21085',jdecode('ELKANO'),jdecode(''),'/21085.html','true',[],''],
	['PAGE','21106',jdecode('LADE'),jdecode(''),'/21106.html','true',[],''],
	['PAGE','21127',jdecode('L.ECONOM%C3%8DA'),jdecode(''),'/21127.html','true',[],''],
	['PAGE','21148',jdecode('LITM'),jdecode(''),'/21148.html','true',[],''],
	['PAGE','52901',jdecode('C%C3%81MARA+DE+COMERCIO'),jdecode(''),'/52901.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','61201',jdecode('EMPLEO+EN+IKASLEKU'),jdecode(''),'/61201.html','true',[],''],
	['PAGE','21253',jdecode('CONTACTO'),jdecode(''),'/21253.html','true',[],'']];
var siteelementCount=17;
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: '20100623-124209'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42801',
internalId:  '',
customField: '20100623-124526'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21001',
internalId:  '',
customField: '20090917-014626'
};
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: '20100623-124321'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25001',
internalId:  '',
customField: '20100623-124303'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21169',
internalId:  '',
customField: '20100623-124505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21232',
internalId:  '',
customField: '20100623-124553'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21253',
internalId:  '',
customField: '20090917-014245'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '21253',
internalId:  '11812192',
customField: 'es:ES:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21085',
internalId:  '',
customField: '20100623-124350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21106',
internalId:  '',
customField: '20100623-124408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21127',
internalId:  '',
customField: '20100623-124420'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21148',
internalId:  '',
customField: '20100623-124432'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1508',
internalId:  '11811465',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37001',
internalId:  '',
customField: '20100502-113653'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20090917-011914'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52901',
internalId:  '',
customField: '20100623-124450'
};
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+Empresa+Licenciatura+Elkano+Elcano+Sarriko+Deusto+Contabilidad+Financiera+Contabilidad+Aplicada+Contabilidad+CostesEconomia+Politica+Estadistica+Matematicas+EmpresaMatematicas+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';
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 */					                                                            
