/* [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('Accueil'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','4656',jdecode('L%26%23x27%3B+Endurance+%3F'),jdecode(''),'/4656.html','true',[],''],
	['PAGE','4683',jdecode('Qui+suis-je+%3F'),jdecode(''),'/4683/index.html','true',[ 
		['PAGE','4710',jdecode('Mes+Entra%EEnements'),jdecode(''),'/4683/4710.html','true',[],''],
		['PAGE','4737',jdecode('Mes+Performances'),jdecode(''),'/4683/4737.html','true',[],''],
		['PAGE','9765',jdecode('Mes+Objectifs'),jdecode(''),'/4683/9765.html','true',[],''],
		['PAGE','93518',jdecode('Ma+Propri%E9t%E9'),jdecode(''),'/4683/93518.html','true',[],''],
		['PAGE','9792',jdecode('Historique'),jdecode(''),'/4683/9792.html','true',[],'']
	],''],
	['PAGE','4791',jdecode('Mes+nouvelles'),jdecode(''),'/4791.html','true',[],''],
	['PAGE','111003',jdecode('Lucie+Foltynova'),jdecode(''),'/111003.html','true',[],''],
	['PAGE','4845',jdecode('Contact'),jdecode(''),'/4845/index.html','true',[ 
		['PAGE','87700',jdecode('Contact+%28Folgeseite%29'),jdecode(''),'/4845/87700.html','false',[],''],
		['PAGE','4872',jdecode('Adresse'),jdecode(''),'/4845/4872.html','true',[],''],
		['PAGE','39702',jdecode('Acc%E8s'),jdecode(''),'/4845/39702.html','true',[],''],
		['PAGE','39737',jdecode('Venir+me+voir'),jdecode(''),'/4845/39737.html','true',[],'']
	],''],
	['PAGE','30001',jdecode('Ev%E8nements'),jdecode(''),'/30001.html','true',[],''],
	['PAGE','5088',jdecode('Activit%E9s+2010'),jdecode(''),'/5088.html','true',[],''],
	['PAGE','37319',jdecode('Agenda'),jdecode(''),'/37319.html','true',[],''],
	['PAGE','42630',jdecode('R%E9sultats'),jdecode(''),'/42630/index.html','true',[ 
		['PAGE','89564',jdecode('Saison+2009'),jdecode(''),'/42630/89564.html','true',[],''],
		['PAGE','112003',jdecode('Saison+2010'),jdecode(''),'/42630/112003.html','true',[],'']
	],''],
	['PAGE','4953',jdecode('Mon+Ecurie'),jdecode(''),'/4953/index.html','true',[ 
		['PAGE','10830',jdecode('Kalyne+d%26%23x27%3BArd%E8che'),jdecode(''),'/4953/10830.html','true',[],''],
		['PAGE','39035',jdecode('Shadda%EF'),jdecode(''),'/4953/39035.html','true',[],''],
		['PAGE','48517',jdecode('Panjshir+El+Fedji'),jdecode(''),'/4953/48517.html','true',[],''],
		['PAGE','48598',jdecode('Saphira'),jdecode(''),'/4953/48598.html','true',[],''],
		['PAGE','48652',jdecode('Omar+'),jdecode(''),'/4953/48652.html','true',[],''],
		['PAGE','91204',jdecode('Unabelle'),jdecode(''),'/4953/91204.html','true',[],''],
		['PAGE','94003',jdecode('O%26%23x27%3BAmina'),jdecode(''),'/4953/94003.html','true',[],''],
		['PAGE','94030',jdecode('Assila'),jdecode(''),'/4953/94030.html','true',[],''],
		['PAGE','94803',jdecode('Ouahida+El+Numizki'),jdecode(''),'/4953/94803.html','true',[],''],
		['PAGE','95527',jdecode('Sky+du+Laris'),jdecode(''),'/4953/95527.html','true',[],''],
		['PAGE','110019',jdecode('Volvik+Eldrocol'),jdecode(''),'/4953/110019.html','true',[],'']
	],''],
	['PAGE','87587',jdecode('Les+anciens'),jdecode(''),'/87587/index.html','true',[ 
		['PAGE','48625',jdecode('Oman+'),jdecode(''),'/87587/48625.html','true',[],''],
		['PAGE','48571',jdecode('Scipion+Courthouse'),jdecode(''),'/87587/48571.html','true',[],''],
		['PAGE','5034',jdecode('Jokdan'),jdecode(''),'/87587/5034.html','true',[],''],
		['PAGE','4980',jdecode('Ipso+de+la+Dr%F4me'),jdecode(''),'/87587/4980.html','true',[],''],
		['PAGE','10803',jdecode('RSC+El+Qualit'),jdecode(''),'/87587/10803.html','true',[],''],
		['PAGE','5007',jdecode('Ga%EFa+des+Cordes'),jdecode(''),'/87587/5007.html','true',[],''],
		['PAGE','10857',jdecode('RSC+Baronesa'),jdecode(''),'/87587/10857.html','true',[],''],
		['PAGE','94057',jdecode('Nektar'),jdecode(''),'/87587/94057.html','true',[],''],
		['PAGE','48544',jdecode('RSC+El+Marusca'),jdecode(''),'/87587/48544.html','true',[],''],
		['PAGE','38652',jdecode('Malaura+d%26%23x27%3BArd%E8che'),jdecode(''),'/87587/38652.html','true',[],''],
		['PAGE','87560',jdecode('Leda+de+Crouz'),jdecode(''),'/87587/87560.html','true',[],'']
	],''],
	['PAGE','88730',jdecode('Elevage+des+Dolines'),jdecode(''),'/88730.html','true',[],''],
	['PAGE','10035',jdecode('Liens'),jdecode(''),'/10035.html','true',[],''],
	['PAGE','29502',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/29502/index.html','true',[ 
		['PAGE','29503',jdecode('Entr%E9es'),jdecode(''),'/29502/29503.html','true',[],'']
	],''],
	['PAGE','39767',jdecode('Weblog'),jdecode(''),'/39767.html','true',[],''],
	['PAGE','39794',jdecode('Album+photos'),jdecode(''),'/39794.html','true',[],''],
	['PAGE','40403',jdecode('Br%E9sil+'),jdecode(''),'/40403.html','true',[],''],
	['PAGE','98003',jdecode('Equissage'),jdecode(''),'/98003.html','true',[],''],
	['PAGE','41503',jdecode('Sanders'),jdecode(''),'/41503.html','true',[],''],
	['PAGE','41804',jdecode('Sellerie+Antar%E8s'),jdecode(''),'/41804.html','true',[],''],
	['PAGE','44103',jdecode('Le+Hogan'),jdecode(''),'/44103.html','true',[],''],
	['PAGE','46105',jdecode('Licences+FFE+'),jdecode(''),'/46105.html','true',[],''],
	['PAGE','96315',jdecode('o1world'),jdecode(''),'/96315.html','true',[],''],
	['PAGE','108903',jdecode('Chevaux+%E0+vendre'),jdecode(''),'/108903.html','true',[],'']];
var siteelementCount=59;
theSitetree.topTemplateName='Alpha';
					                                                                    
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 */					                                                            
