/* [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','4559',jdecode('Accueil'),jdecode(''),'/4559.html','true',[],''],
	['PAGE','4616',jdecode('La+g%C3%A9n%C3%A9alogie+successorale'),jdecode(''),'/4616.html','true',[],''],
	['PAGE','14003',jdecode('Le+contrat+de+r%C3%A9v%C3%A9lation'),jdecode(''),'/14003.html','true',[],''],
	['PAGE','4643',jdecode('Au+service+des+notaires'),jdecode(''),'/4643.html','true',[],''],
	['PAGE','4670',jdecode('Au+service+des+particuliers'),jdecode(''),'/4670.html','true',[],''],
	['PAGE','4697',jdecode('Au+service+des+professionnels'),jdecode(''),'/4697.html','true',[],''],
	['PAGE','4724',jdecode('Correspondants'),jdecode(''),'/4724.html','true',[],''],
	['PAGE','4751',jdecode('Contact'),jdecode(''),'/4751/index.html','true',[ 
		['PAGE','5702',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/4751/5702.html','false',[],'']
	],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Collage';
theSitetree.paletteFamily='F9C116';
theSitetree.keyvisualId='2443';
theSitetree.keyvisualName='beratung.jpg';
theSitetree.fontsetId='404';
theSitetree.graphicsetId='459';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Collage',
				paletteFamily: 	'F9C116',
				keyvisualId: 	'2443',
				keyvisualName: 	'beratung.jpg',
				fontsetId: 		'404',
				graphicsetId: 	'459',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'F9C116',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4751',
internalId:  'aam010inenek10014180299',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5702',
internalId:  'aam010inenek10014180299',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4559',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4559',
internalId:  '2915581',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4559',
internalId:  '',
customField: '20100414-221923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4616',
internalId:  '',
customField: '20090616-180703'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4643',
internalId:  '',
customField: '20090616-180602'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4670',
internalId:  '',
customField: '20090616-180721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4697',
internalId:  '',
customField: '20041111-094642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4724',
internalId:  '',
customField: '20050624-140118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14003',
internalId:  '',
customField: '20100414-221655'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4751',
internalId:  '',
customField: '20090616-180807'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5702',
internalId:  '',
customField: '20041107-183225'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INENEK';
var companyName   = 'GUILLEMOT+GENEALOGISTE';
var htmlTitle	  = 'GENEALOGIE+%3A+GUILLEMOT+GENEALOGISTE+-+RECHERCHE+DHERITIERS';
var metaKeywords  = 'h%EF%BF%BDritage+%3B+succession+%3B+notaire+%3B+g%EF%BF%BDn%EF%BF%BDalogie+%3B+g%EF%BF%BDn%EF%BF%BDalogiste+%3B+v%EF%BF%BDrification+%3B+d%EF%BF%BDvolution+successorale+%3B+localisation+%3B+recherche+de+personnes+%3B+xavier+guillemot+%3B+g%EF%BF%BDn%EF%BF%BDalogie+successorale+%3B+personnes+disparues+%3B+xavier+%3B+guillemot+%3B+bretagne+%3B+lorient+%3B+morbihan+%3B+recherche+d+heritiers+%3B+quimper+%3B+andriveau+%3B+coutot-roehrig+%3B+';
var metaContents  = 'Site+d+accueil+et+de+pr%EF%BF%BDsentation+du+cabinet+GUILLEMOT+GENEALOGISTE%2C+g%EF%BF%BDn%EF%BF%BDalogiste+successoral%2C+sp%EF%BF%BDcialis%EF%BF%BD+dans+la+recherche+d+h%EF%BF%BDritiers+en+France+comme+%EF%BF%BD+l+%EF%BF%BDtranger.';
					                                                                    
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 */					                                                            
