/* [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','4599',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','4656',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/4656/index.html','true',[ 
		['PAGE','4683',jdecode('Notre+philosophie'),jdecode(''),'/4656/4683.html','true',[],'']
	],''],
	['PAGE','17803',jdecode('Petites+annonces'),jdecode(''),'/17803.html','true',[],''],
	['PAGE','4791',jdecode('Produits'),jdecode(''),'/4791/index.html','true',[ 
		['PAGE','12103',jdecode('Agenda+partag%E9.'),jdecode(''),'/4791/12103.html','true',[],''],
		['PAGE','15703',jdecode('Audit+R%E9seau.'),jdecode(''),'/4791/15703.html','true',[],''],
		['PAGE','4737',jdecode('Cr%E9ation+de+sites+internet.'),jdecode(''),'/4791/4737.html','true',[],''],
		['PAGE','4845',jdecode('Outils+de+GRC.'),jdecode(''),'/4791/4845.html','true',[],''],
		['PAGE','15730',jdecode('Outils+de+sauvegarde.'),jdecode(''),'/4791/15730.html','true',[],''],
		['PAGE','15757',jdecode('S%E9curit%E9'),jdecode(''),'/4791/15757.html','true',[],''],
		['PAGE','18903',jdecode('Passerelle+GSM'),jdecode(''),'/4791/18903.html','true',[],''],
		['PAGE','19703',jdecode('Copieur'),jdecode(''),'/4791/19703.html','true',[],'']
	],''],
	['PAGE','18203',jdecode('Partenaires'),jdecode(''),'/18203.html','true',[],''],
	['PAGE','10903',jdecode('Vos+derni%E8res+demandes'),jdecode(''),'/10903.html','true',[],''],
	['PAGE','14303',jdecode('Espace+publicitaire'),jdecode(''),'/14303.html','true',[],''],
	['PAGE','4872',jdecode('Actualit%E9s'),jdecode(''),'/4872/index.html','true',[ 
		['PAGE','4926',jdecode('Agenda'),jdecode(''),'/4872/4926.html','true',[],'']
	],''],
	['PAGE','4953',jdecode('Nos+liens'),jdecode(''),'/4953.html','true',[],''],
	['PAGE','4980',jdecode('Emplois'),jdecode(''),'/4980.html','true',[],''],
	['PAGE','5007',jdecode('Contact'),jdecode(''),'/5007/index.html','true',[ 
		['PAGE','5034',jdecode('Adresse%2C+T%E9l%E9phone'),jdecode(''),'/5007/5034.html','true',[],'']
	],''],
	['PAGE','5902',jdecode('Acc%E8s'),jdecode(''),'/5902.html','true',[],''],
	['PAGE','14903',jdecode('Lettre+d%26%23x27%3Binformation'),jdecode(''),'/14903/index.html','true',[ 
		['PAGE','15102',jdecode('Lettre+d%26%23x27%3Binformation+%28volgende+pagina%29'),jdecode(''),'/14903/15102.html','false',[],'']
	],''],
	['PAGE','12803',jdecode('Mentions+L%E9gales'),jdecode(''),'/12803.html','true',[],''],
	['PAGE','15402',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/15402/index.html','true',[ 
		['PAGE','15403',jdecode('Entr%E9es'),jdecode(''),'/15402/15403.html','true',[],'']
	],'']];
var siteelementCount=28;
theSitetree.topTemplateName='Movement';
					                                                                    
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 */					                                                            

