/* [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','1112',jdecode('Home'),jdecode(''),'/1112.html','true',[],''],
	['PAGE','13206',jdecode('Tourdaten'),jdecode(''),'/13206.html','true',[],''],
	['PAGE','36601',jdecode('Treacy+unplugged'),jdecode(''),'/36601.html','true',[],''],
	['PAGE','36701',jdecode('Treacyoke'),jdecode(''),'/36701.html','true',[],''],
	['PAGE','179901',jdecode('The+Treagles'),jdecode(''),'/179901.html','true',[],''],
	['PAGE','256456',jdecode('G%E4stebuch'),jdecode(''),'/256456.html','true',[],''],
	['PAGE','182610',jdecode('Treacy%B4s+Songs'),jdecode(''),'/182610.html','true',[],''],
	['PAGE','36731',jdecode('Band-Info'),jdecode(''),'/36731/index.html','true',[ 
		['PAGE','36851',jdecode('Happy+Arnold'),jdecode(''),'/36731/36851.html','true',[],''],
		['PAGE','36821',jdecode('Michael+B%E4r'),jdecode(''),'/36731/36821.html','true',[],''],
		['PAGE','36791',jdecode('Andreas+Bock'),jdecode(''),'/36731/36791.html','true',[],''],
		['PAGE','36881',jdecode('Stefan+Buchholz'),jdecode(''),'/36731/36881.html','true',[],''],
		['PAGE','36761',jdecode('Se%E1n+Treacy'),jdecode(''),'/36731/36761.html','true',[],'']
	],''],
	['PAGE','189601',jdecode('Treacy+-+Chat'),jdecode(''),'/189601.html','true',[],''],
	['PAGE','37361',jdecode('unsere+Crew'),jdecode(''),'/37361.html','true',[],''],
	['PAGE','56604',jdecode('Fanclub%2FFotoarchiv'),jdecode(''),'/56604.html','true',[],''],
	['PAGE','110999',jdecode('Presse-Ecke'),jdecode(''),'/110999/index.html','true',[ 
		['PAGE','37151',jdecode('Technical+Rider'),jdecode(''),'/110999/37151.html','true',[],''],
		['PAGE','37211',jdecode('Downloads'),jdecode(''),'/110999/37211.html','true',[],''],
		['PAGE','60501',jdecode('Referenzen'),jdecode(''),'/110999/60501.html','true',[],''],
		['PAGE','37001',jdecode('Repertoire'),jdecode(''),'/110999/37001.html','true',[],'']
	],''],
	['PAGE','37301',jdecode('Links'),jdecode(''),'/37301.html','true',[],''],
	['PAGE','13236',jdecode('Kontakt+%26+Impressum'),jdecode(''),'/13236/index.html','true',[ 
		['PAGE','38908',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13236/38908.html','false',[],''],
		['PAGE','13273',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13236/13273.html','false',[],'']
	],'']];
var siteelementCount=25;
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 */					                                                            
