/* [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','401',jdecode('Home'),jdecode(''),'/401.html','true',[],''],
	['PAGE','111501',jdecode('Vos+Besoins'),jdecode(''),'/111501/index.html','true',[ 
		['PAGE','26022',jdecode('Financement'),jdecode(''),'/111501/26022.html','true',[],''],
		['PAGE','72201',jdecode('Plan+de+formation'),jdecode(''),'/111501/72201.html','true',[],''],
		['PAGE','72222',jdecode('Le+DIF'),jdecode(''),'/111501/72222.html','true',[],'']
	],''],
	['PAGE','110101',jdecode('Nos+Solutions'),jdecode(''),'/110101/index.html','true',[ 
		['PAGE','110122',jdecode('Solutiion+Formation'),jdecode(''),'/110101/110122.html','true',[],''],
		['PAGE','26001',jdecode('Solutiion+Coaching'),jdecode(''),'/110101/26001.html','true',[],''],
		['PAGE','77101',jdecode('Coaching+personnel'),jdecode(''),'/110101/77101.html','true',[],''],
		['PAGE','64922',jdecode('Coaching+d%26%23x27%3Bentreprise'),jdecode(''),'/110101/64922.html','true',[],''],
		['PAGE','94001',jdecode('Coaching+vente+conseil'),jdecode(''),'/110101/94001.html','true',[],''],
		['PAGE','119701',jdecode('Solutiion+Incentive'),jdecode(''),'/110101/119701.html','true',[],'']
	],''],
	['PAGE','129301',jdecode('Notre+%C3%A9quipe'),jdecode(''),'/129301/index.html','true',[ 
		['PAGE','23885',jdecode('Intervenants'),jdecode(''),'/129301/23885.html','true',[],''],
		['PAGE','129701',jdecode('Recrutement'),jdecode(''),'/129301/129701.html','true',[],''],
		['PAGE','68601',jdecode('Chartre+%C3%A9thique'),jdecode(''),'/129301/68601.html','true',[],''],
		['PAGE','75201',jdecode('M%C3%A9thodes'),jdecode(''),'/129301/75201.html','true',[],''],
		['PAGE','2174',jdecode('Biblioth%C3%A8que+du+coach'),jdecode(''),'/129301/2174.html','true',[],'']
	],''],
	['PAGE','77122',jdecode('Nos+clients'),jdecode(''),'/77122/index.html','true',[ 
		['PAGE','123301',jdecode('Ils+parlent+de+nous'),jdecode(''),'/77122/123301.html','true',[],'']
	],''],
	['PAGE','2111',jdecode('Contact'),jdecode(''),'/2111.html','true',[],''],
	['PAGE','88401',jdecode('Newsletter'),jdecode(''),'/88401.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='D72B2B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10893';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'D72B2B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10893',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'D72B2B',
				e_color: 		'D72B2B',
				f_color: 		'D72B2B',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20111228-133236'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '129301',
internalId:  '',
customField: '20111229-105155'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '129701',
internalId:  '',
customField: '20111229-113228'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26001',
internalId:  '',
customField: '20111227-163001'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '129701',
internalId:  '8168023',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111501',
internalId:  '',
customField: '20111228-133051'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26022',
internalId:  '',
customField: '20111228-103628'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68601',
internalId:  '',
customField: '20111229-113521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2111',
internalId:  '',
customField: '20111227-162259'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '119701',
internalId:  '',
customField: '20111229-105254'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23885',
internalId:  '',
customField: '20111227-173037'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2174',
internalId:  '',
customField: '20111229-113725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '123301',
internalId:  '',
customField: '20111229-113848'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '2111',
internalId:  '5800301',
customField: 'fr:FR:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64922',
internalId:  '',
customField: '20111228-140718'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72201',
internalId:  '',
customField: '20111227-163330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72222',
internalId:  '',
customField: '20111227-163623'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75201',
internalId:  '',
customField: '20111229-113540'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '77101',
internalId:  '',
customField: '20111229-103033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '77122',
internalId:  '',
customField: '20111229-113808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110122',
internalId:  '',
customField: '20111228-095115'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88401',
internalId:  '',
customField: '20111227-162621'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '88401',
internalId:  '5800397',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94001',
internalId:  '',
customField: '20111228-094446'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110101',
internalId:  '',
customField: '20111227-162625'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZJ1M';
var companyName   = 'FORMAPROASSUR';
var htmlTitle	  = 'www.FormaProAssur.com';
var metaKeywords  = 'formation%2C+assurance%2C+management%2C+assurance+vie%2C+assurance+auto%2C+formation+assurance%2Ccoaching%2C+coaching+de+vie%2C+coaching+professionnel%2C+technique+de+vente%2C+formation+management%2C+formation+nice%2C+formation+cannes%2C+formation+monaco%2C+coaching+nice%2C+coaching+cannes%2C+coaching+monaco%2Cpnl%2C+charles+brillet%2Ccoachproassur%2C+formaproassur%2C+';
var metaContents  = 'formation+assurance%2C+formation+professionnelle%2C+bts+assurance%2C+licence+banque%2C+librairie%2C+management%2C+coach%2C+pnl%2C+formation+pnl%2C+forum+etudiant%2C+coaching%2C+coaching+de+vie%2C+coaching+sportif%2C+run+coaching%2C+coaching+de+changement%2C+pnl%2C+';
					                                                                    
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 */					                                                            

