/* [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','4560',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4560.html','true',[],''],
	['PAGE','22003',jdecode('AVERTISSEMENT'),jdecode(''),'/22003.html','true',[],''],
	['PAGE','24403',jdecode('VOEUX++2006'),jdecode(''),'/24403.html','true',[],''],
	['PAGE','4617',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/4617/index.html','true',[ 
		['PAGE','4644',jdecode('Notre+association'),jdecode(''),'/4617/4644.html','true',[],''],
		['PAGE','18303',jdecode('ADHESION'),jdecode(''),'/4617/18303.html','true',[],''],
		['PAGE','19203',jdecode('D%C3%A9ontologie'),jdecode(''),'/4617/19203.html','true',[],''],
		['PAGE','19230',jdecode('Droits+et+Obligations'),jdecode(''),'/4617/19230.html','true',[],''],
		['PAGE','4671',jdecode('Nos+Amis'),jdecode(''),'/4617/4671.html','true',[],'']
	],''],
	['PAGE','9803',jdecode('FORUM'),jdecode(''),'/9803.html','true',[],''],
	['PAGE','4698',jdecode('Missions+et+Formations'),jdecode(''),'/4698/index.html','true',[ 
		['PAGE','4725',jdecode('Nos+missions'),jdecode(''),'/4698/4725.html','true',[],''],
		['PAGE','4752',jdecode('Nos+formations'),jdecode(''),'/4698/4752.html','true',[],''],
		['PAGE','4779',jdecode('Activit%C3%A9s'),jdecode(''),'/4698/4779.html','true',[],'']
	],''],
	['PAGE','4806',jdecode('Notre+m%C3%A9tier'),jdecode(''),'/4806.html','true',[],''],
	['PAGE','23503',jdecode('Sondages'),jdecode(''),'/23503/index.html','true',[ 
		['PAGE','5049',jdecode('Sondage+Statut'),jdecode(''),'/23503/5049.html','true',[],''],
		['PAGE','23203',jdecode('Sondage+PM'),jdecode(''),'/23503/23203.html','true',[],''],
		['PAGE','23230',jdecode('Sondage+PN+ou+GN'),jdecode(''),'/23503/23230.html','true',[],'']
	],''],
	['PAGE','17203',jdecode('Quelques+applications'),jdecode(''),'/17203.html','true',[],''],
	['PAGE','4833',jdecode('Actualit%C3%A9s'),jdecode(''),'/4833/index.html','true',[ 
		['PAGE','4860',jdecode('Nouveaut%C3%A9s'),jdecode(''),'/4833/4860.html','true',[],''],
		['PAGE','4887',jdecode('Agenda'),jdecode(''),'/4833/4887.html','true',[],''],
		['PAGE','4914',jdecode('R%C3%A9f%C3%A9rences'),jdecode(''),'/4833/4914.html','true',[],'']
	],''],
	['PAGE','7302',jdecode('album+photos'),jdecode(''),'/7302.html','true',[],''],
	['PAGE','4941',jdecode('Les+sites+%C3%A0+voir'),jdecode(''),'/4941.html','true',[],''],
	['PAGE','4968',jdecode('Contact'),jdecode(''),'/4968/index.html','true',[ 
		['PAGE','12786',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/4968/12786.html','false',[],''],
		['PAGE','4995',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone'),jdecode(''),'/4968/4995/index.html','true',[ 
			['PAGE','11002',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone+%28volgende+pagina%29'),jdecode(''),'/4968/4995/11002.html','false',[],'']
		],''],
		['PAGE','5022',jdecode('Comment+nous+trouver'),jdecode(''),'/4968/5022.html','true',[],'']
	],''],
	['PAGE','12702',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/12702/index.html','true',[ 
		['PAGE','12703',jdecode('Entr%C3%A9es'),jdecode(''),'/12702/12703.html','true',[],'']
	],'']];
var siteelementCount=33;
theSitetree.topTemplateName='Atmosphere';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='127';
theSitetree.keyvisualName='internet.jpg';
theSitetree.fontsetId='7';
theSitetree.graphicsetId='9';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Atmosphere',
				paletteFamily: 	'003366',
				keyvisualId: 	'127',
				keyvisualName: 	'internet.jpg',
				fontsetId: 		'7',
				graphicsetId: 	'9',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'003366',
				b_color: 		'0066CC',
				c_color: 		'000000',
				d_color: 		'',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1002']={
webappId:    '1002',
documentId:  '12702',
internalId:  '12702aam010inelv2',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '12703',
internalId:  '12702aam010inelv2',
customField: 'action=list'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '7302',
internalId:  '1027df72661',
customField: 'g.12lfm289q.7jfqgbcofipf.6rn80'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4560',
internalId:  '4342801',
customField: '1501'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4968',
internalId:  'aam010inelv210289f679f5',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '12786',
internalId:  'aam010inelv210289f679f5',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4995',
internalId:  'aam010inelv21027f382d5b',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '11002',
internalId:  'aam010inelv21027f382d5b',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4560',
internalId:  '1006',
customField: '1006'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '5049',
internalId:  '102af9ea597.f110fca7',
customField: 'fr:FR:'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '23203',
internalId:  '107ffd61a5e.bd05fb2b',
customField: 'fr:FR:'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '23230',
internalId:  '107ffd71db4.2dc25e31',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4560',
internalId:  '',
customField: '20051128-091532'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22003',
internalId:  '',
customField: '20051128-091502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7302',
internalId:  '',
customField: '20051128-091626'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INELV2';
var companyName   = 'M%EF%BF%BDdiation-S%EF%BF%BDcurisation';
var htmlTitle	  = 'mediation-france';
var metaKeywords  = 'mediation++a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v++prevention+correspondant+asvp+securite+police++';
var metaContents  = 'mediation-securisation+mediation+prevention+correspondant+de+nuit';
					                                                                    
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 */					                                                            
