/* [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('identit%C3%A9'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','5747',jdecode('demain'),jdecode(''),'/5747/index.html','true',[ 
		['PAGE','25802',jdecode('Projets+%28volgende+pagina%29'),jdecode(''),'/5747/25802.html','false',[],'']
	],'']];
var siteelementCount=3;
theSitetree.topTemplateName='Endless';
theSitetree.paletteFamily='749D64';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10483';
theSitetree.graphicsetId='11014';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Endless',
				paletteFamily: 	'749D64',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10483',
				graphicsetId: 	'11014',
				contentColor: 	'A00000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'749D64',
				e_color: 		'749D64',
				f_color: 		'749D64',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5747',
internalId:  'aam010in2phf1014d7591f0',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '25802',
internalId:  'aam010in2phf1014d7591f0',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100201-020326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5747',
internalId:  '',
customField: '20070118-182019'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25802',
internalId:  '',
customField: '20050107-145545'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2PHF';
var companyName   = 'Fran%C3%A7ois-No%C3%ABl+Tissot%2C+conseil+en+identit%C3%A9';
var htmlTitle	  = 'Fran%C3%A7ois-No%C3%ABl+Tissot%2C+conseil+en+identit%C3%A9+%3A+partenaire+strat%C3%A9gique+sur+des+d%C3%A9fis+globaux';
var metaKeywords  = 'Fran%EF%BF%BDois-No%EF%BF%BDl%2C+Tissot%2C+identit%EF%BF%BD%2C+construction%2C+identitaire%2C+corporate%2C+identity%2C+culture%2C+langage%2C+International%2C+Coach%2C+Federation%2C+Coaching%2C+Avenue%2C+CoachVille%2C+accompagnement%2C+support%2C+managerial%2C+lien%2C+signe%2C+sens%2C+marque%2C+transformation%2C+repr%EF%BF%BDsentation%2C+identification%2C+visuelle%2C+verbale%2C+signal%EF%BF%BDtique%2C+Mensa%2C+intelligence%2C+collective%2C+comment+jouer+collectif%2C+transverse%2C+transversal%2C+r%EF%BF%BDseaux%2C+relations%2C+programmation%2C+processus%2C+coop%EF%BF%BDration%2C+int%EF%BF%BDgration%2C+recherches%2C+comit%EF%BF%BD%2C+scientifique%2C+humanitaire%2C+sans+fronti%EF%BF%BDres%2C+europ%EF%BF%BDen%2C+mondialisation%2C+globalisation%2C+Global+Compact%2C+Pacte+Mondial%2C+Compas+Qualit%EF%BF%BD%2C+URD%2C+homme%2C+auteur%2C+acteur%2C+singulier%2C+comp%EF%BF%BDtence%2C+gouvernance%2C+enjeux%2C+strat%EF%BF%BDgie%2C+autonomie%2C+initiative%2C+interactions%2C+TPTS%2C+transformation%2C+personnelle%2C+sociale%2C+syst%EF%BF%BDme%2C+vision%2C+globale%2C+syst%EF%BF%BDmique%2C+transculturelle%2C+organisation%2C+%EF%BF%BDclat%EF%BF%BDe%2C+%EF%BF%BDtendue%2C+localisation%2C+programmation%2C+d%EF%BF%BDveloppement+durable%2C+Open+Space%2C+espace%2C+environnement%2C+projet%2C+changement%2C+%EF%BF%BDconomie%2C+logistique%2C+s%EF%BF%BDcurit%EF%BF%BD%2C+fiabiliser%2C+communication%2C+projets%2C+%EF%BF%BDquipe%2C+Constructeur+Equipementier+Automobile%2C+Telecom%2C+Equant%2C+Fiat%2C+Maire+Engineering%2C+Valeo%2C+Wolff+Olins%2C+Omnicom%2C+innovation%2C+Orange';
var metaContents  = 'Se+construire+comme+partenaire+strat%EF%BF%BDgique+sur+des+d%EF%BF%BDfis+globaux+et+prendre+part+%EF%BF%BD+l+%EF%BF%BDmergence+de+l+organisation+globale%2C+avec+Fran%EF%BF%BDois-No%EF%BF%BDl+Tissot%2C+fondateur+en+1984+du+premier+cabinet+fran%EF%BF%BDais+de+conseil+en+identit%EF%BF%BD';
					                                                                    
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 */					                                                            
