/* [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','4598',jdecode('Accueil'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','11201',jdecode('L%26%23x27%3B%C3%A9quipe'),jdecode(''),'/11201/index.html','true',[ 
		['PAGE','13001',jdecode('Fran%C3%A7ois+Lhomme'),jdecode(''),'/11201/13001.html','true',[],''],
		['PAGE','13028',jdecode('Peter+Delbeke'),jdecode(''),'/11201/13028.html','true',[],''],
		['PAGE','13055',jdecode('Eric+Delaye'),jdecode(''),'/11201/13055.html','true',[],'']
	],''],
	['PAGE','9073',jdecode('Services'),jdecode(''),'/9073/index.html','true',[ 
		['PAGE','11228',jdecode('Risques'),jdecode(''),'/9073/11228.html','true',[],''],
		['PAGE','11255',jdecode('Contr%C3%B4le+Interne'),jdecode(''),'/9073/11255.html','true',[],''],
		['PAGE','11282',jdecode('Fraude+Corruption'),jdecode(''),'/9073/11282.html','true',[],''],
		['PAGE','11309',jdecode('Syst.+d%26%23x27%3BInformation'),jdecode(''),'/9073/11309.html','true',[],''],
		['PAGE','11336',jdecode('Int.+%C3%A9conomique'),jdecode(''),'/9073/11336.html','true',[],''],
		['PAGE','15355',jdecode('Crises'),jdecode(''),'/9073/15355.html','true',[],''],
		['PAGE','11363',jdecode('Prospective'),jdecode(''),'/9073/11363.html','true',[],'']
	],''],
	['PAGE','11390',jdecode('Actualit%C3%A9s'),jdecode(''),'/11390/index.html','true',[ 
		['PAGE','11417',jdecode('White+papers'),jdecode(''),'/11390/11417.html','true',[],''],
		['PAGE','11444',jdecode('Vie+du+cabinet'),jdecode(''),'/11390/11444.html','true',[],'']
	],''],
	['PAGE','11471',jdecode('Recrutement'),jdecode(''),'/11471.html','true',[],''],
	['PAGE','12401',jdecode('Contact'),jdecode(''),'/12401.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Elegance';
theSitetree.paletteFamily='BAC4C0';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10402';
theSitetree.graphicsetId='10627';
theSitetree.contentColor='545554';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Elegance',
				paletteFamily: 	'BAC4C0',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10402',
				graphicsetId: 	'10627',
				contentColor: 	'545554',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				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:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20080503-113719'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11390',
internalId:  '',
customField: '20070706-153847'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11444',
internalId:  '',
customField: '20080423-033422'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11417',
internalId:  '',
customField: '20080419-120417'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11201',
internalId:  '',
customField: '20080503-115306'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20080425-215611'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13028',
internalId:  '',
customField: '20080503-113350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13055',
internalId:  '',
customField: '20070608-094003'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9073',
internalId:  '',
customField: '20070608-114203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11228',
internalId:  '',
customField: '20070608-094250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11255',
internalId:  '',
customField: '20070607-214250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11282',
internalId:  '',
customField: '20070608-121934'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11309',
internalId:  '',
customField: '20070611-134638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11336',
internalId:  '',
customField: '20070608-094153'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15355',
internalId:  '',
customField: '20070607-220737'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11363',
internalId:  '',
customField: '20070607-210227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11471',
internalId:  '',
customField: '20070607-214926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12401',
internalId:  '',
customField: '20080503-113600'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLC4M';
var companyName   = '-*-*-+++++++++VALENS+CONSEIL';
var htmlTitle	  = 'VALENSCONSEIL';
var metaKeywords  = 'Risk+management+internal+control+contr%EF%BF%BDle+interne+internal+audit+audit+interne+SOX+rapport+LSF+fraud+fraude+corruption+communication+de+crise+outil+collaboratif+gestion+de+contenu';
var metaContents  = 'This+site+is+about+internal+control+and+risk+management.+Crisis+communication%2C+fraud%2C+corruption+are+also+missions+we+can+deal+with.';
					                                                                    
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 */					                                                            

