/* [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','10111',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/10111.html','true',[],''],
	['PAGE','4599',jdecode('HOMMES+ET+SOCIETES'),jdecode(''),'/4599/index.html','true',[ 
		['PAGE','4683',jdecode('Sillages+pluriels+...'),jdecode(''),'/4599/4683.html','true',[],''],
		['PAGE','10003',jdecode('Aubes+lointaines...'),jdecode(''),'/4599/10003.html','true',[],''],
		['PAGE','10030',jdecode('Projet+%3A+pauvret%C3%A9s...'),jdecode(''),'/4599/10030.html','true',[],'']
	],''],
	['PAGE','78603',jdecode('C+dans+l%26%23x27%3BAIR+du+TEMPS'),jdecode(''),'/78603/index.html','true',[ 
		['PAGE','78630',jdecode('Homo+connecticus'),jdecode(''),'/78603/78630.html','true',[],''],
		['PAGE','81103',jdecode('Besoins%2Fconsommation'),jdecode(''),'/78603/81103.html','true',[],'']
	],''],
	['PAGE','92501',jdecode('DU+SENS+DE+LA+VIE'),jdecode(''),'/92501.html','true',[],''],
	['PAGE','105001',jdecode('MODERNITE+et+religion'),jdecode(''),'/105001.html','true',[],''],
	['PAGE','4764',jdecode('ECONOMIE+%2F+SOCIETE'),jdecode(''),'/4764/index.html','true',[ 
		['PAGE','4791',jdecode('Economie%2Fhistoire.'),jdecode(''),'/4764/4791.html','true',[],''],
		['PAGE','4818',jdecode('Des+%C3%A9conomistes...'),jdecode(''),'/4764/4818.html','true',[],''],
		['PAGE','4899',jdecode('Autres+travaux.'),jdecode(''),'/4764/4899.html','true',[],'']
	],''],
	['PAGE','106001',jdecode('Economie+h%C3%A9t%C3%A9rodoxe'),jdecode(''),'/106001.html','true',[],''],
	['PAGE','100601',jdecode('ILE+DE+NOIRMOUTIER+'),jdecode(''),'/100601.html','true',[],''],
	['PAGE','29603',jdecode('NOIRMOUTIER-en-l%26%23x27%3B%C3%AEle'),jdecode(''),'/29603.html','true',[],''],
	['PAGE','5034',jdecode('L%26%23x27%3BEpine+en+Noirmoutier'),jdecode(''),'/5034.html','true',[],''],
	['PAGE','83801',jdecode('L%26%23x27%3BEPINE+se+d%C3%A9voile'),jdecode(''),'/83801.html','true',[],''],
	['PAGE','93601',jdecode('ILE+du+PILIER'),jdecode(''),'/93601.html','true',[],''],
	['PAGE','78657',jdecode('Art+ROMAN+%C3%A7%C3%A0+et+l%C3%A0'),jdecode(''),'/78657.html','true',[],''],
	['PAGE','65103',jdecode('Art+ROMAN+en+Poitou'),jdecode(''),'/65103.html','true',[],''],
	['PAGE','90401',jdecode('AUDE+romane'),jdecode(''),'/90401.html','true',[],''],
	['PAGE','108301',jdecode('NIVERNAIS+roman'),jdecode(''),'/108301.html','true',[],''],
	['PAGE','72303',jdecode('PUY+DE+DOME+roman'),jdecode(''),'/72303.html','true',[],''],
	['PAGE','78684',jdecode('TOURAINE+romane'),jdecode(''),'/78684.html','true',[],''],
	['PAGE','77203',jdecode('CLO%C3%8ETRES%2C+ici+et+l%C3%A0'),jdecode(''),'/77203.html','true',[],''],
	['PAGE','77230',jdecode('MODILLONS+romans'),jdecode(''),'/77230.html','true',[],''],
	['PAGE','115501',jdecode('Modillons+bis+NEW'),jdecode(''),'/115501.html','true',[],''],
	['PAGE','95201',jdecode('Expressions+romanes'),jdecode(''),'/95201.html','true',[],''],
	['PAGE','95222',jdecode('IMAGES+romanes'),jdecode(''),'/95222.html','true',[],''],
	['PAGE','103501',jdecode('CORPS+et+art+roman'),jdecode(''),'/103501.html','true',[],''],
	['PAGE','116601',jdecode('SYMBOLES+romans'),jdecode(''),'/116601.html','true',[],''],
	['PAGE','117501',jdecode('GENS+et+art+roman'),jdecode(''),'/117501.html','true',[],''],
	['PAGE','109601',jdecode('Abbaye+la+Graineti%C3%A8re'),jdecode(''),'/109601.html','true',[],''],
	['PAGE','111301',jdecode('Abbaye++Fontenelles'),jdecode(''),'/111301.html','true',[],''],
	['PAGE','112901',jdecode('Abbayes+de+Vend%C3%A9e'),jdecode(''),'/112901.html','true',[],''],
	['PAGE','82603',jdecode('CANTAL+randonn%C3%A9es'),jdecode(''),'/82603.html','true',[],''],
	['PAGE','98001',jdecode('SANCY+randonn%C3%A9es'),jdecode(''),'/98001.html','true',[],''],
	['PAGE','87201',jdecode('BUXEROLLES'),jdecode(''),'/87201.html','true',[],''],
	['PAGE','99201',jdecode('ROC-aux-SORCIERS'),jdecode(''),'/99201.html','true',[],''],
	['PAGE','5115',jdecode('Contact'),jdecode(''),'/5115.html','true',[],''],
	['PAGE','10516',jdecode('Favoris'),jdecode(''),'/10516.html','true',[],'']];
var siteelementCount=43;
theSitetree.topTemplateName='Amaze';
theSitetree.paletteFamily='95895A';
theSitetree.keyvisualId='2435';
theSitetree.keyvisualName='vertrag.jpg';
theSitetree.fontsetId='398';
theSitetree.graphicsetId='446';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='95895A';
var theTemplate={
				name: 			'Amaze',
				paletteFamily: 	'95895A',
				keyvisualId: 	'2435',
				keyvisualName: 	'vertrag.jpg',
				fontsetId: 		'398',
				graphicsetId: 	'446',
				contentColor: 	'000000',
				contentBGColor: '95895A',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'95895A',
				b_color: 		'6D6442',
				c_color: 		'3268E2',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '10111',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20060723-095234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5034',
internalId:  '',
customField: '20061111-094915'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10111',
internalId:  '',
customField: '20081016-150345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83801',
internalId:  '',
customField: '20071020-105933'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10516',
internalId:  '',
customField: '20080102-120108'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4683',
internalId:  '',
customField: '20050215-060301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10003',
internalId:  '',
customField: '20041224-170149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10030',
internalId:  '',
customField: '20041012-103247'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78603',
internalId:  '',
customField: '20070715-184752'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78630',
internalId:  '',
customField: '20070715-225237'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '81103',
internalId:  '',
customField: '20080627-185137'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4764',
internalId:  '',
customField: '20041016-102815'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4791',
internalId:  '',
customField: '20050215-064256'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4818',
internalId:  '',
customField: '20050215-063923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4899',
internalId:  '',
customField: '20041016-102524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29603',
internalId:  '',
customField: '20061111-093901'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78657',
internalId:  '',
customField: '20070714-163450'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65103',
internalId:  '',
customField: '20060722-221403'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72303',
internalId:  '',
customField: '20060722-214235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78684',
internalId:  '',
customField: '20070715-185207'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '77203',
internalId:  '',
customField: '20070714-154445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '77230',
internalId:  '',
customField: '20070714-152759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82603',
internalId:  '',
customField: '20070910-100026'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5115',
internalId:  '',
customField: '20041223-141552'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87201',
internalId:  '',
customField: '20080102-115450'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90401',
internalId:  '',
customField: '20080618-160710'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '92501',
internalId:  '',
customField: '20080902-162333'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93601',
internalId:  '',
customField: '20090327-141015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '95201',
internalId:  '',
customField: '20081016-152308'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '95222',
internalId:  '',
customField: '20081016-150900'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98001',
internalId:  '',
customField: '20081019-173715'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99201',
internalId:  '',
customField: '20081105-104943'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100601',
internalId:  '',
customField: '20081119-101845'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103501',
internalId:  '',
customField: '20090327-140317'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105001',
internalId:  '',
customField: '20090515-142456'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '106001',
internalId:  '',
customField: '20090517-173448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '108301',
internalId:  '',
customField: '20090711-151757'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '109601',
internalId:  '',
customField: '20090908-133312'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111301',
internalId:  '',
customField: '20090908-132837'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112901',
internalId:  '',
customField: '20090926-184157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '115501',
internalId:  '',
customField: '20100130-165504'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '116601',
internalId:  '',
customField: '20100130-171428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '117501',
internalId:  '',
customField: '20100331-160111'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2P4V';
var companyName   = 'REGARDS+SUR+LA+SOCIETE';
var htmlTitle	  = 'Regards+sur+la+societe';
var metaKeywords  = 'Hommes+et+soci%EF%BF%BDt%EF%BF%BDs.+XXe+si%EF%BF%BDcle.+XXIe+si%EF%BF%BDcle.+Femmes.+Hommes.+Mort.Christianisme.+Religions.+Dieu.+B%EF%BF%BDatitudes.Histoire+des+pens%EF%BF%BDes+%EF%BF%BDconomiques.+Economie+et+histoire.Cantillon.+John+Bates+Clark.+Cournot.+Veblen.Noirmoutier+en+l%EF%BF%BDle.+LEpine+en+Noirmoutier.';
var metaContents  = 'Etat+des+lieux+de+la+soci%EF%BF%BDt%EF%BF%BD+fran%EF%BF%BDaise+et+de+la+condition+des+hommes+%EF%BF%BD+laube+du+XXIe+si%EF%BF%BDcle.La+soci%EF%BF%BDt%EF%BF%BD+et+la+religion+sont+en+mutation.Mise+en+perspective+des+relations+histoire+%2F+%EF%BF%BDconomie.Ile+de+Noirmoutier.';
					                                                                    
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 */					                                                            
