/* [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','4455',jdecode('Home'),jdecode(''),'/4455.html','true',[],''],
	['PAGE','19431',jdecode('Fran%C3%A7ais'),jdecode(''),'/19431/index.html','true',[ 
		['PAGE','41901',jdecode('Expositions'),jdecode(''),'/19431/41901.html','true',[],''],
		['PAGE','104601',jdecode('Uda+Erakusketa+09'),jdecode(''),'/19431/104601.html','true',[],''],
		['PAGE','40101',jdecode('Cours+de+peinture'),jdecode(''),'/19431/40101.html','true',[],''],
		['PAGE','59801',jdecode('Jeu-Guide+enfants'),jdecode(''),'/19431/59801.html','true',[],''],
		['PAGE','37528',jdecode('Contactez-moi'),jdecode(''),'/19431/37528.html','true',[],'']
	],''],
	['PAGE','5043',jdecode('Euskara++'),jdecode(''),'/5043/index.html','true',[ 
		['PAGE','21090',jdecode('Elkarrizketa'),jdecode(''),'/5043/21090.html','true',[],''],
		['PAGE','41601',jdecode('Erakusketak'),jdecode(''),'/5043/41601.html','true',[],''],
		['PAGE','60601',jdecode('Gida+ludiko+haurrendako'),jdecode(''),'/5043/60601.html','true',[],''],
		['PAGE','37582',jdecode('Contact'),jdecode(''),'/5043/37582.html','true',[],'']
	],''],
	['PAGE','19458',jdecode('Espa%C3%B1ol+'),jdecode(''),'/19458/index.html','true',[ 
		['PAGE','41628',jdecode('Exposiciones'),jdecode(''),'/19458/41628.html','true',[],''],
		['PAGE','37555',jdecode('Contact'),jdecode(''),'/19458/37555.html','true',[],'']
	],''],
	['PAGE','39301',jdecode('English'),jdecode(''),'/39301/index.html','true',[ 
		['PAGE','21009',jdecode('Interview'),jdecode(''),'/39301/21009.html','true',[],''],
		['PAGE','26601',jdecode('Exhibitions'),jdecode(''),'/39301/26601.html','true',[],''],
		['PAGE','37501',jdecode('Contact+me'),jdecode(''),'/39301/37501.html','true',[],'']
	],''],
	['PAGE','45832',jdecode('Expo'),jdecode(''),'/45832/index.html','true',[ 
		['PAGE','90601',jdecode('Collages'),jdecode(''),'/45832/90601.html','true',[],''],
		['PAGE','46202',jdecode('Expo+1'),jdecode(''),'/45832/46202.html','true',[],''],
		['PAGE','46602',jdecode('Expo+2'),jdecode(''),'/45832/46602.html','true',[],''],
		['PAGE','47102',jdecode('Expo+3'),jdecode(''),'/45832/47102.html','true',[],''],
		['PAGE','45402',jdecode('Expo+4'),jdecode(''),'/45832/45402.html','true',[],''],
		['PAGE','48102',jdecode('Expo+5'),jdecode(''),'/45832/48102.html','true',[],'']
	],'']];
var siteelementCount=26;
theSitetree.topTemplateName='Abstract';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10551';
theSitetree.graphicsetId='10577';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Abstract',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10551',
				graphicsetId: 	'10577',
				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: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1007']={
webappId:    '1007',
documentId:  '45402',
internalId:  '101763f7aa3',
customField: 'g.12lf71pu6.332fte5kb8ig0.6rn80'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4455',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '46602',
internalId:  '10176ab5b99',
customField: 'g.12lf71pva.52vnnr9bb0rer.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '46202',
internalId:  '10176a79f86',
customField: 'g.12lf71pv4.1694s72n4ocla.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '47102',
internalId:  '10176b0307a',
customField: 'g.12lf71pvg.5i0cr60al2vd.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '48102',
internalId:  '1017794cfac',
customField: 'g.12lf71pvl.27k9gdv4i5un0.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4455',
internalId:  '',
customField: '20100512-002148'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19431',
internalId:  '',
customField: '20100408-193757'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90601',
internalId:  '',
customField: '20080127-190737'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59801',
internalId:  '',
customField: '20100314-170347'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41901',
internalId:  '',
customField: '20100512-002906'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40101',
internalId:  '',
customField: '20090329-193113'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37528',
internalId:  '',
customField: '20100314-194422'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5043',
internalId:  '',
customField: '20100314-182524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '60601',
internalId:  '',
customField: '20061112-005725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21090',
internalId:  '',
customField: '20041231-100118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20100314-183701'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37582',
internalId:  '',
customField: '20100314-193336'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19458',
internalId:  '',
customField: '20100408-194843'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41628',
internalId:  '',
customField: '20100408-193033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37555',
internalId:  '',
customField: '20100314-194637'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39301',
internalId:  '',
customField: '20091010-123003'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21009',
internalId:  '',
customField: '20060423-175227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '104601',
internalId:  '',
customField: '20090617-231349'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26601',
internalId:  '',
customField: '20100314-184040'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37501',
internalId:  '',
customField: '20100314-194555'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45832',
internalId:  '',
customField: '20061116-232416'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46202',
internalId:  '',
customField: '20060305-204308'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46602',
internalId:  '',
customField: '20050919-230341'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47102',
internalId:  '',
customField: '20060305-204336'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45402',
internalId:  '',
customField: '20050919-231120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48102',
internalId:  '',
customField: '20060305-204527'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2CL0';
var companyName   = 'Josette+Dacosta';
var htmlTitle	  = 'Josette+Dacosta';
var metaKeywords  = 'Pays+Basque+Pais+Vasco+Euskadi+Basque+Country+art+paintings+Donibane+Garazi+Saint+Jean+Pied+de+Port+Ostabat+Santiago+de+Compostela+Basque+art+Basque+paintings+Compostella+artist+Eskual+Herria+emazteen+artea+lart+au+f%C3%A9minin+arte+en+femenino+Izura+Saint+Jacques+de+Compostelle+';
var metaContents  = 'Artist+Josette+Dacosta+paints+the+houses+and+villages+of+the+Basque+Country.+She+lives+and+works+in+Lower+Navarre%2C+in+the+rural+heart+of+Eskual+Herria.+Visit+her+studio+in+Saint+Jean+Pied+de+Port+%2F+Donibane+Garazi++';
					                                                                    
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 */					                                                            
