/* [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','1514',jdecode('Accueil'),jdecode(''),'/1514.html','true',[],''],
	['PAGE','1625',jdecode('Savoir-faire'),jdecode(''),'/1625.html','true',[],''],
	['PAGE','31601',jdecode('Origine'),jdecode(''),'/31601.html','true',[],''],
	['PAGE','30001',jdecode('Vision'),jdecode(''),'/30001.html','true',[],''],
	['PAGE','1652',jdecode('Exemples'),jdecode(''),'/1652.html','true',[],''],
	['PAGE','1679',jdecode('Contact'),jdecode(''),'/1679/index.html','true',[ 
		['PAGE','12408',jdecode('Contact+%28Folgeseite%29'),jdecode(''),'/1679/12408.html','false',[],'']
	],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B5D3B5';
theSitetree.keyvisualId='1974';
theSitetree.keyvisualName='helpbutton.jpg';
theSitetree.fontsetId='329';
theSitetree.graphicsetId='384';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'B5D3B5',
				keyvisualId: 	'1974',
				keyvisualName: 	'helpbutton.jpg',
				fontsetId: 		'329',
				graphicsetId: 	'384',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'B5D3B5',
				b_color: 		'FFFFFF',
				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:  '1679',
internalId:  'aam010inxviyfa7d6528a6',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '12408',
internalId:  'aam010inxviyfa7d6528a6',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1514',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1514',
internalId:  '',
customField: '20090319-090921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1625',
internalId:  '',
customField: '20090319-093644'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1679',
internalId:  '',
customField: '20090317-184305'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1652',
internalId:  '',
customField: '20090319-094350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12408',
internalId:  '',
customField: '20040203-230005'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30001',
internalId:  '',
customField: '20090319-091930'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31601',
internalId:  '',
customField: '20090319-094042'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INXVIY';
var companyName   = 'FISCIENCE%2C+audit+et+conduite+de+projets';
var htmlTitle	  = 'FISCIENCE+-+facilitateur+de+projets';
var metaKeywords  = 'Conseil.+Management+de+projets.+Assistance+%C3%A0+ma%C3%AEtrise+douvrage.++Coaching.+Gestion+d%C3%A9l%C3%A9gu%C3%A9e+de+projets.+Planification.++Facility+management+de+projets';
var metaContents  = 'Fiscience%2C+soci%C3%A9t%C3%A9+conseil+en+management+de+projets.++assistance+%C3%A0+ma%C3%AEtrise+douvrage.++Direction+de+projets.++Coaching.++';
					                                                                    
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 */					                                                            
