/* [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','4519',jdecode('Introducci%C3%B3n'),jdecode(''),'/4519.html','true',[],''],
	['PAGE','4630',jdecode('Libros'),jdecode(''),'/4630.html','true',[],''],
	['PAGE','5194',jdecode('Narrativa'),jdecode(''),'/5194/index.html','true',[ 
		['PAGE','19723',jdecode('1984'),jdecode(''),'/5194/19723.html','true',[],''],
		['PAGE','20711',jdecode('Carta+a+un+ni%C3%B1o'),jdecode(''),'/5194/20711.html','true',[],''],
		['PAGE','18723',jdecode('Espa%C3%B1a+en+los...+'),jdecode(''),'/5194/18723.html','true',[],''],
		['PAGE','17331',jdecode('Los+Miserables'),jdecode(''),'/5194/17331.html','true',[],''],
		['PAGE','13330',jdecode('Diario+de...'),jdecode(''),'/5194/13330.html','true',[],''],
		['PAGE','13357',jdecode('El+%C3%BAltimo'),jdecode(''),'/5194/13357.html','true',[],''],
		['PAGE','13303',jdecode('Sangre+inoncente'),jdecode(''),'/5194/13303.html','true',[],''],
		['PAGE','14002',jdecode('El+caso+de'),jdecode(''),'/5194/14002.html','true',[],''],
		['PAGE','14029',jdecode('El+huerto'),jdecode(''),'/5194/14029.html','true',[],''],
		['PAGE','14056',jdecode('Las+cinco'),jdecode(''),'/5194/14056.html','true',[],''],
		['PAGE','14083',jdecode('El+libro'),jdecode(''),'/5194/14083.html','true',[],''],
		['PAGE','14110',jdecode('El+Club+Dante'),jdecode(''),'/5194/14110.html','true',[],''],
		['PAGE','14137',jdecode('Inquieta'),jdecode(''),'/5194/14137.html','true',[],''],
		['PAGE','14164',jdecode('Escupir%C3%A9'),jdecode(''),'/5194/14164.html','true',[],''],
		['PAGE','14191',jdecode('Carta+de'),jdecode(''),'/5194/14191.html','true',[],''],
		['PAGE','14218',jdecode('El+C%C3%B3digo'),jdecode(''),'/5194/14218.html','true',[],'']
	],''],
	['PAGE','5221',jdecode('Ensayos'),jdecode(''),'/5221/index.html','true',[ 
		['PAGE','22423',jdecode('Secreto+mas%C3%B3nico'),jdecode(''),'/5221/22423.html','true',[],''],
		['PAGE','18750',jdecode('El+mito+de+S%C3%ADsifo'),jdecode(''),'/5221/18750.html','true',[],''],
		['PAGE','11323',jdecode('La+Verdad+...'),jdecode(''),'/5221/11323.html','true',[],''],
		['PAGE','11790',jdecode('Espa%C3%B1a+Inteligible'),jdecode(''),'/5221/11790.html','true',[],''],
		['PAGE','12021',jdecode('El+Apocalipsis'),jdecode(''),'/5221/12021.html','true',[],''],
		['PAGE','12048',jdecode('La+fuerza'),jdecode(''),'/5221/12048.html','true',[],''],
		['PAGE','12075',jdecode('Por+qu%C3%A9+no+soy'),jdecode(''),'/5221/12075.html','true',[],''],
		['PAGE','12102',jdecode('La+Incomparable'),jdecode(''),'/5221/12102.html','true',[],''],
		['PAGE','12129',jdecode('La+unidad'),jdecode(''),'/5221/12129.html','true',[],''],
		['PAGE','12156',jdecode('%C2%BFNaci%C3%B3+Europa'),jdecode(''),'/5221/12156.html','true',[],''],
		['PAGE','12183',jdecode('Grandes+Reyes'),jdecode(''),'/5221/12183.html','true',[],'']
	],''],
	['PAGE','9823',jdecode('Citas'),jdecode(''),'/9823/index.html','true',[ 
		['PAGE','18032',jdecode('La+unidad'),jdecode(''),'/9823/18032.html','true',[],''],
		['PAGE','18059',jdecode('Los+Miserables'),jdecode(''),'/9823/18059.html','true',[],'']
	],''],
	['PAGE','15623',jdecode('Encuestas'),jdecode(''),'/15623/index.html','true',[ 
		['PAGE','15874',jdecode('Sobre+la+web'),jdecode(''),'/15623/15874.html','true',[],''],
		['PAGE','15901',jdecode('Sus+gustos'),jdecode(''),'/15623/15901.html','true',[],''],
		['PAGE','16142',jdecode('Lectura'),jdecode(''),'/15623/16142.html','true',[],'']
	],''],
	['PAGE','23128',jdecode('Libro+de+visitas'),jdecode(''),'/23128/index.html','true',[ 
		['PAGE','23123',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/23128/23123.html','true',[],'']
	],'']];
var siteelementCount=40;
theSitetree.topTemplateName='Eatdrink';
theSitetree.paletteFamily='7575CE';
theSitetree.keyvisualId='3379';
theSitetree.keyvisualName='kv_3379.jpg';
theSitetree.fontsetId='10425';
theSitetree.graphicsetId='10738';
theSitetree.contentColor='5757DA';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Eatdrink',
				paletteFamily: 	'7575CE',
				keyvisualId: 	'3379',
				keyvisualName: 	'kv_3379.jpg',
				fontsetId: 		'10425',
				graphicsetId: 	'10738',
				contentColor: 	'5757DA',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'1B1B6F',
				e_color: 		'1B1B6F',
				f_color: 		'1B1B6F',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4519',
internalId:  '1006',
customField: '1006'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '16142',
internalId:  '100c6d41301.98f573a1',
customField: 'es:ES:'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '15874',
internalId:  '100c6d5e7f7.e2172a64',
customField: 'es:ES:'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '15901',
internalId:  '100c6eb672c.03335980',
customField: 'es:ES:'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4519',
internalId:  '787426',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4519',
internalId:  '',
customField: '20051016-223111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4630',
internalId:  '',
customField: '20051016-223241'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5194',
internalId:  '',
customField: '20060318-121028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19723',
internalId:  '',
customField: '20060318-113249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20711',
internalId:  '',
customField: '20060318-121854'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18723',
internalId:  '',
customField: '20050723-214406'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17331',
internalId:  '',
customField: '20050120-162946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13330',
internalId:  '',
customField: '20041212-003214'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13357',
internalId:  '',
customField: '20041212-084553'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13303',
internalId:  '',
customField: '20041212-084924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14002',
internalId:  '',
customField: '20041212-085335'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14029',
internalId:  '',
customField: '20041212-085650'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14056',
internalId:  '',
customField: '20041212-090014'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14083',
internalId:  '',
customField: '20041214-000834'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14110',
internalId:  '',
customField: '20041212-090532'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14137',
internalId:  '',
customField: '20041212-090900'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14164',
internalId:  '',
customField: '20041212-091112'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14191',
internalId:  '',
customField: '20041212-091340'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14218',
internalId:  '',
customField: '20041212-091826'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5221',
internalId:  '',
customField: '20060318-120322'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18750',
internalId:  '',
customField: '20050723-213125'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11323',
internalId:  '',
customField: '20051016-223617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11790',
internalId:  '',
customField: '20041211-235822'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12021',
internalId:  '',
customField: '20060318-122500'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12048',
internalId:  '',
customField: '20041212-092222'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12075',
internalId:  '',
customField: '20041212-092431'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12102',
internalId:  '',
customField: '20041212-092636'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12129',
internalId:  '',
customField: '20050116-235522'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12156',
internalId:  '',
customField: '20041212-093137'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12183',
internalId:  '',
customField: '20041212-093618'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9823',
internalId:  '',
customField: '20051016-223410'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18032',
internalId:  '',
customField: '20050116-235418'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18059',
internalId:  '',
customField: '20050116-234157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15623',
internalId:  '',
customField: '20041218-213854'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15874',
internalId:  '',
customField: '20041218-213912'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15901',
internalId:  '',
customField: '20041212-121929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16142',
internalId:  '',
customField: '20041218-214018'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22423',
internalId:  '',
customField: '20071110-134411'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '23128',
internalId:  '23128aas010in20oq',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '23123',
internalId:  '23128aas010in20oq',
customField: 'action=list'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010IN20OQ';
var companyName   = 'LibrosParaLeer';
var htmlTitle	  = 'Libros+Para+Leer+y+Disfrutar';
var metaKeywords  = 'libros%2C+libro%2C+lectura%2C+recensiones%2C+recensi%EF%BF%BDn%2C+leer%2C+lector%2C+lectores%2C+volumen%2C+volumenes%2C+';
var metaContents  = 'libros%2C+libro%2C+lectura%2C+recensiones%2C+recensi%EF%BF%BDn%2C+leer%2C+lector%2C+lectores%2C+volumen%2C+volumenes%2C+';
					                                                                    
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 */					                                                            
