/* [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','4456',jdecode('Inicio'),jdecode(''),'/4456.html','true',[],''],
	['PAGE','45926',jdecode('El+Autor'),jdecode(''),'/45926.html','true',[],''],
	['PAGE','24457',jdecode('Noticias'),jdecode(''),'/24457.html','true',[],''],
	['PAGE','75901',jdecode('Libros'),jdecode(''),'/75901/index.html','true',[ 
		['PAGE','4513',jdecode('La+Isis+Dorada'),jdecode(''),'/75901/4513.html','true',[],''],
		['PAGE','72701',jdecode('++++++Escenas+eliminadas'),jdecode(''),'/75901/72701.html','true',[],''],
		['PAGE','71601',jdecode('++++++Compra+el+libro'),jdecode(''),'/75901/71601.html','true',[],''],
		['PAGE','75943',jdecode('Fabuland'),jdecode(''),'/75901/75943.html','true',[],'']
	],''],
	['PAGE','24484',jdecode('Foro+de+discusi%C3%B3n'),jdecode(''),'/24484.html','true',[],''],
	['PAGE','61603',jdecode('Entrevistas+'),jdecode(''),'/61603.html','true',[],''],
	['PAGE','61203',jdecode('Blog'),jdecode(''),'/61203.html','true',[],''],
	['PAGE','46414',jdecode('Album+de+fotos'),jdecode(''),'/46414/index.html','true',[ 
		['PAGE','25706',jdecode('Fotos+Egipto+2005'),jdecode(''),'/46414/25706.html','true',[],''],
		['PAGE','46706',jdecode('TEMPLO+DE+FIL%C3%89'),jdecode(''),'/46414/46706.html','true',[],''],
		['PAGE','48554',jdecode('ATENAS+2005'),jdecode(''),'/46414/48554.html','true',[],''],
		['PAGE','58680',jdecode('EL+AUTOR'),jdecode(''),'/46414/58680.html','true',[],'']
	],''],
	['PAGE','24511',jdecode('Enlaces'),jdecode(''),'/24511.html','true',[],''],
	['PAGE','25020',jdecode('Libro+de+visitas'),jdecode(''),'/25020/index.html','true',[ 
		['PAGE','25021',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/25020/25021.html','true',[],'']
	],''],
	['PAGE','59703',jdecode('Contacta'),jdecode(''),'/59703.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='5E5E5E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10448';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='5e5e5e';
var theTemplate={
				name: 			'Akropolis',
				paletteFamily: 	'5E5E5E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10448',
				contentColor: 	'FFFFFF',
				contentBGColor: '5e5e5e',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'5E5E5E',
				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['1006']={
webappId:    '1006',
documentId:  '4456',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '25020',
internalId:  '25020aas010ine3kj',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '25021',
internalId:  '25020aas010ine3kj',
customField: 'action=list'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '25706',
internalId:  '110137e73c0',
customField: 'EGIPTO'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '46706',
internalId:  '1101c7c1055',
customField: 'g.12apefv1g.5ldm24nnit7t.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '48554',
internalId:  '1102a93d60c',
customField: 'g.12apefv1n.42o3ud6073n8b.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '58680',
internalId:  '110925d26b5',
customField: 'g.12apefv1t.h7rdqtn1k59s.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4456',
internalId:  '',
customField: '20100112-135728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24457',
internalId:  '',
customField: '20091217-141410'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45926',
internalId:  '',
customField: '20091217-142636'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61603',
internalId:  '',
customField: '20090406-175515'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4513',
internalId:  '',
customField: '20090226-165038'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75943',
internalId:  '',
customField: '20090309-155142'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61203',
internalId:  '',
customField: '20081014-133252'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24484',
internalId:  '',
customField: '20090406-173852'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46414',
internalId:  '',
customField: '20070205-160938'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25706',
internalId:  '',
customField: '20070112-003752'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46706',
internalId:  '',
customField: '20070224-183740'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48554',
internalId:  '',
customField: '20070116-120926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58680',
internalId:  '',
customField: '20070617-233946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24511',
internalId:  '',
customField: '20090406-180557'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25020',
internalId:  '',
customField: '20070111-221419'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25021',
internalId:  '',
customField: '20070111-221419'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59703',
internalId:  '',
customField: '20070217-164614'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '71601',
internalId:  '',
customField: '20071127-093118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72701',
internalId:  '',
customField: '20071216-201020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75901',
internalId:  '',
customField: '20091217-141908'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010INE3KJ';
var companyName   = 'JORGE+MAGANO';
var htmlTitle	  = '';
var metaKeywords  = 'Isis+dorada+Jorge+Magano+Revista+Arcadia+Jaime+Azc%EF%BF%BDrate';
var metaContents  = 'Bienvenidos+a+la+web+de+Jorge+Magano+y+la+Revista+Arcadia%3A+el+lugar+de+trabajo+del+intr%EF%BF%BDpido+periodista%2Fhistoriador+del+arte+Jaime+Azc%EF%BF%BDrate.+Aqu%EF%BF%BD+podr%EF%BF%BDs+conocer+todo+sobre+este+din%EF%BF%BDmico+personaje%2C+las+novedades+concernientes+a+su+mundo+y%2C+por+supuesto%2C+a+su+creador.';
					                                                                    
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 */					                                                            
