/* [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','369562',jdecode('ACCUEIL'),jdecode(''),'/369562/index.html','true',[ 
		['PAGE','349162',jdecode('Qui+sommes+nous+%3F'),jdecode(''),'/369562/349162.html','true',[],''],
		['PAGE','290840',jdecode('Adh%C3%A9rer+-+S%26%23x27%3Binscrire'),jdecode(''),'/369562/290840.html','true',[],''],
		['PAGE','5716',jdecode('Contact'),jdecode(''),'/369562/5716.html','true',[],''],
		['PAGE','7302',jdecode('Acc%C3%A8s'),jdecode(''),'/369562/7302.html','true',[],''],
		['PAGE','7002',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/369562/7002.html','false',[],'']
	],''],
	['PAGE','369613',jdecode('Activit%C3%A9s+JEUNESSE'),jdecode(''),'/369613/index.html','true',[ 
		['PAGE','195840',jdecode('Parents+%26+B%C3%A9b%C3%A9s'),jdecode(''),'/369613/195840.html','true',[],''],
		['PAGE','5311',jdecode('3+-+6+ans'),jdecode(''),'/369613/5311.html','true',[],''],
		['PAGE','5338',jdecode('7+-+9+ans'),jdecode(''),'/369613/5338.html','true',[],''],
		['PAGE','322662',jdecode('10+-+12+ans'),jdecode(''),'/369613/322662.html','true',[],''],
		['PAGE','180540',jdecode('13+-+17+ans'),jdecode(''),'/369613/180540.html','true',[],''],
		['PAGE','322683',jdecode('Color+Toi+'),jdecode(''),'/369613/322683.html','true',[],''],
		['PAGE','332125',jdecode('Les+Quartiers'),jdecode(''),'/369613/332125.html','true',[],''],
		['PAGE','90857',jdecode('Aide+aux+Devoirs'),jdecode(''),'/369613/90857.html','true',[],'']
	],''],
	['PAGE','5581',jdecode('ESPACE+CREATIF'),jdecode(''),'/5581.html','true',[],''],
	['PAGE','280340',jdecode('PARTIR%2C+VOYAGER'),jdecode(''),'/280340.html','true',[],''],
	['PAGE','5473',jdecode('RANDONNEES'),jdecode(''),'/5473.html','true',[],''],
	['PAGE','5446',jdecode('L%26%23x27%3BEQUIPE'),jdecode(''),'/5446.html','true',[],''],
	['PAGE','323762',jdecode('ASSOCIATIONS'),jdecode(''),'/323762.html','true',[],''],
	['PAGE','452762',jdecode('BILAN+2OO9'),jdecode(''),'/452762.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Simple';
theSitetree.paletteFamily='F9FADA';
theSitetree.keyvisualId='2579';
theSitetree.keyvisualName='transport.jpg';
theSitetree.fontsetId='10754';
theSitetree.graphicsetId='10460';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='F9FADA';
var theTemplate={
				name: 			'Simple',
				paletteFamily: 	'F9FADA',
				keyvisualId: 	'2579',
				keyvisualName: 	'transport.jpg',
				fontsetId: 		'10754',
				graphicsetId: 	'10460',
				contentColor: 	'A00000',
				contentBGColor: 'F9FADA',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'857157',
				e_color: 		'AAAAAA',
				f_color: 		'817E7E',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5716',
internalId:  'aam010inetmq10138e4feba',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '7002',
internalId:  'aam010inetmq10138e4feba',
customField: 'followUp'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '7302',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '369562',
internalId:  '3611048',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '280340',
internalId:  '',
customField: '20100907-111712'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90857',
internalId:  '',
customField: '20100813-001456'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '195840',
internalId:  '',
customField: '20100702-170951'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5311',
internalId:  '',
customField: '20100702-171331'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5338',
internalId:  '',
customField: '20100702-171644'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180540',
internalId:  '',
customField: '20100813-001304'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5446',
internalId:  '',
customField: '20100813-001735'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5473',
internalId:  '',
customField: '20100813-003403'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5581',
internalId:  '',
customField: '20070330-142739'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '332125',
internalId:  '',
customField: '20090113-223600'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452762',
internalId:  '',
customField: '20100519-004707'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '369562',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5716',
internalId:  '',
customField: '20090602-230821'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7002',
internalId:  '',
customField: '20050103-150526'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7302',
internalId:  '',
customField: '20050103-153546'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '369562',
internalId:  '',
customField: '20100813-010827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '349162',
internalId:  '',
customField: '20100108-005028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '290840',
internalId:  '',
customField: '20090702-161540'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '322662',
internalId:  '',
customField: '20100702-171826'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '322683',
internalId:  '',
customField: '20090113-223058'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '323762',
internalId:  '',
customField: '20100813-003759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '369613',
internalId:  '',
customField: '20100108-001903'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INETMQ';
var companyName   = 'Centre+social+MARIA+PIA';
var htmlTitle	  = 'Biarritz+Association+Centre+Social+Maria+Pia';
var metaKeywords  = 'Centre+social%2C+accueil%2C+biarritz%2C+centre+inter+quartiers%2C+animation%2C+loisirs%2C+activites%2C+ateliers%2C+convivialite%2C+animation+de+quartiers%2C+conseils+de+quartiers%2C+vie+des+biarrots%2C+tous+publics%2C+ecoute%2C+projets%2C+elaboration+de+projets%2C+petite+enfance%2C+enfants+de+3+a+6+ans%2C+atelier+des+petits%2C+enfance%2C+enfants+de+7+a+9+ans%2C+les+mercredises%2C+ateliers+enfants%2C+aide+aux+devoirs%2C+soutien+scolaire%2C+adolescents%2C+espace+jeunes%2C+accompagnement+de+projets%2C+echanges+culturels%2C+jumelage%2C+chantiers+jeunes%2C+prevention+primaire%2C+sorties+familles%2C+sorties+de+groupes%2C+loisirs+adultes%2C+ateliers+creatifs%2C+couture%2C+patchwork%2C+cuisine%2C+o+d%C3%A9lices%2C+ateliers+cuisine%2C+peinture+sur+porcelaine%2C+randonnees+pedestres%2C+partenariat+associatif%2C+coulisses+du+spectacle%2C+cours+de+theatre%2C+decouverte%2C+accompagnement%2C+suivi+des+familles%2C+reseau+appui+parents%2C+inter+generation%2C+partenariat+associatif%2C+retraites+actifs%2C+aide+au+budget%2C+animateurs+diplom%C3%A9s%2C+conseillere+en+economie+sociale+et+familiale%2C+educatrice+specialisee%2C+siege+social+pour+associations%2C+permanences+associatives%2C+permanences+administratives%2C+association+AGIR+ABCD%2C+association+raisolune%2C+echange+de+savoirs%2C+BAB+Alzheimer%2C+relais+assistantes+maternelles%2C+creche+familiale%2C+chorale+vocalys%2C+association+espace+rencontre+AER+64%2C+mediation+familiale%2C++association+des+poly+arthritiques%2C+sorties+ski%2C+jeux%2C+decouverte+biarritz%2C+sensibilisation+environnement%2C+aide+aux+devoirs%2C+accompagnement+scolaire%2C++atelier+expression%2C+marionnettes%2C+papier+recycle%2C+10+-+12+ans%2C+pre+adolescents%2C++maison+denfants+saint+vincent+de+paul%2C+ecole+de+cirque+ballabulle%2C+petits+debrouillards%2C+camps%2C+mini+s%C3%A9jours%2C+centres+de+vacances%2C+surf%2C+ferme+pedagogique%2C+ludotheque%2C+ludotheque+de+la+cote+basque%2C+la+ludo+64%2C+junior+association%2C+color+toi%2C+vacances+enfants%2C+haut+comme+trois+pommes%2C+b%EF%BF%BDb%EF%BF%BDs%2C+mamans+isolees%2C+maternite%2C+parentalite%2C+rap%2C+benevolat%2C+aide+budgetaire%2C+conseils+nutrition%2C+alimentation%2C+epicerie+sociale%2C+elgarri%2C+zuekin%2C+ludotheque%2C+la+ludo64%2C+jouets%2C+jeux%2C+LGP%2C+lesbian+et+gay+pride%2C+hommosexualit%C3%A9%2C+centre+de+loisirs+mouriscot%2C+caf%2C+aide+aux+temps+libres%2C+sud+ouest%2C+aquitaine%2C+pyr%C3%A9n%C3%A9es+atlantique%2C+fabrication+marionnettes%2C+spectacle+de+marionnettes%2C+carnaval+des+enfants%2C+atabal%2C+noel++++++++';
var metaContents  = 'Le+Centre+Social+Maria+Pia+est+une+association+loi+1901+situ%EF%BF%BDe+%EF%BF%BD+Biarritz+et++ayant+pour+objectifs+laccueil%2C+lanimation+interg%EF%BF%BDn%EF%BF%BDrationnelle+et+inter+quartiers.+L%EF%BF%BDcoute+des+biarrots%2C+l%EF%BF%BDmergence+de+projets+et+leur+aboutissement+sont+les+priorit%EF%BF%BDs+de+l%EF%BF%BDquipe+de+Maria+Pia.+Ateliers+divers+et+loisirs+sont+autant+de+moyens+de+cr%EF%BF%BDer+et+dentretenir+la+convivialit%EF%BF%BD+qui+simpose+en+un+tel+lieu.';
					                                                                    
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 */					                                                            
