/* [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','4481',jdecode('Home'),jdecode(''),'/4481.html','true',[],''],
	['PAGE','9227',jdecode('Mitglieder'),jdecode(''),'/9227.html','true',[],''],
	['PAGE','19528',jdecode('Auftritte'),jdecode(''),'/19528/index.html','true',[ 
		['PAGE','110054',jdecode('Auftritt+2010'),jdecode(''),'/19528/110054.html','true',[],''],
		['PAGE','102455',jdecode('Auftritt+2009'),jdecode(''),'/19528/102455.html','true',[],''],
		['PAGE','95951',jdecode('Auftritt+2008'),jdecode(''),'/19528/95951.html','true',[],''],
		['PAGE','86867',jdecode('Auftritt+2007'),jdecode(''),'/19528/86867.html','true',[],''],
		['PAGE','83760',jdecode('Auftritt+2006'),jdecode(''),'/19528/83760.html','true',[],''],
		['PAGE','19559',jdecode('Auftritt+2005'),jdecode(''),'/19528/19559.html','true',[],''],
		['PAGE','20291',jdecode('Auftritt+2004'),jdecode(''),'/19528/20291.html','true',[],''],
		['PAGE','20322',jdecode('Auftritt+2003'),jdecode(''),'/19528/20322.html','true',[],''],
		['PAGE','20353',jdecode('Auftritt+2002'),jdecode(''),'/19528/20353.html','true',[],''],
		['PAGE','20384',jdecode('Auftritt+2001'),jdecode(''),'/19528/20384.html','true',[],''],
		['PAGE','20415',jdecode('Auftritt+2000'),jdecode(''),'/19528/20415.html','true',[],''],
		['PAGE','20446',jdecode('Auftritt+1999'),jdecode(''),'/19528/20446.html','true',[],'']
	],''],
	['PAGE','20091',jdecode('Texte'),jdecode(''),'/20091/index.html','true',[ 
		['PAGE','115154',jdecode('Texte+2010'),jdecode(''),'/20091/115154.html','true',[],''],
		['PAGE','102486',jdecode('Texte+2009'),jdecode(''),'/20091/102486.html','true',[],''],
		['PAGE','97762',jdecode('Texte+2008'),jdecode(''),'/20091/97762.html','true',[],''],
		['PAGE','86898',jdecode('Texte+2007'),jdecode(''),'/20091/86898.html','true',[],''],
		['PAGE','83994',jdecode('Texte+2006'),jdecode(''),'/20091/83994.html','true',[],''],
		['PAGE','20184',jdecode('Texte+2005'),jdecode(''),'/20091/20184.html','true',[],''],
		['PAGE','20477',jdecode('Texte+2004'),jdecode(''),'/20091/20477.html','true',[],''],
		['PAGE','20508',jdecode('Texte+2003'),jdecode(''),'/20091/20508.html','true',[],''],
		['PAGE','20539',jdecode('Texte+2002'),jdecode(''),'/20091/20539.html','true',[],''],
		['PAGE','20570',jdecode('Texte+2001'),jdecode(''),'/20091/20570.html','true',[],''],
		['PAGE','20601',jdecode('Texte+2000'),jdecode(''),'/20091/20601.html','true',[],''],
		['PAGE','20632',jdecode('Texte+1999'),jdecode(''),'/20091/20632.html','true',[],'']
	],''],
	['PAGE','59389',jdecode('Entstehung'),jdecode(''),'/59389.html','true',[],''],
	['PAGE','82851',jdecode('Proben'),jdecode(''),'/82851/index.html','true',[ 
		['PAGE','34216',jdecode('Probenbilder'),jdecode(''),'/82851/34216.html','true',[],''],
		['PAGE','82815',jdecode('Studiobilder'),jdecode(''),'/82851/82815.html','true',[],'']
	],''],
	['PAGE','47914',jdecode('Nachwuchs'),jdecode(''),'/47914/index.html','true',[ 
		['PAGE','97454',jdecode('Wanne-Kids'),jdecode(''),'/47914/97454.html','true',[],''],
		['PAGE','97641',jdecode('Minis'),jdecode(''),'/47914/97641.html','true',[],''],
		['PAGE','84306',jdecode('Youngstars'),jdecode(''),'/47914/84306.html','true',[],''],
		['PAGE','97672',jdecode('Teenies'),jdecode(''),'/47914/97672.html','true',[],'']
	],''],
	['PAGE','24516',jdecode('Pressestimmen'),jdecode(''),'/24516.html','true',[],''],
	['PAGE','114454',jdecode('Aktionen'),jdecode(''),'/114454/index.html','true',[ 
		['PAGE','109454',jdecode('Jecken-Jubi-Party+2009'),jdecode(''),'/114454/109454.html','true',[],''],
		['PAGE','105054',jdecode('Umzug+Hofbieber+2008'),jdecode(''),'/114454/105054.html','true',[],''],
		['PAGE','117063',jdecode('Wolferts+2011'),jdecode(''),'/114454/117063.html','true',[],''],
		['PAGE','117125',jdecode('Festwochenende+2011'),jdecode(''),'/114454/117125.html','true',[],''],
		['PAGE','117094',jdecode('Gewerbetag+2011'),jdecode(''),'/114454/117094.html','true',[],'']
	],''],
	['PAGE','49245',jdecode('Geschichte'),jdecode(''),'/49245/index.html','true',[ 
		['PAGE','49214',jdecode('1997'),jdecode(''),'/49245/49214.html','true',[],''],
		['PAGE','49276',jdecode('1996'),jdecode(''),'/49245/49276.html','true',[],''],
		['PAGE','49307',jdecode('1995'),jdecode(''),'/49245/49307.html','true',[],''],
		['PAGE','18432',jdecode('%C4lter'),jdecode(''),'/49245/18432.html','true',[],'']
	],''],
	['PAGE','99755',jdecode('Runde+Geburtstage'),jdecode(''),'/99755/index.html','true',[ 
		['PAGE','100118',jdecode('Matthias+40.+Geburtstag'),jdecode(''),'/99755/100118.html','true',[],''],
		['PAGE','100087',jdecode('G%FCnthers+40.+Geburtstag'),jdecode(''),'/99755/100087.html','true',[],''],
		['PAGE','100180',jdecode('Bernhards+40.+Geburtstag'),jdecode(''),'/99755/100180.html','true',[],''],
		['PAGE','100149',jdecode('Michaels+40.+Geburtstag'),jdecode(''),'/99755/100149.html','true',[],''],
		['PAGE','100211',jdecode('Ritas+40.+Geburtstag'),jdecode(''),'/99755/100211.html','true',[],''],
		['PAGE','99791',jdecode('Stephans+40.+Geburtstag'),jdecode(''),'/99755/99791.html','true',[],''],
		['PAGE','102151',jdecode('Annettes+40.+Geburtstag'),jdecode(''),'/99755/102151.html','true',[],'']
	],''],
	['PAGE','19590',jdecode('Links'),jdecode(''),'/19590.html','true',[],''],
	['PAGE','19002',jdecode('G%E4stebuch'),jdecode(''),'/19002/index.html','true',[ 
		['PAGE','19003',jdecode('Eintr%E4ge'),jdecode(''),'/19002/19003.html','true',[],'']
	],''],
	['PAGE','20831',jdecode('Kontakt'),jdecode(''),'/20831/index.html','true',[ 
		['PAGE','35324',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/20831/35324.html','false',[],'']
	],'']];
var siteelementCount=62;
theSitetree.topTemplateName='Strom';
					                                                                    
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 */					                                                            

