/* [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('Tandem+c%26%23x27%3Best+quoi+%3F'),jdecode(''),'/401/index.html','true',[ 
		['PAGE','4601',jdecode('Historique'),jdecode(''),'/401/4601.html','true',[],''],
		['PAGE','4622',jdecode('Une+%C3%A9quipe'),jdecode(''),'/401/4622.html','true',[],''],
		['PAGE','4643',jdecode('Un+parcours'),jdecode(''),'/401/4643.html','true',[],''],
		['PAGE','4664',jdecode('Des+th%C3%A8mes'),jdecode(''),'/401/4664.html','true',[],'']
	],''],
	['PAGE','4685',jdecode('Pour+qui+%3F'),jdecode(''),'/4685/index.html','true',[ 
		['PAGE','4706',jdecode('Couple+mari%C3%A9+ou+non'),jdecode(''),'/4685/4706.html','true',[],''],
		['PAGE','4727',jdecode('Couple+animateur'),jdecode(''),'/4685/4727.html','true',[],''],
		['PAGE','4748',jdecode('Pr%C3%AAtre'),jdecode(''),'/4685/4748.html','true',[],''],
		['PAGE','4769',jdecode('Equipe+Coordinatrice+'),jdecode(''),'/4685/4769.html','true',[],'']
	],''],
	['PAGE','4790',jdecode('Lancer+%26+d%C3%A9marrer'),jdecode(''),'/4790/index.html','true',[ 
		['PAGE','4832',jdecode('Fiche+d%26%23x27%3Binscription'),jdecode(''),'/4790/4832.html','true',[],'']
	],''],
	['PAGE','4853',jdecode('L%26%23x27%3BApr%C3%A8s+Tandem'),jdecode(''),'/4853/index.html','true',[ 
		['PAGE','4874',jdecode('T%C3%A9moignages'),jdecode(''),'/4853/4874.html','true',[],''],
		['PAGE','4895',jdecode('Propositions'),jdecode(''),'/4853/4895.html','true',[],'']
	],''],
	['PAGE','4916',jdecode('Documents+et+%C3%A9chos'),jdecode(''),'/4916/index.html','true',[ 
		['PAGE','30601',jdecode('Rencontres+animateurs'),jdecode(''),'/4916/30601.html','true',[],''],
		['PAGE','4937',jdecode('M%C3%A9dia+presse'),jdecode(''),'/4916/4937.html','true',[],''],
		['PAGE','4979',jdecode('T%C3%A9moignages'),jdecode(''),'/4916/4979.html','true',[],'']
	],''],
	['PAGE','5000',jdecode('Contact+%26+Liens'),jdecode(''),'/5000.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Atmosphere';
theSitetree.paletteFamily='FF6600';
theSitetree.keyvisualId='137';
theSitetree.keyvisualName='ober1.jpg';
theSitetree.fontsetId='8';
theSitetree.graphicsetId='8';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Atmosphere',
				paletteFamily: 	'FF6600',
				keyvisualId: 	'137',
				keyvisualName: 	'ober1.jpg',
				fontsetId: 		'8',
				graphicsetId: 	'8',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FF6600',
				b_color: 		'FF9900',
				c_color: 		'000000',
				d_color: 		'',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20110927-160216'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4685',
internalId:  '',
customField: '20090515-093125'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4790',
internalId:  '',
customField: '20090120-110455'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5000',
internalId:  '',
customField: '20111017-151931'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4916',
internalId:  '',
customField: '20110927-155700'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4853',
internalId:  '',
customField: '20081230-103222'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4601',
internalId:  '',
customField: '20090108-093055'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4622',
internalId:  '',
customField: '20090515-092320'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4643',
internalId:  '',
customField: '20090515-092943'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4664',
internalId:  '',
customField: '20110323-100736'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4874',
internalId:  '',
customField: '20090702-104940'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5000',
internalId:  '4378396',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4937',
internalId:  '',
customField: '20110927-153350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4832',
internalId:  '',
customField: '20110628-165846'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4769',
internalId:  '',
customField: '20110428-094219'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4748',
internalId:  '',
customField: '20090702-104324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4727',
internalId:  '',
customField: '20110428-092742'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4706',
internalId:  '',
customField: '20090515-095529'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4895',
internalId:  '',
customField: '20090515-145314'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4979',
internalId:  '',
customField: '20110927-155134'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30601',
internalId:  '',
customField: '20110526-164733'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZ9CW';
var companyName   = 'Equipes+Tandem';
var htmlTitle	  = 'Equipes+Tandem';
var metaKeywords  = 'equipestandem%2Ccouple%2C+r%C3%A9flexion%2C+th%C3%A8mes%2C+%C3%A9change%2C+%C3%A9quipe%2C+accompagnement%2C+%C3%A9quipes+notre-dame%2C+dioc%C3%A8ses%2C+parcours';
var metaContents  = 'Les+Equipes+Tandem+%3A+un+parcours+%C3%A0+vivre+en+couple+et+en+%C3%A9quipe+pour+r%C3%A9fl%C3%A9chir%2C+construire%2C+faire+route+ensemble+plus+loin.';
					                                                                    
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 */					                                                            

