/* [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','4595',jdecode('Start'),jdecode(''),'/4595.html','true',[],''],
	['PAGE','41655',jdecode('Life+Revival+Party+2012'),jdecode(''),'/41655.html','true',[],''],
	['PAGE','41251',jdecode('Facebook+%2F+Twitter'),jdecode(''),'/41251.html','true',[],''],
	['PAGE','36323',jdecode('Hit-Voting+2012'),jdecode(''),'/36323.html','true',[],''],
	['PAGE','40156',jdecode('Weblog'),jdecode(''),'/40156.html','true',[],''],
	['PAGE','37842',jdecode('Picco+Rosso+'),jdecode(''),'/37842.html','true',[],''],
	['PAGE','40287',jdecode('History-Team'),jdecode(''),'/40287/index.html','true',[ 
		['PAGE','8633',jdecode('Wolfgang+Koch'),jdecode(''),'/40287/8633.html','true',[],''],
		['PAGE','8660',jdecode('Rainer+Koch+'),jdecode(''),'/40287/8660.html','true',[],''],
		['PAGE','14203',jdecode('Wolfgang+Schmidt'),jdecode(''),'/40287/14203.html','true',[],''],
		['PAGE','14230',jdecode('Kai-Uwe+Sendker'),jdecode(''),'/40287/14230.html','true',[],''],
		['PAGE','4679',jdecode('Die+IDEE'),jdecode(''),'/40287/4679.html','true',[],''],
		['PAGE','8606',jdecode('Phil.+Lichtblicke'),jdecode(''),'/40287/8606.html','true',[],'']
	],''],
	['PAGE','4706',jdecode('Orga-Team+2010'),jdecode(''),'/4706.html','true',[],''],
	['PAGE','8741',jdecode('Ilona+Winter'),jdecode(''),'/8741.html','true',[],''],
	['PAGE','35935',jdecode('Barbara+Braunbehrens'),jdecode(''),'/35935.html','true',[],''],
	['PAGE','4652',jdecode('Das+LIFE+'),jdecode(''),'/4652/index.html','true',[ 
		['PAGE','8230',jdecode('Blick+zur%FCck'),jdecode(''),'/4652/8230.html','true',[],''],
		['PAGE','8257',jdecode('Augenblicke'),jdecode(''),'/4652/8257.html','true',[],'']
	],''],
	['PAGE','41199',jdecode('Party+2011'),jdecode(''),'/41199.html','true',[],''],
	['PAGE','37967',jdecode('Party+2010'),jdecode(''),'/37967.html','true',[],''],
	['PAGE','40255',jdecode('Party+2009'),jdecode(''),'/40255.html','true',[],''],
	['PAGE','38356',jdecode('Party+2008'),jdecode(''),'/38356.html','true',[],''],
	['PAGE','13003',jdecode('Party+2007'),jdecode(''),'/13003.html','true',[],''],
	['PAGE','35966',jdecode('Party+2006'),jdecode(''),'/35966.html','true',[],''],
	['PAGE','18598',jdecode('Party+2005'),jdecode(''),'/18598/index.html','true',[ 
		['PAGE','18625',jdecode('Programm'),jdecode(''),'/18598/18625.html','true',[],'']
	],''],
	['PAGE','5156',jdecode('Party+2004'),jdecode(''),'/5156/index.html','true',[ 
		['PAGE','18544',jdecode('Programm'),jdecode(''),'/5156/18544.html','true',[],''],
		['PAGE','21743',jdecode('PartyBilder'),jdecode(''),'/5156/21743.html','true',[],''],
		['PAGE','10658',jdecode('Anfahrt'),jdecode(''),'/5156/10658.html','true',[],'']
	],''],
	['PAGE','28643',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/28643.html','true',[],''],
	['PAGE','11678',jdecode('Galerie'),jdecode(''),'/11678.html','true',[],''],
	['PAGE','6602',jdecode('G%E4stebuch'),jdecode(''),'/6602/index.html','true',[ 
		['PAGE','6603',jdecode('Eintr%E4ge'),jdecode(''),'/6602/6603.html','true',[],'']
	],''],
	['PAGE','7057',jdecode('Links'),jdecode(''),'/7057/index.html','true',[ 
		['PAGE','8849',jdecode('Partner'),jdecode(''),'/7057/8849.html','true',[],''],
		['PAGE','8876',jdecode('Musik'),jdecode(''),'/7057/8876.html','true',[],''],
		['PAGE','8903',jdecode('Sonstige'),jdecode(''),'/7057/8903.html','true',[],''],
		['PAGE','37748',jdecode('PERSICO'),jdecode(''),'/7057/37748.html','true',[],'']
	],''],
	['PAGE','14257',jdecode('Impressum'),jdecode(''),'/14257.html','true',[],'']];
var siteelementCount=41;
theSitetree.topTemplateName='Speed';
					                                                                    
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 */					                                                            

