/* [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('G%C3%AEte+d%26%23x27%3B%C3%A9tape+Gros+Bois'),jdecode(''),'/82101/82122.html','true',[],''],
		['PAGE','32301',jdecode('G%C3%AEte+d%26%23x27%3B%C3%A9tape+la+Bergerie'),jdecode(''),'/82101/32301.html','true',[],'']
	],''],
	['PAGE','32322',jdecode('Voie+du+Puy'),jdecode(''),'/32322/index.html','true',[ 
		['PAGE','29601',jdecode('GE+Itier'),jdecode(''),'/32322/29601.html','true',[],''],
		['PAGE','83943',jdecode('GE+Auberge+des+2+p%C3%A8lerins'),jdecode(''),'/32322/83943.html','true',[],''],
		['PAGE','83964',jdecode('GE-CH+Ferme+du+Barry+'),jdecode(''),'/32322/83964.html','true',[],''],
		['PAGE','29622',jdecode('GE+L%26%23x27%3BOr%C3%A9e+du+chemin'),jdecode(''),'/32322/29622.html','true',[],''],
		['PAGE','29643',jdecode('GE+Domaine+de+S%C3%A9nos'),jdecode(''),'/32322/29643.html','true',[],''],
		['PAGE','29664',jdecode('GE+Les+Volets+Bleus'),jdecode(''),'/32322/29664.html','true',[],''],
		['PAGE','83985',jdecode('CH+La+Mariotte'),jdecode(''),'/32322/83985.html','true',[],''],
		['PAGE','29685',jdecode('GE-CH+Relais+de+Pasturat'),jdecode(''),'/32322/29685.html','true',[],''],
		['PAGE','84006',jdecode('CH+Les+Salamandres'),jdecode(''),'/32322/84006.html','true',[],''],
		['PAGE','24601',jdecode('GE+de+Poudally'),jdecode(''),'/32322/24601.html','true',[],''],
		['PAGE','29706',jdecode('GE+Les+Figuiers'),jdecode(''),'/32322/29706.html','true',[],''],
		['PAGE','84027',jdecode('GE-CH+La+petite+Lumi%C3%A8re'),jdecode(''),'/32322/84027.html','true',[],''],
		['PAGE','29727',jdecode('GE-CH+Grenier+du+Levant'),jdecode(''),'/32322/29727.html','true',[],''],
		['PAGE','29748',jdecode('GE+de+Castet-Arrouy'),jdecode(''),'/32322/29748.html','true',[],''],
		['PAGE','29790',jdecode('CH+Les+Arroucasses'),jdecode(''),'/32322/29790.html','true',[],''],
		['PAGE','29811',jdecode('GE+Ferme+du+Tollet'),jdecode(''),'/32322/29811.html','true',[],''],
		['PAGE','29832',jdecode('GE+Ferme+du+Soleil'),jdecode(''),'/32322/29832.html','true',[],''],
		['PAGE','29853',jdecode('GE+Le+Relais+du+Haget'),jdecode(''),'/32322/29853.html','true',[],''],
		['PAGE','29874',jdecode('GE+et+CH+L%26%23x27%3BArbladoise'),jdecode(''),'/32322/29874.html','true',[],''],
		['PAGE','29916',jdecode('GE+Maison+des+p%C3%A8lerins'),jdecode(''),'/32322/29916.html','true',[],''],
		['PAGE','84048',jdecode('GE+Hospitalet+St+Jacques'),jdecode(''),'/32322/84048.html','true',[],''],
		['PAGE','29895',jdecode('CH+Ferme+Crabot'),jdecode(''),'/32322/29895.html','true',[],''],
		['PAGE','29937',jdecode('GE+d%26%23x27%3BArzacq'),jdecode(''),'/32322/29937.html','true',[],''],
		['PAGE','29958',jdecode('GE+Brouss%C3%A9'),jdecode(''),'/32322/29958.html','true',[],''],
		['PAGE','29979',jdecode('GE+de+Cambarrat'),jdecode(''),'/32322/29979.html','true',[],''],
		['PAGE','30000',jdecode('CH+Relais+du+Jacquet'),jdecode(''),'/32322/30000.html','true',[],''],
		['PAGE','30021',jdecode('GE+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('GE+le+Temps+d%26%23x27%3Bune+Pause'),jdecode(''),'/32343/84090.html','true',[],''],
		['PAGE','32364',jdecode('GE+La+M%C3%A9gisserie'),jdecode(''),'/32343/32364.html','true',[],''],
		['PAGE','30105',jdecode('CH+Villa+Issiates'),jdecode(''),'/32343/30105.html','true',[],''],
		['PAGE','84111',jdecode('GC+St+Gervais+sur+Mare'),jdecode(''),'/32343/84111.html','true',[],''],
		['PAGE','30126',jdecode('GE+Les+Menhirs'),jdecode(''),'/32343/30126.html','true',[],''],
		['PAGE','84132',jdecode('CH+Les+Tr%C3%A8fles'),jdecode(''),'/32343/84132.html','true',[],''],
		['PAGE','30147',jdecode('GE+La+Passeur-elle'),jdecode(''),'/32343/30147.html','true',[],''],
		['PAGE','30168',jdecode('GE+Le+Grang%C3%A9'),jdecode(''),'/32343/30168.html','true',[],''],
		['PAGE','30189',jdecode('GE+Crois%C3%A9e+St-Cricq'),jdecode(''),'/32343/30189.html','true',[],'']
	],''],
	['PAGE','84153',jdecode('Vers+V%C3%A9zelay+GR+654'),jdecode(''),'/84153.html','true',[],''],
	['PAGE','32385',jdecode('Voie+de+V%C3%A9zelay'),jdecode(''),'/32385/index.html','true',[ 
		['PAGE','30063',jdecode('CH+La+Chouette'),jdecode(''),'/32385/30063.html','true',[],''],
		['PAGE','30084',jdecode('CH+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('CH+La+Jacquerie'),jdecode(''),'/32406/30210.html','true',[],''],
		['PAGE','30231',jdecode('CH+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: '20100203-143047'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20100308-100035'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29664',
internalId:  '',
customField: '20091218-131446'
};
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: '20100203-144948'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17948',
internalId:  '',
customField: '20091219-163226'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24601',
internalId:  '',
customField: '20091218-091732'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29601',
internalId:  '',
customField: '20091218-092107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29622',
internalId:  '',
customField: '20100122-134919'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29643',
internalId:  '',
customField: '20091221-154726'
};
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: '20091219-161704'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29706',
internalId:  '',
customField: '20091218-095705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29727',
internalId:  '',
customField: '20091221-162142'
};
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: '20100121-160404'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29811',
internalId:  '',
customField: '20100122-134751'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29832',
internalId:  '',
customField: '20091219-160246'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29853',
internalId:  '',
customField: '20100203-144242'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29874',
internalId:  '',
customField: '20091219-155357'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29895',
internalId:  '',
customField: '20091219-155917'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29916',
internalId:  '',
customField: '20091221-154443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29937',
internalId:  '',
customField: '20091221-161453'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29958',
internalId:  '',
customField: '20100121-160023'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29979',
internalId:  '',
customField: '20100121-155714'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30000',
internalId:  '',
customField: '20100121-155216'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30021',
internalId:  '',
customField: '20091218-090731'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30042',
internalId:  '',
customField: '20091218-100604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30063',
internalId:  '',
customField: '20091218-093001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30084',
internalId:  '',
customField: '20100121-161935'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30105',
internalId:  '',
customField: '20091219-184221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30126',
internalId:  '',
customField: '20091221-164420'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30147',
internalId:  '',
customField: '20091218-101038'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30168',
internalId:  '',
customField: '20100121-161454'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30189',
internalId:  '',
customField: '20091218-102217'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30210',
internalId:  '',
customField: '20091218-093320'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30231',
internalId:  '',
customField: '20091218-103051'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20100122-144153'
};
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: '20091218-094548'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32385',
internalId:  '',
customField: '20090331-141837'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32406',
internalId:  '',
customField: '20090331-141921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83901',
internalId:  '',
customField: '20100129-113209'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82122',
internalId:  '',
customField: '20100122-144115'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79601',
internalId:  '',
customField: '20100309-105130'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82101',
internalId:  '',
customField: '20100122-145149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84153',
internalId:  '',
customField: '20100129-113058'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83943',
internalId:  '',
customField: '20100122-144921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83964',
internalId:  '',
customField: '20100121-153918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83985',
internalId:  '',
customField: '20100121-153918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84006',
internalId:  '',
customField: '20100121-153918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84027',
internalId:  '',
customField: '20100121-153918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84048',
internalId:  '',
customField: '20100121-153918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84090',
internalId:  '',
customField: '20100121-153918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84111',
internalId:  '',
customField: '20100121-153918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84132',
internalId:  '',
customField: '20100121-153918'
};
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 */					                                                            
