/* [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','401',jdecode('Accueil'),jdecode(''),'/401.html','true',[],''],
	['PAGE','17801',jdecode('Qui+sommes-nous+%3F'),jdecode(''),'/17801.html','true',[],''],
	['PAGE','110301',jdecode('Savoir+vivre+du+p%C3%A8lerin'),jdecode(''),'/110301.html','true',[],''],
	['PAGE','18701',jdecode('Toutes+les+%22Haltes%22'),jdecode(''),'/18701.html','true',[],''],
	['PAGE','82101',jdecode('Cluny+-+Le+Puy'),jdecode(''),'/82101/index.html','true',[ 
		['PAGE','82122',jdecode('ch%C3%A2teau+Gros+Bois'),jdecode(''),'/82101/82122.html','true',[],''],
		['PAGE','32301',jdecode('La+Bergerie'),jdecode(''),'/82101/32301.html','true',[],'']
	],''],
	['PAGE','32322',jdecode('Voie+du+Puy'),jdecode(''),'/32322/index.html','true',[ 
		['PAGE','111101',jdecode('La+Grange'),jdecode(''),'/32322/111101.html','true',[],''],
		['PAGE','83943',jdecode('Auberge+des+2+p%C3%A8lerins'),jdecode(''),'/32322/83943.html','true',[],''],
		['PAGE','83964',jdecode('La+Ferme+du+Barry+'),jdecode(''),'/32322/83964.html','true',[],''],
		['PAGE','143401',jdecode('Les+Gentianes'),jdecode(''),'/32322/143401.html','true',[],''],
		['PAGE','29622',jdecode('L%26%23x27%3BOr%C3%A9e+du+chemin'),jdecode(''),'/32322/29622.html','true',[],''],
		['PAGE','29664',jdecode('Les+Volets+Bleus'),jdecode(''),'/32322/29664.html','true',[],''],
		['PAGE','83985',jdecode('La+Mariotte'),jdecode(''),'/32322/83985.html','true',[],''],
		['PAGE','29685',jdecode('Le+Relais+de+Pasturat'),jdecode(''),'/32322/29685.html','true',[],''],
		['PAGE','24601',jdecode('Poudally'),jdecode(''),'/32322/24601.html','true',[],''],
		['PAGE','143422',jdecode('Les+Etoiles'),jdecode(''),'/32322/143422.html','true',[],''],
		['PAGE','29748',jdecode('G%C3%AEte+de+Castet-Arrouy'),jdecode(''),'/32322/29748.html','true',[],''],
		['PAGE','29790',jdecode('Les+Arroucasses'),jdecode(''),'/32322/29790.html','true',[],''],
		['PAGE','29853',jdecode('Le+Relais+du+Haget'),jdecode(''),'/32322/29853.html','true',[],''],
		['PAGE','29916',jdecode('La+Maison+des+p%C3%A8lerins'),jdecode(''),'/32322/29916.html','true',[],''],
		['PAGE','29895',jdecode('La+Ferme+Crabot'),jdecode(''),'/32322/29895.html','true',[],''],
		['PAGE','29937',jdecode('G%C3%AEte+d%26%23x27%3BArzacq'),jdecode(''),'/32322/29937.html','true',[],''],
		['PAGE','29958',jdecode('Brouss%C3%A9'),jdecode(''),'/32322/29958.html','true',[],''],
		['PAGE','29979',jdecode('Cambarrat'),jdecode(''),'/32322/29979.html','true',[],''],
		['PAGE','30000',jdecode('Le+Relais+du+Jacquet'),jdecode(''),'/32322/30000.html','true',[],''],
		['PAGE','111122',jdecode('Ultr%C3%A9%C3%AFa'),jdecode(''),'/32322/111122.html','true',[],'']
	],''],
	['PAGE','32343',jdecode('Voie+d%26%23x27%3BArles'),jdecode(''),'/32343/index.html','true',[ 
		['PAGE','30147',jdecode('La+Passeur-elle'),jdecode(''),'/32343/30147.html','true',[],''],
		['PAGE','30168',jdecode('Le+Grang%C3%A9'),jdecode(''),'/32343/30168.html','true',[],''],
		['PAGE','143443',jdecode('La+grange+de+Garac'),jdecode(''),'/32343/143443.html','true',[],'']
	],''],
	['PAGE','32385',jdecode('Voie+de+V%C3%A9zelay'),jdecode(''),'/32385/index.html','true',[ 
		['PAGE','84153',jdecode('La+maison+des+randonneurs'),jdecode(''),'/32385/84153.html','true',[],''],
		['PAGE','111290',jdecode('CH+Mme+Dumont'),jdecode(''),'/32385/111290.html','true',[],'']
	],''],
	['PAGE','17906',jdecode('Votre+avis'),jdecode(''),'/17906.html','true',[],''],
	['PAGE','452',jdecode('Liens+utiles'),jdecode(''),'/452.html','true',[],''],
	['PAGE','79601',jdecode('Punaises+de+lits'),jdecode(''),'/79601.html','true',[],''],
	['PAGE','78801',jdecode('Transport+de+sacs+%C3%A0+dos'),jdecode(''),'/78801.html','true',[],''],
	['PAGE','17948',jdecode('Adh%C3%A9sion+aux+Haltes'),jdecode(''),'/17948.html','true',[],''],
	['PAGE','17927',jdecode('Contact'),jdecode(''),'/17927.html','true',[],''],
	['PAGE','72701',jdecode('Mentions+l%C3%A9gales'),jdecode(''),'/72701.html','true',[],'']];
var siteelementCount=42;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='01176B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='155';
theSitetree.graphicsetId='178';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FCFCF4';
var theTemplate={
				name: 			'Natural',
				paletteFamily: 	'01176B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'155',
				graphicsetId: 	'178',
				contentColor: 	'000066',
				contentBGColor: 'FCFCF4',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'01176B',
				b_color: 		'5AA3B7',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20111216-200408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20110506-170403'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29664',
internalId:  '',
customField: '20111108-120610'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '401',
internalId:  '4782904',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17801',
internalId:  '',
customField: '20120102-203100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18701',
internalId:  '',
customField: '20120102-203130'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17948',
internalId:  '',
customField: '20120115-164120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24601',
internalId:  '',
customField: '20120109-124549'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29622',
internalId:  '',
customField: '20111108-120642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '143422',
internalId:  '',
customField: '20120109-144229'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72701',
internalId:  '',
customField: '20120102-203423'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17906',
internalId:  '',
customField: '20111216-084727'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17927',
internalId:  '',
customField: '20110527-153129'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '17906',
internalId:  '4539482',
customField: 'fr:FR:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '17927',
internalId:  '4526220',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29685',
internalId:  '',
customField: '20120109-124113'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29748',
internalId:  '',
customField: '20120109-123245'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78801',
internalId:  '',
customField: '20100812-124152'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29790',
internalId:  '',
customField: '20120109-122708'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29853',
internalId:  '',
customField: '20120109-121916'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29895',
internalId:  '',
customField: '20120109-121204'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29916',
internalId:  '',
customField: '20120109-120838'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29937',
internalId:  '',
customField: '20110317-114223'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29958',
internalId:  '',
customField: '20110317-114247'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29979',
internalId:  '',
customField: '20120109-120601'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30000',
internalId:  '',
customField: '20110317-115235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110301',
internalId:  '',
customField: '20120115-160707'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111101',
internalId:  '',
customField: '20120109-125124'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30147',
internalId:  '',
customField: '20120109-114921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30168',
internalId:  '',
customField: '20120109-115156'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '143443',
internalId:  '',
customField: '20120109-135812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '143401',
internalId:  '',
customField: '20120109-153615'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20120109-113940'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32322',
internalId:  '',
customField: '20120102-203205'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32343',
internalId:  '',
customField: '20120102-203233'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111122',
internalId:  '',
customField: '20120109-115945'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32385',
internalId:  '',
customField: '20120102-195836'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82122',
internalId:  '',
customField: '20120109-113319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79601',
internalId:  '',
customField: '20110211-091838'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82101',
internalId:  '',
customField: '20100122-145149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84153',
internalId:  '',
customField: '20120109-115624'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83943',
internalId:  '',
customField: '20120115-160216'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83964',
internalId:  '',
customField: '20110309-171511'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83985',
internalId:  '',
customField: '20120109-124824'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111290',
internalId:  '',
customField: '20120109-113559'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZ9VI';
var companyName   = 'Association+Les+Haltes+vers+Compostelle';
var htmlTitle	  = 'LES+HALTES+VERS+COMPOSTELLE';
var metaKeywords  = 'g%C3%AEtes+pour+p%C3%A8lerin+voie+du+Puy++g%C3%AEtes+pour+p%C3%A8lerin+voie+d+Arles++Demi-pension+pour+p%C3%A8lerin++H%C3%A9bergement+sur+chemin+de+saint-jacques++Accueil+pour+les+p%C3%A8lerins+de+Compostelle+g%C3%AEtes+pour+p%C3%A8lerins+sur+la+voie+de+V%C3%A9zelay+g%C3%AEtes+pour+p%C3%A8lerins+sur+la+voie+de+Tours+Haltes+vers+Compostelle';
var metaContents  = 'R%C3%A9seau+de+g%C3%AEtes+d+%C3%A9tape+et+chambres+d+h%C3%B4tes+pour+les+p%C3%A8lerins+sur+les+chemins+de+Compostelle.++Liste%2C+descriptifs+et+localisation+de+nos+h%C3%A9bergements+sur+toutes+les+voies.++Notre+Charte+des+Haltes+vise+%C3%A0+conserver+l+esprit+du+chemin+et+%C3%A0+am%C3%A9liorer+vos+conditions+dh%C3%A9bergement.';
					                                                                    
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 */					                                                            

