/* [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','1111',jdecode('Home'),jdecode(''),'/1111.html','true',[],''],
	['PAGE','23916',jdecode('Aktuelles'),jdecode(''),'/23916/index.html','true',[ 
		['PAGE','31312',jdecode('Aufruf'),jdecode(''),'/23916/31312.html','true',[],''],
		['PAGE','30912',jdecode('Besondere+Anl%E4sse'),jdecode(''),'/23916/30912.html','true',[],'']
	],''],
	['PAGE','1286',jdecode('Wir+%FCber+uns'),jdecode(''),'/1286.html','true',[],''],
	['PAGE','1309',jdecode('Der+RR'),jdecode(''),'/1309/index.html','true',[ 
		['PAGE','2094',jdecode('Jagdlicher+Einsatz'),jdecode(''),'/1309/2094.html','true',[],''],
		['PAGE','2117',jdecode('Das+sollte+man+wissen'),jdecode(''),'/1309/2117.html','true',[],'']
	],''],
	['PAGE','28622',jdecode('Erfahrungsberichte'),jdecode(''),'/28622/index.html','true',[ 
		['PAGE','1424',jdecode('Mitgliederberichte'),jdecode(''),'/28622/1424.html','true',[],''],
		['PAGE','37612',jdecode('R%FCckblick+2009'),jdecode(''),'/28622/37612.html','true',[],''],
		['PAGE','28556',jdecode('R%FCckblick+2008'),jdecode(''),'/28622/28556.html','true',[],''],
		['PAGE','1378',jdecode('R%FCckblick+2007'),jdecode(''),'/28622/1378.html','true',[],'']
	],''],
	['PAGE','28419',jdecode('Pr%FCfungen'),jdecode(''),'/28419/index.html','true',[ 
		['PAGE','38812',jdecode('RRAG+Jagdpr%FCfung+2010'),jdecode(''),'/28419/38812.html','true',[],''],
		['PAGE','36623',jdecode('RR+Jagdpr%FCfung+1++-+2009'),jdecode(''),'/28419/36623.html','true',[],''],
		['PAGE','23044',jdecode('Jugendpr%FCfung+2008'),jdecode(''),'/28419/23044.html','true',[],''],
		['PAGE','28455',jdecode('Schwei%DFpr%FCfung+2007'),jdecode(''),'/28419/28455.html','true',[],'']
	],''],
	['PAGE','1355',jdecode('Termine'),jdecode(''),'/1355.html','true',[],''],
	['PAGE','1470',jdecode('Bildgalerie'),jdecode(''),'/1470/index.html','true',[ 
		['PAGE','36949',jdecode('RR+Jagdpr%FCfung+1++++++++Nov.+2009'),jdecode(''),'/1470/36949.html','true',[],''],
		['PAGE','35571',jdecode('12.%2F13.+September+2009'),jdecode(''),'/1470/35571.html','true',[],''],
		['PAGE','34112',jdecode('15.%2F16.+August+2009'),jdecode(''),'/1470/34112.html','true',[],''],
		['PAGE','32118',jdecode('18.%2F19.+Juli+2009'),jdecode(''),'/1470/32118.html','true',[],''],
		['PAGE','29764',jdecode('20.%2F21.+Juni+2009'),jdecode(''),'/1470/29764.html','true',[],''],
		['PAGE','29132',jdecode('21.%2F22.+M%E4rz+2009'),jdecode(''),'/1470/29132.html','true',[],''],
		['PAGE','24212',jdecode('18.%2F19.+Okt.+2008'),jdecode(''),'/1470/24212.html','true',[],''],
		['PAGE','24599',jdecode('13.Sept.2008'),jdecode(''),'/1470/24599.html','true',[],''],
		['PAGE','25367',jdecode('13.+Sept.2008+abends'),jdecode(''),'/1470/25367.html','true',[],'']
	],''],
	['PAGE','28505',jdecode('Downloads'),jdecode(''),'/28505.html','true',[],''],
	['PAGE','5795',jdecode('Z%FCchterinfo'),jdecode(''),'/5795/index.html','true',[ 
		['PAGE','35012',jdecode('Wurfplanungen'),jdecode(''),'/5795/35012.html','true',[],''],
		['PAGE','18601',jdecode('Wurfmeldungen'),jdecode(''),'/5795/18601.html','true',[],''],
		['PAGE','33119',jdecode('Z%FCchterliste'),jdecode(''),'/5795/33119.html','true',[],'']
	],''],
	['PAGE','1493',jdecode('Kontakt'),jdecode(''),'/1493/index.html','true',[ 
		['PAGE','3787',jdecode('Vertrauensleute'),jdecode(''),'/1493/3787.html','true',[],''],
		['PAGE','3294',jdecode('Disclaimer'),jdecode(''),'/1493/3294.html','true',[],'']
	],'']];
var siteelementCount=37;
theSitetree.topTemplateName='Galerie';
					                                                                    
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 */					                                                            
