/* [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','1115',jdecode('Home'),jdecode(''),'/1115.html','true',[],''],
	['PAGE','2351',jdecode('Unser+Verein'),jdecode(''),'/2351/index.html','true',[ 
		['PAGE','2374',jdecode('Vereinsgeschichte'),jdecode(''),'/2351/2374.html','true',[],''],
		['PAGE','43453',jdecode('Jahreshauptversammlung'),jdecode(''),'/2351/43453.html','true',[],''],
		['PAGE','2397',jdecode('Vorstandschaft'),jdecode(''),'/2351/2397.html','true',[],''],
		['PAGE','11598',jdecode('Geb%FChren+%26+Satzung'),jdecode(''),'/2351/11598.html','true',[],'']
	],''],
	['PAGE','2443',jdecode('Sportteam'),jdecode(''),'/2443.html','true',[],''],
	['PAGE','44217',jdecode('Fischerstechen'),jdecode(''),'/44217.html','true',[],''],
	['PAGE','2466',jdecode('Jugendabteilung'),jdecode(''),'/2466/index.html','true',[ 
		['PAGE','41952',jdecode('Jugend-Termine'),jdecode(''),'/2466/41952.html','true',[],'']
	],''],
	['PAGE','32784',jdecode('Vereinsergebnisse'),jdecode(''),'/32784/index.html','true',[ 
		['PAGE','32811',jdecode('Fischerk%F6nig'),jdecode(''),'/32784/32811.html','true',[],''],
		['PAGE','32838',jdecode('Fischerprinz'),jdecode(''),'/32784/32838.html','true',[],''],
		['PAGE','32865',jdecode('Vereinsmeister+sen.'),jdecode(''),'/32784/32865.html','true',[],''],
		['PAGE','32892',jdecode('Vereinsmeister+Jgd.'),jdecode(''),'/32784/32892.html','true',[],''],
		['PAGE','32919',jdecode('AH-+Pokal'),jdecode(''),'/32784/32919.html','true',[],'']
	],''],
	['PAGE','11625',jdecode('Gew%E4sser'),jdecode(''),'/11625.html','true',[],''],
	['PAGE','17503',jdecode('Vereinsheim+%22Seemuschel%22'),jdecode(''),'/17503/index.html','true',[ 
		['PAGE','53981',jdecode('Bilder-Galery+-+%22Seemuschel%22'),jdecode(''),'/17503/53981.html','true',[],'']
	],''],
	['PAGE','17003',jdecode('Termine'),jdecode(''),'/17003/index.html','true',[ 
		['PAGE','41756',jdecode('Termine+2012'),jdecode(''),'/17003/41756.html','true',[],'']
	],''],
	['PAGE','43352',jdecode('News'),jdecode(''),'/43352.html','true',[],''],
	['PAGE','65692',jdecode('Download-Center'),jdecode(''),'/65692.html','true',[],''],
	['PAGE','11679',jdecode('Bilder-Galerie'),jdecode(''),'/11679.html','true',[],''],
	['PAGE','28803',jdecode('Presse-u.+Vereins-Archiv'),jdecode(''),'/28803/index.html','true',[ 
		['PAGE','30727',jdecode('Fr%FChere+Artikel'),jdecode(''),'/28803/30727.html','true',[],'']
	],''],
	['PAGE','48554',jdecode('F%F6rderverein'),jdecode(''),'/48554/index.html','true',[ 
		['PAGE','48842',jdecode('Aktuelles'),jdecode(''),'/48554/48842.html','true',[],''],
		['PAGE','48780',jdecode('Vorstandschaft'),jdecode(''),'/48554/48780.html','true',[],''],
		['PAGE','48811',jdecode('Satzung'),jdecode(''),'/48554/48811.html','true',[],'']
	],''],
	['PAGE','48873',jdecode('Partnerverein'),jdecode(''),'/48873.html','true',[],''],
	['PAGE','47456',jdecode('Fischerei-Verband+'),jdecode(''),'/47456.html','true',[],''],
	['PAGE','66003',jdecode('Auto+%26+KFZ'),jdecode(''),'/66003.html','true',[],''],
	['PAGE','66039',jdecode('K%FCchentipp'),jdecode(''),'/66039.html','true',[],''],
	['PAGE','66075',jdecode('Essen+%26+Trinken'),jdecode(''),'/66075.html','true',[],''],
	['PAGE','66111',jdecode('Top+%26+Flop'),jdecode(''),'/66111.html','true',[],''],
	['PAGE','66147',jdecode('Familie'),jdecode(''),'/66147.html','true',[],''],
	['PAGE','66183',jdecode('Wohnen+%26+Bauen'),jdecode(''),'/66183.html','true',[],''],
	['PAGE','66219',jdecode('Reise+%26+Urlaub'),jdecode(''),'/66219.html','true',[],''],
	['PAGE','66255',jdecode('Wetter'),jdecode(''),'/66255.html','true',[],''],
	['PAGE','66291',jdecode('Sport'),jdecode(''),'/66291.html','true',[],''],
	['PAGE','59495',jdecode('Anfahrt'),jdecode(''),'/59495.html','true',[],''],
	['PAGE','36531',jdecode('Kontakt'),jdecode(''),'/36531/index.html','true',[ 
		['PAGE','37011',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/36531/37011.html','false',[],'']
	],''],
	['PAGE','45214',jdecode('G%E4stebuch'),jdecode(''),'/45214/index.html','true',[ 
		['PAGE','45215',jdecode('Eintr%E4ge'),jdecode(''),'/45214/45215.html','true',[],'']
	],''],
	['PAGE','52980',jdecode('Kinderpatenschaft'),jdecode(''),'/52980/index.html','true',[ 
		['PAGE','16439',jdecode('Erster+Situationsbericht'),jdecode(''),'/52980/16439.html','true',[],'']
	],''],
	['PAGE','46177',jdecode('Links'),jdecode(''),'/46177.html','true',[],''],
	['PAGE','16121',jdecode('Impressum'),jdecode(''),'/16121.html','true',[],'']];
var siteelementCount=50;
theSitetree.topTemplateName='NewYork';
					                                                                    
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 */					                                                            

