/* [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','4555',jdecode('Home'),jdecode(''),'/4555.html','true',[],''],
	['PAGE','24536',jdecode('Info'),jdecode(''),'/24536/index.html','true',[ 
		['PAGE','24563',jdecode('Vita'),jdecode(''),'/24536/24563.html','true',[],''],
		['PAGE','24590',jdecode('Logbuch'),jdecode(''),'/24536/24590.html','true',[],''],
		['PAGE','24617',jdecode('Technique'),jdecode(''),'/24536/24617.html','true',[],'']
	],''],
	['PAGE','52853',jdecode('Lesson'),jdecode(''),'/52853.html','true',[],''],
	['PAGE','24644',jdecode('JUKEBOX'),jdecode(''),'/24644/index.html','true',[ 
		['PAGE','24671',jdecode('Alben'),jdecode(''),'/24644/24671.html','true',[],''],
		['PAGE','24698',jdecode('Singles%2FMaxis'),jdecode(''),'/24644/24698.html','true',[],''],
		['PAGE','24725',jdecode('EPs'),jdecode(''),'/24644/24725.html','true',[],'']
	],''],
	['PAGE','25452',jdecode('Kontakt'),jdecode(''),'/25452/index.html','true',[ 
		['PAGE','25479',jdecode('eMailkontakt'),jdecode(''),'/25452/25479.html','true',[],'']
	],''],
	['PAGE','74952',jdecode('Charts'),jdecode(''),'/74952.html','true',[],''],
	['PAGE','26237',jdecode('Studio'),jdecode(''),'/26237.html','true',[],''],
	['PAGE','190954',jdecode('Galerie'),jdecode(''),'/190954/index.html','true',[ 
		['PAGE','26137',jdecode('Fotos+1'),jdecode(''),'/190954/26137.html','true',[],''],
		['PAGE','49009',jdecode('Fotos+2'),jdecode(''),'/190954/49009.html','true',[],''],
		['PAGE','49421',jdecode('Fotos+3'),jdecode(''),'/190954/49421.html','true',[],''],
		['PAGE','49659',jdecode('Fotos+4'),jdecode(''),'/190954/49659.html','true',[],''],
		['PAGE','55253',jdecode('Fotos+5'),jdecode(''),'/190954/55253.html','true',[],''],
		['PAGE','56253',jdecode('Fotos+6'),jdecode(''),'/190954/56253.html','true',[],'']
	],''],
	['PAGE','26957',jdecode('Feedback'),jdecode(''),'/26957/index.html','true',[ 
		['PAGE','26984',jdecode('Forum'),jdecode(''),'/26957/26984.html','true',[],''],
		['PAGE','27011',jdecode('Voting'),jdecode(''),'/26957/27011.html','true',[],'']
	],''],
	['PAGE','23789',jdecode('G%E4stebuch'),jdecode(''),'/23789/index.html','true',[ 
		['PAGE','23790',jdecode('Eintr%E4ge'),jdecode(''),'/23789/23790.html','true',[],'']
	],''],
	['PAGE','188754',jdecode('Magazin'),jdecode(''),'/188754/index.html','true',[ 
		['PAGE','187754',jdecode('Martin+Gore'),jdecode(''),'/188754/187754.html','true',[],''],
		['PAGE','192752',jdecode('Rammstein'),jdecode(''),'/188754/192752.html','true',[],''],
		['PAGE','223852',jdecode('VNV+Nation'),jdecode(''),'/188754/223852.html','true',[],''],
		['PAGE','242979',jdecode('Neuroticfish%21'),jdecode(''),'/188754/242979.html','true',[],''],
		['PAGE','243252',jdecode('Assemblage+23'),jdecode(''),'/188754/243252.html','true',[],''],
		['PAGE','243652',jdecode('Depeche+Mode'),jdecode(''),'/188754/243652.html','true',[],''],
		['PAGE','421420',jdecode('Dave+Gahan'),jdecode(''),'/188754/421420.html','true',[],''],
		['PAGE','297452',jdecode('Covenant'),jdecode(''),'/188754/297452.html','true',[],''],
		['PAGE','308152',jdecode('Killing+Joke'),jdecode(''),'/188754/308152.html','true',[],''],
		['PAGE','401663',jdecode('Propaganda'),jdecode(''),'/188754/401663.html','true',[],'']
	],''],
	['PAGE','46808',jdecode('Links'),jdecode(''),'/46808.html','true',[],''],
	['PAGE','30115',jdecode('FUTURE+SCOURGE%21'),jdecode(''),'/30115/index.html','true',[ 
		['PAGE','30142',jdecode('ALBEN'),jdecode(''),'/30115/30142.html','true',[],'']
	],''],
	['PAGE','426207',jdecode('MT-PACT'),jdecode(''),'/426207.html','true',[],'']];
var siteelementCount=41;
theSitetree.topTemplateName='Akropolis';
					                                                                    
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 */					                                                            
