/* [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','1101',jdecode('Home'),jdecode(''),'/1101.html','true',[],''],
	['PAGE','1173',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/1173/index.html','true',[ 
		['PAGE','1194',jdecode('Nuestro+equipo'),jdecode(''),'/1173/1194.html','true',[],'']
	],''],
	['PAGE','1215',jdecode('D%C3%B3nde+encontrarnos'),jdecode(''),'/1215.html','true',[],''],
	['PAGE','1257',jdecode('Cat%C3%A1logo'),jdecode(''),'/1257/index.html','true',[ 
		['PAGE','6406',jdecode('Libros'),jdecode(''),'/1257/6406.html','true',[],''],
		['PAGE','22201',jdecode('Disfraces+'),jdecode(''),'/1257/22201.html','true',[],''],
		['PAGE','6301',jdecode('Para+beb%C3%A9s'),jdecode(''),'/1257/6301.html','true',[],''],
		['PAGE','11801',jdecode('Mu%C3%B1ecas+de+tela'),jdecode(''),'/1257/11801.html','true',[],''],
		['PAGE','6322',jdecode('Carritos+de+juguete'),jdecode(''),'/1257/6322.html','true',[],''],
		['PAGE','6343',jdecode('Telas+y+lanas'),jdecode(''),'/1257/6343.html','true',[],''],
		['PAGE','6364',jdecode('Pinturas'),jdecode(''),'/1257/6364.html','true',[],''],
		['PAGE','10901',jdecode('De+madera'),jdecode(''),'/1257/10901.html','true',[],''],
		['PAGE','6385',jdecode('Telares'),jdecode(''),'/1257/6385.html','true',[],'']
	],''],
	['PAGE','1278',jdecode('Condiciones+'),jdecode(''),'/1278.html','true',[],''],
	['PAGE','1299',jdecode('Hacer+un+pedido'),jdecode(''),'/1299/index.html','true',[ 
		['PAGE','18601',jdecode('Hacer+un+pedido+%28follow+up+page%29'),jdecode(''),'/1299/18601.html','false',[],'']
	],''],
	['PAGE','1320',jdecode('Servicios'),jdecode(''),'/1320.html','true',[],''],
	['PAGE','1341',jdecode('Actividades'),jdecode(''),'/1341/index.html','true',[ 
		['PAGE','24401',jdecode('Madres+y+padres'),jdecode(''),'/1341/24401.html','true',[],''],
		['PAGE','18864',jdecode('Otros'),jdecode(''),'/1341/18864.html','true',[],'']
	],''],
	['PAGE','1236',jdecode('%C3%81lbum+de+fotos'),jdecode(''),'/1236.html','true',[],''],
	['PAGE','1362',jdecode('Bolsa+de+trabajo'),jdecode(''),'/1362.html','true',[],''],
	['PAGE','1383',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/1383.html','true',[],''],
	['PAGE','1404',jdecode('Aviso+legal'),jdecode(''),'/1404.html','true',[],''],
	['PAGE','1425',jdecode('Noticias'),jdecode(''),'/1425.html','true',[],'']];
var siteelementCount=26;
theSitetree.topTemplateName='Roadsign';
theSitetree.paletteFamily='CFD5F7';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10741';
theSitetree.graphicsetId='10496';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Roadsign',
				paletteFamily: 	'CFD5F7',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10741',
				graphicsetId: 	'10496',
				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: 		'666666',
				e_color: 		'999999',
				f_color: 		'663300',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1101',
internalId:  '',
customField: '20090212-171941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1341',
internalId:  '',
customField: '20090217-194902'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10901',
internalId:  '',
customField: '20081116-004341'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1173',
internalId:  '',
customField: '20081117-234315'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1194',
internalId:  '',
customField: '20081115-191841'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1215',
internalId:  '',
customField: '20081116-002607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1236',
internalId:  '',
customField: '20081227-180306'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1257',
internalId:  '',
customField: '20081116-004501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1278',
internalId:  '',
customField: '20081118-212855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1299',
internalId:  '',
customField: '20081116-011012'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1320',
internalId:  '',
customField: '20081118-213530'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1362',
internalId:  '',
customField: '20081109-130001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1383',
internalId:  '',
customField: '20081109-130001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1404',
internalId:  '',
customField: '20081109-130001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1425',
internalId:  '',
customField: '20081109-130001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6301',
internalId:  '',
customField: '20081227-170946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6322',
internalId:  '',
customField: '20081115-204730'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6343',
internalId:  '',
customField: '20081116-005811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6364',
internalId:  '',
customField: '20081228-125033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6385',
internalId:  '',
customField: '20081116-010134'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6406',
internalId:  '',
customField: '20081227-170657'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11801',
internalId:  '',
customField: '20081116-003135'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '1299',
internalId:  'aars20invjh711db14c8e57',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '18601',
internalId:  'aars20invjh711db14c8e57',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18601',
internalId:  '',
customField: '20081118-213104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24401',
internalId:  '',
customField: '20090212-172520'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18864',
internalId:  '',
customField: '20081118-215319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20081227-172245'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'AARS20INVJH7';
var companyName   = 'ANIMALIBROS';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            
