/* [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','4597',jdecode('Accueil'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','4681',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/4681.html','true',[],''],
	['PAGE','4708',jdecode('Domaines+d%26%23x27%3Bintervention'),jdecode(''),'/4708/index.html','true',[ 
		['PAGE','4735',jdecode('Droit+Immobilier'),jdecode(''),'/4708/4735.html','true',[],''],
		['PAGE','4762',jdecode('Droit+des+affaires'),jdecode(''),'/4708/4762.html','true',[],'']
	],''],
	['PAGE','4816',jdecode('Nos+Prestations'),jdecode(''),'/4816/index.html','true',[ 
		['PAGE','4843',jdecode('Pr%C3%A9+contentieux+et+contentieux'),jdecode(''),'/4816/4843.html','true',[],''],
		['PAGE','4870',jdecode('Conseil'),jdecode(''),'/4816/4870.html','true',[],''],
		['PAGE','4897',jdecode('Formation'),jdecode(''),'/4816/4897.html','true',[],'']
	],''],
	['PAGE','4924',jdecode('Honoraires'),jdecode(''),'/4924.html','true',[],''],
	['PAGE','10802',jdecode('Publications+Livres'),jdecode(''),'/10802.html','true',[],''],
	['PAGE','5059',jdecode('Contact'),jdecode(''),'/5059.html','true',[],''],
	['PAGE','13102',jdecode('Acc%C3%A8s'),jdecode(''),'/13102.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Moonflight';
theSitetree.paletteFamily='5B7A93';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='445';
theSitetree.graphicsetId='499';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Moonflight',
				paletteFamily: 	'5B7A93',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'445',
				graphicsetId: 	'499',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'2C5574',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4597',
internalId:  '9050075',
customField: '1501'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '13102',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20070215-124905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4681',
internalId:  '',
customField: '20070128-113924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4708',
internalId:  '',
customField: '20070212-123257'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4924',
internalId:  '',
customField: '20070128-135634'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5059',
internalId:  '',
customField: '20070104-113835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13102',
internalId:  '',
customField: '20070128-151728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4816',
internalId:  '',
customField: '20070128-131703'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4843',
internalId:  '',
customField: '20070128-131904'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4762',
internalId:  '',
customField: '20070128-125653'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INV74Y';
var companyName   = 'Cabinet+NEU+JANICKI++++++++++++++Avocats+%EF%BF%BD+la+Cour+d%27appel+de+Paris';
var htmlTitle	  = 'Cabinet+NEU-JANICKI+Avocat+%C3%A0+la+Cour+de+Paris';
var metaKeywords  = 'Avocat%2C+paris%2C+avocat+immobilier%2C+baux%2C+locataire%2C+propri%EF%BF%BDtaire%2C+bailleur%2C+Droit+immobilier%2C+droit+des+affaires%2C+baux+%28baux+dhabitation%2C+location+nue%2C+location+meubl%EF%BF%BDe%2C+propri%EF%BF%BDtaire%2C+locataire%2C+buax+commerciaux%2C+impay%EF%BF%BDs%29%2C+copropri%EF%BF%BDt%EF%BF%BD+%28syndic%2C+copropri%EF%BF%BDtaire%2C+assembl%EF%BF%BDe+g%EF%BF%BDn%EF%BF%BDrale%29%2C+construction';
var metaContents  = 'Ma%C3%AEtre+Gabriel+NEU-JANICKI%2C+avocat%2C+avocat%2C+paris%2C+avocat+paris+immobilier%2C+Avocat+sp%C3%A9cialis%C3%A9+en+droit+Immobilier%3A+baux+%28baux+dhabitation%2C+location+nue%2C+location+meubl%C3%A9e%2C+propri%C3%A9taire%2C+locataire%2C+baux+commerciaux%2C+impay%C3%A9s%29%2C+copropri%C3%A9t%C3%A9+%28syndic%2C+copropri%C3%A9taire%2C+assembl%C3%A9e+g%C3%A9n%C3%A9rale%29%2C+construction.';
					                                                                    
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 */					                                                            
