/* [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','4614',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4614.html','true',[],''],
	['PAGE','4671',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/4671.html','true',[],''],
	['PAGE','4725',jdecode('Nos+formations'),jdecode(''),'/4725/index.html','true',[ 
		['PAGE','4779',jdecode('SSIAP'),jdecode(''),'/4725/4779.html','true',[],''],
		['PAGE','5429',jdecode('Lutte+contre+le+feu'),jdecode(''),'/4725/5429.html','true',[],''],
		['PAGE','4752',jdecode('Port+de+l%26%23x27%3BARI'),jdecode(''),'/4725/4752.html','true',[],''],
		['PAGE','6602',jdecode('Permis+de+feu'),jdecode(''),'/4725/6602.html','true',[],''],
		['PAGE','4806',jdecode('Secourisme'),jdecode(''),'/4725/4806.html','true',[],''],
		['PAGE','7202',jdecode('Brancardage'),jdecode(''),'/4725/7202.html','true',[],''],
		['PAGE','7229',jdecode('Evacuation'),jdecode(''),'/4725/7229.html','true',[],''],
		['PAGE','7256',jdecode('P.R.A.P'),jdecode(''),'/4725/7256.html','true',[],''],
		['PAGE','7283',jdecode('Manutention+manuel'),jdecode(''),'/4725/7283.html','true',[],''],
		['PAGE','7310',jdecode('Habilitation+H0-B0'),jdecode(''),'/4725/7310.html','true',[],'']
	],''],
	['PAGE','6629',jdecode('Nos+recyclages'),jdecode(''),'/6629/index.html','true',[ 
		['PAGE','6656',jdecode('SSIAP'),jdecode(''),'/6629/6656.html','true',[],''],
		['PAGE','6683',jdecode('incendie'),jdecode(''),'/6629/6683.html','true',[],''],
		['PAGE','6710',jdecode('secourisme'),jdecode(''),'/6629/6710.html','true',[],'']
	],''],
	['PAGE','6737',jdecode('Autres+prestations'),jdecode(''),'/6737.html','true',[],''],
	['PAGE','4995',jdecode('Nous+Contacter'),jdecode(''),'/4995/index.html','true',[ 
		['PAGE','9744',jdecode('Contact+%28Folgeseite%29'),jdecode(''),'/4995/9744.html','false',[],'']
	],''],
	['PAGE','7585',jdecode('Comment+nous+trouver'),jdecode(''),'/7585.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Logg';
					                                                                    
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 */					                                                            

