/* [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','4554',jdecode('Home'),jdecode(''),'/4554.html','true',[],''],
	['PAGE','4827',jdecode('Kontakt'),jdecode(''),'/4827.html','true',[],''],
	['PAGE','26680',jdecode('Wer+macht+was%3F'),jdecode(''),'/26680.html','true',[],''],
	['PAGE','40168',jdecode('Wie+kommt+man+hin%3F'),jdecode(''),'/40168.html','true',[],''],
	['PAGE','4665',jdecode('Aktuelles'),jdecode(''),'/4665.html','true',[],''],
	['PAGE','4800',jdecode('Veranstaltungen'),jdecode(''),'/4800.html','true',[],''],
	['PAGE','4692',jdecode('Jugendseite'),jdecode(''),'/4692.html','true',[],''],
	['PAGE','4719',jdecode('Gew%E4sser'),jdecode(''),'/4719/index.html','true',[ 
		['PAGE','26080',jdecode('Tagebausee+W%F6lfersheim'),jdecode(''),'/4719/26080.html','true',[],''],
		['PAGE','26107',jdecode('Teich+Heldt+W%F6lfersheim'),jdecode(''),'/4719/26107.html','true',[],''],
		['PAGE','26134',jdecode('Barbarasee+Bellersheim'),jdecode(''),'/4719/26134.html','true',[],''],
		['PAGE','26161',jdecode('Tagebausee+Inheiden'),jdecode(''),'/4719/26161.html','true',[],''],
		['PAGE','26188',jdecode('M%F6nchsteiche+Lich'),jdecode(''),'/4719/26188.html','true',[],''],
		['PAGE','26215',jdecode('Wetter+bei+Steinfurth'),jdecode(''),'/4719/26215.html','true',[],'']
	],''],
	['PAGE','75132',jdecode('Mitgliederseite'),jdecode(''),'/75132/index.html','true',[ 
		['PAGE','80432',jdecode('Winter-Bilder'),jdecode(''),'/75132/80432.html','true',[],''],
		['PAGE','74532',jdecode('Island+'),jdecode(''),'/75132/74532.html','true',[],''],
		['PAGE','75163',jdecode('S%FCdk%E4rnten+%2B+SLO'),jdecode(''),'/75132/75163.html','true',[],''],
		['PAGE','78032',jdecode('Am+Tagebausee'),jdecode(''),'/75132/78032.html','true',[],'']
	],''],
	['PAGE','30053',jdecode('Foto-Seiten'),jdecode(''),'/30053/index.html','true',[ 
		['PAGE','76732',jdecode('Ferienspiele+2009'),jdecode(''),'/30053/76732.html','true',[],''],
		['PAGE','58632',jdecode('JHV+M%E4rz+2009'),jdecode(''),'/30053/58632.html','true',[],''],
		['PAGE','46682',jdecode('M%F6nchsteiche+Dez.08'),jdecode(''),'/30053/46682.html','true',[],''],
		['PAGE','67432',jdecode('Helferfischen+Okt.+08'),jdecode(''),'/30053/67432.html','true',[],''],
		['PAGE','62732',jdecode('Arbeitseinsatz+Sturm'),jdecode(''),'/30053/62732.html','true',[],''],
		['PAGE','61564',jdecode('Sturmsch%E4den+30.05.08'),jdecode(''),'/30053/61564.html','true',[],''],
		['PAGE','67232',jdecode('Jugend-Aktionen'),jdecode(''),'/30053/67232.html','true',[],''],
		['PAGE','56932',jdecode('Anglerheim+u.+A.'),jdecode(''),'/30053/56932.html','true',[],''],
		['PAGE','50832',jdecode('Arbeit...'),jdecode(''),'/30053/50832.html','true',[],''],
		['PAGE','38704',jdecode('Friedfisch-F%E4nge'),jdecode(''),'/30053/38704.html','true',[],''],
		['PAGE','38766',jdecode('Raubfisch-F%E4nge'),jdecode(''),'/30053/38766.html','true',[],''],
		['PAGE','38735',jdecode('Gew%E4sser+und+Natur'),jdecode(''),'/30053/38735.html','true',[],''],
		['PAGE','50863',jdecode('Fisch-Besatz'),jdecode(''),'/30053/50863.html','true',[],'']
	],''],
	['PAGE','46182',jdecode('Rundschreiben'),jdecode(''),'/46182.html','true',[],''],
	['PAGE','48629',jdecode('Regelungen'),jdecode(''),'/48629/index.html','true',[ 
		['PAGE','59832',jdecode('Satzung'),jdecode(''),'/48629/59832.html','true',[],''],
		['PAGE','59863',jdecode('Gesch%E4ftsordnung'),jdecode(''),'/48629/59863.html','true',[],''],
		['PAGE','60232',jdecode('Haftungsfragen'),jdecode(''),'/48629/60232.html','true',[],''],
		['PAGE','52632',jdecode('Gew%E4sserordnung'),jdecode(''),'/48629/52632.html','true',[],''],
		['PAGE','4638',jdecode('Schonzeiten'),jdecode(''),'/48629/4638.html','true',[],''],
		['PAGE','48660',jdecode('Bootsplatz'),jdecode(''),'/48629/48660.html','true',[],''],
		['PAGE','74581',jdecode('Campingplatz'),jdecode(''),'/48629/74581.html','true',[],'']
	],''],
	['PAGE','26242',jdecode('Mitglied+werden'),jdecode(''),'/26242/index.html','true',[ 
		['PAGE','26653',jdecode('Sportfischereipr%FCfung'),jdecode(''),'/26242/26653.html','true',[],'']
	],''],
	['PAGE','4773',jdecode('Gastkarten'),jdecode(''),'/4773.html','true',[],''],
	['PAGE','4611',jdecode('Vereinsgeschichte'),jdecode(''),'/4611.html','true',[],''],
	['PAGE','72132',jdecode('Downloads'),jdecode(''),'/72132.html','true',[],''],
	['PAGE','26269',jdecode('Interessante+Links'),jdecode(''),'/26269.html','true',[],''],
	['PAGE','52144',jdecode('Impressum+%2B+Haftung'),jdecode(''),'/52144.html','true',[],'']];
var siteelementCount=49;
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 */					                                                            
