/* [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','4557',jdecode('Accueil'),jdecode(''),'/4557.html','true',[],''],
	['PAGE','4901',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/4901.html','true',[],''],
	['PAGE','5009',jdecode('Formations+Continues'),jdecode(''),'/5009.html','true',[],''],
	['PAGE','141212',jdecode('Stages+de+formation'),jdecode(''),'/141212.html','true',[],''],
	['PAGE','5836',jdecode('Vente+de+logiciels'),jdecode(''),'/5836/index.html','true',[ 
		['PAGE','5917',jdecode('API'),jdecode(''),'/5836/5917.html','true',[],''],
		['PAGE','168412',jdecode('GESTIMUM'),jdecode(''),'/5836/168412.html','true',[],''],
		['PAGE','5944',jdecode('EBP'),jdecode(''),'/5836/5944.html','true',[],''],
		['PAGE','5890',jdecode('CIEL+%26+SAGE'),jdecode(''),'/5836/5890.html','true',[],''],
		['PAGE','171912',jdecode('OXYGENE'),jdecode(''),'/5836/171912.html','true',[],''],
		['PAGE','83703',jdecode('Davantage'),jdecode(''),'/5836/83703.html','true',[],'']
	],''],
	['PAGE','177112',jdecode('Cr%C3%A9ateurs+d%26%23x27%3Bentreprise'),jdecode(''),'/177112.html','true',[],''],
	['PAGE','165612',jdecode('Risques+Professionnels'),jdecode(''),'/165612.html','true',[],''],
	['PAGE','5333',jdecode('Contact'),jdecode(''),'/5333.html','true',[],''],
	['PAGE','82702',jdecode('Plan+d%26%23x27%3BAcc%C3%A8s'),jdecode(''),'/82702.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1260';
theSitetree.keyvisualName='dozent.jpg';
theSitetree.fontsetId='192';
theSitetree.graphicsetId='228';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Profile',
				paletteFamily: 	'003399',
				keyvisualId: 	'1260',
				keyvisualName: 	'dozent.jpg',
				fontsetId: 		'192',
				graphicsetId: 	'228',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'003399',
				b_color: 		'000066',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4557',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5333',
internalId:  '12108898',
customField: 'fr:FR:'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4557',
internalId:  '5490155',
customField: '1501'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '82702',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4557',
internalId:  '',
customField: '20110517-121503'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4901',
internalId:  '',
customField: '20090120-125349'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5009',
internalId:  '',
customField: '20110517-110656'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '177112',
internalId:  '',
customField: '20110524-092011'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '177112',
internalId:  '12108898',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '141212',
internalId:  '',
customField: '20110524-092120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '165612',
internalId:  '',
customField: '20110517-113913'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5836',
internalId:  '',
customField: '20110524-092152'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5917',
internalId:  '',
customField: '20110517-111900'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '168412',
internalId:  '',
customField: '20100417-120155'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '171912',
internalId:  '',
customField: '20110517-113242'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5890',
internalId:  '',
customField: '20110517-112605'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83703',
internalId:  '',
customField: '20110517-113631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5944',
internalId:  '',
customField: '20110517-112200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5333',
internalId:  '',
customField: '20090919-145237'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82702',
internalId:  '',
customField: '20070724-230053'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN28MS';
var companyName   = 'EXPERTISOFT%3A+G%C3%A9rez+votre+performance+%21';
var htmlTitle	  = 'EXPERTISOFT';
var metaKeywords  = 'expertisoft%2C+formapro%2C+escrivel%2C+apisoft%2C+apibat%2C+ciel%2C+ebp%2C+sage%2C+stage%2C+formation%2C+comptabilite%2C+gestion%2C+paye%2C+informatique+de+gestion%2C+assistance+informatique%2C+capacite+de+gestion%2C+evaluation+des+risques%2C+DIF%2C+d%C3%A9pannage+logiciel%2C+d%C3%A9pannage+informatique.';
var metaContents  = 'Expertisoft%2C+stage+de+formation+professionnelle+en+informatique+de+gestion%2C+s%C3%A9curit%C3%A9%2C+droit...+Vente%2C+installation+et+d%C3%A9pannage+de+logiciels+de+gestion%2C+comptabilite%2C+gestion+commerciale%2C+paye.+';
					                                                                    
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 */					                                                            

