/* [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','901',jdecode('Home'),jdecode(''),'/901.html','true',[],''],
	['PAGE','8701',jdecode('Les+Centres'),jdecode(''),'/8701.html','true',[],''],
	['PAGE','952',jdecode('Formations+AERO'),jdecode(''),'/952/index.html','true',[ 
		['PAGE','26401',jdecode('PNC+-+Pr%C3%A9paration+CFS'),jdecode(''),'/952/26401.html','true',[],''],
		['PAGE','973',jdecode('Agent+d%26%23x27%3BEscale'),jdecode(''),'/952/973.html','true',[],''],
		['PAGE','994',jdecode('Agent+de+R%C3%A9servation'),jdecode(''),'/952/994.html','true',[],''],
		['PAGE','1015',jdecode('Agent+Polyvalent'),jdecode(''),'/952/1015.html','true',[],''],
		['PAGE','1036',jdecode('Agent+de+Trafic'),jdecode(''),'/952/1036.html','true',[],'']
	],''],
	['PAGE','16701',jdecode('Formations+Tourisme'),jdecode(''),'/16701/index.html','true',[ 
		['PAGE','1078',jdecode('Animateur+Club'),jdecode(''),'/16701/1078.html','true',[],''],
		['PAGE','1099',jdecode('Accompagnateur+TO'),jdecode(''),'/16701/1099.html','true',[],''],
		['PAGE','1183',jdecode('T%C3%A9l%C3%A9conseiller+'),jdecode(''),'/16701/1183.html','true',[],''],
		['PAGE','1204',jdecode('R%C3%A9ceptionniste+'),jdecode(''),'/16701/1204.html','true',[],'']
	],''],
	['PAGE','1246',jdecode('GDS+AMADEUS'),jdecode(''),'/1246.html','true',[],''],
	['PAGE','25501',jdecode('E-learning'),jdecode(''),'/25501.html','true',[],''],
	['PAGE','19001',jdecode('Anglais+Intensif'),jdecode(''),'/19001.html','true',[],''],
	['PAGE','40201',jdecode('Allemand+Intensif'),jdecode(''),'/40201.html','true',[],''],
	['PAGE','1330',jdecode('Espace+PRO'),jdecode(''),'/1330.html','true',[],''],
	['PAGE','1414',jdecode('Emplois+Tourisme'),jdecode(''),'/1414.html','true',[],''],
	['PAGE','1435',jdecode('Tarifs+et+Inscriptions'),jdecode(''),'/1435.html','true',[],''],
	['PAGE','16001',jdecode('Acc%C3%A8s+Antibes'),jdecode(''),'/16001.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='136F83';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='155';
theSitetree.graphicsetId='170';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FCFCF4';
var theTemplate={
				name: 			'Natural',
				paletteFamily: 	'136F83',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'155',
				graphicsetId: 	'170',
				contentColor: 	'000066',
				contentBGColor: 'FCFCF4',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'136F83',
				b_color: 		'66CCFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '901',
internalId:  '',
customField: '20100616-151600'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '952',
internalId:  '',
customField: '20100616-151944'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1204',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '973',
internalId:  '',
customField: '20100615-140801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '994',
internalId:  '',
customField: '20100615-140941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1015',
internalId:  '',
customField: '20100525-145953'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1099',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1078',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1036',
internalId:  '',
customField: '20100525-150108'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1036',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '901',
internalId:  '6771368',
customField: '1501'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '973',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1078',
internalId:  '',
customField: '20100306-172908'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1099',
internalId:  '',
customField: '20100306-172955'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '952',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16701',
internalId:  '',
customField: '20100502-162000'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40201',
internalId:  '',
customField: '20100527-150521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1183',
internalId:  '',
customField: '20100306-173048'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1204',
internalId:  '',
customField: '20100525-150230'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1246',
internalId:  '',
customField: '20100525-150642'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1015',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1330',
internalId:  '',
customField: '20100507-110013'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1414',
internalId:  '',
customField: '20100503-102314'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1435',
internalId:  '',
customField: '20100615-141101'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '994',
internalId:  '6723832',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8701',
internalId:  '',
customField: '20100507-105631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20100525-150755'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '901',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '16001',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16001',
internalId:  '',
customField: '20100307-073919'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25501',
internalId:  '',
customField: '20100502-162624'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26401',
internalId:  '',
customField: '20100525-150420'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZO75';
var companyName   = 'A%C3%A9ro+Forma+International';
var htmlTitle	  = 'Ecole+de+formation+tourisme+et+a%C3%A9ronautique+Nice+escale+r%C3%A9servation+trafic+PNC+H%C3%B4te+et+h%C3%B4tesse';
var metaKeywords  = 'Formation+a%C3%A9ronautique+Nice%2CFormation+escale+nice%2C+Formation+a%C3%A9rien+Orly%2C+formation+tourisme+a%C3%A9rien%2C+formation+a%C3%A9roport%2C+formation+agent+descale%2C+formation+agent+de+r%C3%A9servation%2C+CFS+h%C3%B4tesse+de+lair%2C+steward%2C+agent+SNCF%2C+animateur+guide+accompagnateur%2C+ecole+de+formation+tourisme%2C+formation+AMADEUS%2C+Formation+Sabre';
var metaContents  = 'Ecole+de+formation+des+m%C3%A9tiers+du+tourisme+et+a%C3%A9ronautique.+Formations+a%C3%A9roportuaires+%3A+agent+descale%2C+agent+de+r%C3%A9servation%2C+coordo%2C+piste%2C+Steward+et+h%C3%B4tesse+de+croisi%C3%A8res%2C+PNC%2C+Animateur+et+guide+accompagnateur%2C+r%C3%A9ceptionniste+h%C3%B4telier%2C+t%C3%A9l%C3%A9conseiller+call+center+et+plateau+daffaires%2C+agent+SNCF%2C+Agent+daccueil.';
					                                                                    
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 */					                                                            
