/* [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','18701',jdecode('Toutes+les+%22Haltes%22'),jdecode(''),'/18701.html','true',[],''],
	['PAGE','83901',jdecode('Gen%C3%A8ve+-+Le+Puy'),jdecode(''),'/83901.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','29601',jdecode('G%C3%AEte+Itier'),jdecode(''),'/32322/29601.html','true',[],''],
		['PAGE','83943',jdecode('L%26%23x27%3BAuberge+des+2+p%C3%A8lerins'),jdecode(''),'/32322/83943.html','true',[],''],
		['PAGE','83964',jdecode('La+Ferme+du+Barry+'),jdecode(''),'/32322/83964.html','true',[],''],
		['PAGE','29622',jdecode('L%26%23x27%3BOr%C3%A9e+du+chemin'),jdecode(''),'/32322/29622.html','true',[],''],
		['PAGE','29643',jdecode('Le+Domaine+de+S%C3%A9nos'),jdecode(''),'/32322/29643.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','84006',jdecode('Les+Salamandres'),jdecode(''),'/32322/84006.html','true',[],''],
		['PAGE','24601',jdecode('Poudally'),jdecode(''),'/32322/24601.html','true',[],''],
		['PAGE','29706',jdecode('Les+Figuiers'),jdecode(''),'/32322/29706.html','true',[],''],
		['PAGE','84027',jdecode('La+petite+Lumi%C3%A8re'),jdecode(''),'/32322/84027.html','true',[],''],
		['PAGE','29727',jdecode('Le+Grenier+du+Levant'),jdecode(''),'/32322/29727.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','29811',jdecode('La+Ferme+du+Tollet'),jdecode(''),'/32322/29811.html','true',[],''],
		['PAGE','29832',jdecode('La+Ferme+du+Soleil'),jdecode(''),'/32322/29832.html','true',[],''],
		['PAGE','29853',jdecode('Le+Relais+du+Haget'),jdecode(''),'/32322/29853.html','true',[],''],
		['PAGE','29874',jdecode('L%26%23x27%3BArbladoise'),jdecode(''),'/32322/29874.html','true',[],''],
		['PAGE','29916',jdecode('La+Maison+des+p%C3%A8lerins'),jdecode(''),'/32322/29916.html','true',[],''],
		['PAGE','84048',jdecode('Hospitalet+St+Jacques'),jdecode(''),'/32322/84048.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','30021',jdecode('La+Ferme+Bohot%C3%A9guia'),jdecode(''),'/32322/30021.html','true',[],''],
		['PAGE','30042',jdecode('Refuge+Orisson'),jdecode(''),'/32322/30042.html','true',[],'']
	],''],
	['PAGE','32343',jdecode('Voie+d%26%23x27%3BArles'),jdecode(''),'/32343/index.html','true',[ 
		['PAGE','84090',jdecode('Le+Temps+d%26%23x27%3Bune+Pause'),jdecode(''),'/32343/84090.html','true',[],''],
		['PAGE','32364',jdecode('La+M%C3%A9gisserie'),jdecode(''),'/32343/32364.html','true',[],''],
		['PAGE','30105',jdecode('Villa+Issiates'),jdecode(''),'/32343/30105.html','true',[],''],
		['PAGE','84111',jdecode('G%C3%AEte+St+Gervais+sur+Mare'),jdecode(''),'/32343/84111.html','true',[],''],
		['PAGE','30126',jdecode('L%26%23x27%3B%C3%A9tape+des+Menhirs'),jdecode(''),'/32343/30126.html','true',[],''],
		['PAGE','84132',jdecode('Les+Tr%C3%A8fles'),jdecode(''),'/32343/84132.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','30189',jdecode('La+Crois%C3%A9e+St-Cricq'),jdecode(''),'/32343/30189.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','30063',jdecode('La+Chouette'),jdecode(''),'/32385/30063.html','true',[],''],
		['PAGE','30084',jdecode('A+Y%C3%A9r%C3%A9mie'),jdecode(''),'/32385/30084.html','true',[],'']
	],''],
	['PAGE','32406',jdecode('Voie+de+Tours'),jdecode(''),'/32406/index.html','true',[ 
		['PAGE','30210',jdecode('La+Jacquerie'),jdecode(''),'/32406/30210.html','true',[],''],
		['PAGE','30231',jdecode('Manoir+de+Tireveste'),jdecode(''),'/32406/30231.html','true',[],'']
	],''],
	['PAGE','17906',jdecode('Votre+avis'),jdecode(''),'/17906.html','true',[],''],
	['PAGE','17927',jdecode('Contact'),jdecode(''),'/17927.html','true',[],''],
	['PAGE','452',jdecode('Liens+utiles'),jdecode(''),'/452.html','true',[],''],
	['PAGE','79601',jdecode('Stop+aux+punaises+de+lits'),jdecode(''),'/79601.html','true',[],''],
	['PAGE','78801',jdecode('Transport+de+bagages+'),jdecode(''),'/78801.html','true',[],''],
	['PAGE','17948',jdecode('Adh%C3%A9sion+aux+Haltes'),jdecode(''),'/17948.html','true',[],''],
	['PAGE','72701',jdecode('Mentions+l%C3%A9gales'),jdecode(''),'/72701.html','true',[],'']];
var siteelementCount=60;
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: '20100309-140229'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20100624-153857'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29664',
internalId:  '',
customField: '20100315-174610'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '401',
internalId:  '4782904',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17801',
internalId:  '',
customField: '20100217-111840'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18701',
internalId:  '',
customField: '20100315-155735'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17948',
internalId:  '',
customField: '20091219-163226'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24601',
internalId:  '',
customField: '20100315-174819'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29601',
internalId:  '',
customField: '20100315-173952'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29622',
internalId:  '',
customField: '20100315-174452'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29643',
internalId:  '',
customField: '20100315-174532'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72701',
internalId:  '',
customField: '20090825-173859'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17906',
internalId:  '',
customField: '20091219-165723'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17927',
internalId:  '',
customField: '20090222-093827'
};
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: '20100317-104337'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29706',
internalId:  '',
customField: '20100315-174930'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29727',
internalId:  '',
customField: '20100511-110441'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29748',
internalId:  '',
customField: '20091221-160123'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78801',
internalId:  '',
customField: '20100204-182645'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29790',
internalId:  '',
customField: '20100315-175226'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29811',
internalId:  '',
customField: '20100315-175300'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29832',
internalId:  '',
customField: '20100315-175456'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29853',
internalId:  '',
customField: '20100315-175531'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29874',
internalId:  '',
customField: '20100403-101556'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29895',
internalId:  '',
customField: '20100315-175922'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29916',
internalId:  '',
customField: '20100315-175732'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29937',
internalId:  '',
customField: '20091221-161453'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29958',
internalId:  '',
customField: '20100315-180105'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29979',
internalId:  '',
customField: '20100315-180154'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30000',
internalId:  '',
customField: '20100315-180251'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30021',
internalId:  '',
customField: '20100315-180332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30042',
internalId:  '',
customField: '20100315-180408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30063',
internalId:  '',
customField: '20100315-192126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30084',
internalId:  '',
customField: '20100315-192227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30105',
internalId:  '',
customField: '20100315-183300'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30126',
internalId:  '',
customField: '20100315-183343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30147',
internalId:  '',
customField: '20100315-185206'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30168',
internalId:  '',
customField: '20100315-185542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30189',
internalId:  '',
customField: '20100315-185729'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30210',
internalId:  '',
customField: '20100315-192334'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30231',
internalId:  '',
customField: '20100315-192422'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20100315-192647'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32322',
internalId:  '',
customField: '20100129-112232'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32343',
internalId:  '',
customField: '20100203-142825'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32364',
internalId:  '',
customField: '20100315-183225'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32385',
internalId:  '',
customField: '20100315-155400'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32406',
internalId:  '',
customField: '20090331-141921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83901',
internalId:  '',
customField: '20100315-192456'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82122',
internalId:  '',
customField: '20100315-192605'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79601',
internalId:  '',
customField: '20100720-170702'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82101',
internalId:  '',
customField: '20100122-145149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84153',
internalId:  '',
customField: '20100315-192027'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83943',
internalId:  '',
customField: '20100315-174343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83964',
internalId:  '',
customField: '20100315-210141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83985',
internalId:  '',
customField: '20100315-163024'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84006',
internalId:  '',
customField: '20100315-164356'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84027',
internalId:  '',
customField: '20100315-172802'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84048',
internalId:  '',
customField: '20100528-141254'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84090',
internalId:  '',
customField: '20100315-183126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84111',
internalId:  '',
customField: '20100315-203935'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84132',
internalId:  '',
customField: '20100702-090316'
};
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 */					                                                            
