/* [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','1513',jdecode('ACCUEIL'),jdecode(''),'/1513.html','true',[],''],
	['PAGE','434729',jdecode('*BLOGS*'),jdecode(''),'/434729.html','true',[],''],
	['PAGE','2501',jdecode('Nous+contacter'),jdecode(''),'/2501.html','true',[],''],
	['PAGE','542165',jdecode('Paypal'),jdecode(''),'/542165.html','true',[],''],
	['PAGE','77203',jdecode('BAW'),jdecode(''),'/77203.html','true',[],''],
	['PAGE','589065',jdecode('*ECOLOGIE*'),jdecode(''),'/589065.html','true',[],''],
	['PAGE','79903',jdecode('Nos+Services'),jdecode(''),'/79903/index.html','true',[ 
		['PAGE','130403',jdecode('*EXPERTISE*'),jdecode(''),'/79903/130403.html','true',[],''],
		['PAGE','390563',jdecode('*CONSEIL*'),jdecode(''),'/79903/390563.html','true',[],'']
	],''],
	['PAGE','92403',jdecode('Partenaires'),jdecode(''),'/92403.html','true',[],''],
	['PAGE','77230',jdecode('Valeurs'),jdecode(''),'/77230.html','true',[],''],
	['PAGE','496565',jdecode('*ENGLISH'),jdecode(''),'/496565/index.html','true',[ 
		['PAGE','492265',jdecode('*About+us*'),jdecode(''),'/496565/492265.html','true',[],''],
		['PAGE','170603',jdecode('*Our+Services*'),jdecode(''),'/496565/170603.html','true',[],''],
		['PAGE','168603',jdecode('*Expert+Consulting*'),jdecode(''),'/496565/168603.html','true',[],''],
		['PAGE','545165',jdecode('*Council*'),jdecode(''),'/496565/545165.html','true',[],''],
		['PAGE','169003',jdecode('*Our+Values*'),jdecode(''),'/496565/169003.html','true',[],'']
	],''],
	['PAGE','535765',jdecode('*ESPA%C3%91OL'),jdecode(''),'/535765/index.html','true',[ 
		['PAGE','535786',jdecode('*Quienes+somos%3F'),jdecode(''),'/535765/535786.html','true',[],''],
		['PAGE','535807',jdecode('*Nuestros+Servicios*'),jdecode(''),'/535765/535807.html','true',[],''],
		['PAGE','535828',jdecode('*Consejo+de+Experto*'),jdecode(''),'/535765/535828.html','true',[],''],
		['PAGE','545186',jdecode('*Consejo*'),jdecode(''),'/535765/545186.html','true',[],''],
		['PAGE','535849',jdecode('*Nuestros+Valores*'),jdecode(''),'/535765/535849.html','true',[],'']
	],''],
	['PAGE','73203',jdecode('ALENA+%26+UE++'),jdecode(''),'/73203.html','true',[],''],
	['PAGE','349931',jdecode('**LA+PLANETE**'),jdecode(''),'/349931/index.html','true',[ 
		['PAGE','93703',jdecode('Consultations...%21'),jdecode(''),'/349931/93703.html','true',[],'']
	],''],
	['PAGE','58302',jdecode('*LIVRE+D%26%23x27%3BOR*'),jdecode(''),'/58302/index.html','true',[ 
		['PAGE','58303',jdecode('Entr%C3%A9es+du+Livre'),jdecode(''),'/58302/58303.html','true',[],'']
	],''],
	['PAGE','30603',jdecode('Liens++Utiles++'),jdecode(''),'/30603.html','true',[],''],
	['PAGE','116703',jdecode('Mentions+L%C3%A9gales'),jdecode(''),'/116703.html','true',[],'']];
var siteelementCount=30;
theSitetree.topTemplateName='Bigcity_NYC';
theSitetree.paletteFamily='303050';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='17892';
theSitetree.graphicsetId='13161';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='303050';
var theTemplate={
				name: 			'Bigcity_NYC',
				paletteFamily: 	'303050',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'17892',
				graphicsetId: 	'13161',
				contentColor: 	'FFFFFF',
				contentBGColor: '303050',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1513',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '2501',
internalId:  '12102446',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '535828',
internalId:  '',
customField: '20080929-154834'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '58302',
internalId:  '58302aam010in3ce7',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '58303',
internalId:  '58302aam010in3ce7',
customField: 'action=list'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1513',
internalId:  '5549967',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '434729',
internalId:  '',
customField: '20100722-124310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1513',
internalId:  '',
customField: '20100722-124517'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '545186',
internalId:  '',
customField: '20080930-123639'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '542165',
internalId:  '',
customField: '20090714-175107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '77203',
internalId:  '',
customField: '20100712-180538'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '496565',
internalId:  '',
customField: '20100413-134136'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79903',
internalId:  '',
customField: '20100722-123021'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '170603',
internalId:  '',
customField: '20080929-155102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '92403',
internalId:  '',
customField: '20080518-203509'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '77230',
internalId:  '',
customField: '20061022-235759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '169003',
internalId:  '',
customField: '20080929-102105'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130403',
internalId:  '',
customField: '20080915-131301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '168603',
internalId:  '',
customField: '20080929-155207'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390563',
internalId:  '',
customField: '20091030-161942'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2501',
internalId:  '',
customField: '20100103-221335'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '535849',
internalId:  '',
customField: '20080929-102225'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '434729',
internalId:  '434729',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58302',
internalId:  '',
customField: '20070519-112406'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58303',
internalId:  '',
customField: '20050801-113846'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73203',
internalId:  '',
customField: '20091018-203534'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '589065',
internalId:  '',
customField: '20100213-190233'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '349931',
internalId:  '',
customField: '20071220-134505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93703',
internalId:  '',
customField: '20081213-154627'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30603',
internalId:  '',
customField: '20080518-203709'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '116703',
internalId:  '',
customField: '20070215-000445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '492265',
internalId:  '',
customField: '20091030-172635'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '545165',
internalId:  '',
customField: '20080930-123608'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '535765',
internalId:  '',
customField: '20100413-133724'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '535786',
internalId:  '',
customField: '20091011-172202'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '535807',
internalId:  '',
customField: '20080929-154619'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3CE7';
var companyName   = 'BRAVO%26ASSOCIATES+WORLDWIDE';
var htmlTitle	  = 'BRAVO++ASSOCIATES++WORLDWIDE';
var metaKeywords  = 'COMMUNICATION%2C+CORPORATE+%2CDEVELOPPEMENT+A+LINTERNATIONAL%2C+2.0%2C+RELATIONS+INSTITUTIONNELLES%2C+PERSONAL+BRANDING%2C+DEVELOPPEMENT+DURABLE%2C+UNION+EUROPEENNE%2C+NAFTA%2C+ECOLOGIE%2C+ALENA%2C+FRANCE%2C+MEXIQUE%2C+CANADA%2C+CONSEIL+ONLINE%2C+AVOCAT%2C+NTERNATIONAL%2C+JURIDIQUE%2C+DIPLOMATIE%2C+COMMERCE+INTERNATIONAL';
var metaContents  = 'COMMUNICATION%2C+CORPORATE%2C+2.0%2C+RELATIONS+INSTITUTIONNELLES%2C++DEVELOPPEMENT+DURABLE%2C+DEVELOPPEMENT+A+L+INTERNATIONAL%2C+CONSEIL+INTERNATIONAL%2C+JURIDIQUE';
					                                                                    
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 */					                                                            
