/* [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','501',jdecode('Inicio'),jdecode(''),'/501.html','true',[],''],
	['PAGE','552',jdecode('Biograf%C3%ADa'),jdecode(''),'/552/index.html','true',[ 
		['PAGE','573',jdecode('Primeros+a%C3%B1os'),jdecode(''),'/552/573.html','true',[],''],
		['PAGE','15901',jdecode('Madrid-B%C3%A9lgica-Madrid'),jdecode(''),'/552/15901.html','true',[],''],
		['PAGE','15922',jdecode('La+Guerra'),jdecode(''),'/552/15922.html','true',[],''],
		['PAGE','15943',jdecode('Carrera+y+Proyectos'),jdecode(''),'/552/15943.html','true',[],''],
		['PAGE','15964',jdecode('Alemania'),jdecode(''),'/552/15964.html','true',[],''],
		['PAGE','15985',jdecode('Director+Universal'),jdecode(''),'/552/15985.html','true',[],''],
		['PAGE','16006',jdecode('La+Muerte'),jdecode(''),'/552/16006.html','true',[],''],
		['PAGE','594',jdecode('Cronolog%C3%ADa'),jdecode(''),'/552/594.html','true',[],''],
		['PAGE','30801',jdecode('Biograf%C3%ADa+corta'),jdecode(''),'/552/30801.html','true',[],'']
	],''],
	['PAGE','13501',jdecode('Biography'),jdecode(''),'/13501.html','true',[],''],
	['PAGE','615',jdecode('Grabaciones'),jdecode(''),'/615/index.html','true',[ 
		['PAGE','636',jdecode('Zarzuela'),jdecode(''),'/615/636.html','true',[],''],
		['PAGE','657',jdecode('Sinf%C3%B3nica'),jdecode(''),'/615/657.html','true',[],'']
	],''],
	['PAGE','678',jdecode('%C3%81lbum+de+fotos'),jdecode(''),'/678.html','true',[],''],
	['PAGE','699',jdecode('Testimonios+y+Prensa'),jdecode(''),'/699.html','true',[],''],
	['PAGE','720',jdecode('Bibliograf%C3%ADa'),jdecode(''),'/720.html','true',[],''],
	['PAGE','741',jdecode('Noticias'),jdecode(''),'/741.html','true',[],''],
	['PAGE','8401',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/8401.html','true',[],''],
	['PAGE','34501',jdecode('Cr%C3%A9ditos'),jdecode(''),'/34501.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='333333';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='75';
theSitetree.graphicsetId='82';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D6D6D6';
var theTemplate={
				name: 			'Galerie',
				paletteFamily: 	'333333',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'75',
				graphicsetId: 	'82',
				contentColor: 	'000000',
				contentBGColor: 'D6D6D6',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'333333',
				b_color: 		'DBD9D9',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20080311-103715'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20080902-202536'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '573',
internalId:  '',
customField: '20080308-130542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '594',
internalId:  '',
customField: '20080312-215535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '615',
internalId:  '',
customField: '20080311-104000'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '636',
internalId:  '',
customField: '20081128-122610'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '657',
internalId:  '',
customField: '20080216-231018'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '678',
internalId:  '',
customField: '20100103-143527'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '699',
internalId:  '',
customField: '20080311-101807'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '720',
internalId:  '',
customField: '20090410-120436'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '741',
internalId:  '',
customField: '20090410-114518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8401',
internalId:  '',
customField: '20080210-235041'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13501',
internalId:  '',
customField: '20080422-205653'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15901',
internalId:  '',
customField: '20080308-132039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15922',
internalId:  '',
customField: '20080327-174856'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15943',
internalId:  '',
customField: '20080327-175146'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15964',
internalId:  '',
customField: '20080327-175221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15985',
internalId:  '',
customField: '20080327-175849'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16006',
internalId:  '',
customField: '20080902-202706'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30801',
internalId:  '',
customField: '20080324-123421'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34501',
internalId:  '',
customField: '20080325-224542'
};
var canonHostname = 'llwc535-new.servidoresdns.net';
var accountId     = 'AARS20IN3YVM';
var companyName   = 'ATA%C3%9ALFO+ARGENTA';
var htmlTitle	  = 'Ataulfo+Argenta';
var metaKeywords  = 'Ataulfo+Argenta%2C+argenta%2C+ataulfo%2C+orquesta+nacional+de+espa%C3%B1a%2C+director%2C+conductor%2C+spanish%2C+musica+clasica%2C+musica%2C+castro+urdiales';
var metaContents  = 'Ataulfo+Argenta+%281913-1958%29%2C+pagina+oficial+del+genial+director+espa%C3%B1ol.+Contiene+biografia%2C+analisis+de+su+obra%2C+discografia%2C+fotos%2C+etc.';
					                                                                    
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 */					                                                            
