/* [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','4466',jdecode('welcome'),jdecode(''),'/4466/index.html','true',[ 
		['PAGE','4701',jdecode('news'),jdecode(''),'/4466/4701.html','true',[],''],
		['PAGE','19101',jdecode('special+voting+1'),jdecode(''),'/4466/19101.html','true',[],''],
		['PAGE','39604',jdecode('special+voting+2'),jdecode(''),'/4466/39604.html','true',[],''],
		['PAGE','39701',jdecode('special+voting+3'),jdecode(''),'/4466/39701.html','true',[],'']
	],''],
	['PAGE','74370',jdecode('PROMO-LIVE-TOUR'),jdecode(''),'/74370.html','true',[],''],
	['PAGE','20401',jdecode('sound+and+video'),jdecode(''),'/20401.html','true',[],''],
	['PAGE','10532',jdecode('history'),jdecode(''),'/10532/index.html','true',[ 
		['PAGE','37632',jdecode('die+mm-story'),jdecode(''),'/10532/37632.html','true',[],''],
		['PAGE','37601',jdecode('the+mm-story+%28english%29'),jdecode(''),'/10532/37601.html','true',[],''],
		['PAGE','19901',jdecode('pics'),jdecode(''),'/10532/19901.html','true',[],''],
		['PAGE','62101',jdecode('mm-portraits-pics'),jdecode(''),'/10532/62101.html','true',[],'']
	],''],
	['PAGE','10501',jdecode('tour+dates'),jdecode(''),'/10501.html','true',[],''],
	['PAGE','51801',jdecode('pics+rmn-interview'),jdecode(''),'/51801.html','true',[],''],
	['PAGE','4901',jdecode('tour+pics'),jdecode(''),'/4901/index.html','true',[ 
		['PAGE','71701',jdecode('russia+2005'),jdecode(''),'/4901/71701.html','true',[],''],
		['PAGE','18801',jdecode('Mexiko+2004'),jdecode(''),'/4901/18801.html','true',[],''],
		['PAGE','18832',jdecode('Dresden+2004'),jdecode(''),'/4901/18832.html','true',[],''],
		['PAGE','62132',jdecode('netherlands+2003'),jdecode(''),'/4901/62132.html','true',[],''],
		['PAGE','62001',jdecode('poland+2002'),jdecode(''),'/4901/62001.html','true',[],''],
		['PAGE','62032',jdecode('mexico+1986'),jdecode(''),'/4901/62032.html','true',[],''],
		['PAGE','62201',jdecode('other+gigs'),jdecode(''),'/4901/62201.html','true',[],'']
	],''],
	['PAGE','18901',jdecode('all+records'),jdecode(''),'/18901/index.html','true',[ 
		['PAGE','19594',jdecode('2000+to+2004'),jdecode(''),'/18901/19594.html','true',[],''],
		['PAGE','19563',jdecode('1995+to+1999'),jdecode(''),'/18901/19563.html','true',[],''],
		['PAGE','19532',jdecode('1991+to+1994'),jdecode(''),'/18901/19532.html','true',[],''],
		['PAGE','19501',jdecode('1986+to+1990'),jdecode(''),'/18901/19501.html','true',[],''],
		['PAGE','19432',jdecode('1980+to+1985'),jdecode(''),'/18901/19432.html','true',[],''],
		['PAGE','54201',jdecode('mm-projects'),jdecode(''),'/18901/54201.html','true',[],''],
		['PAGE','19401',jdecode('mm+at+the+70s'),jdecode(''),'/18901/19401.html','true',[],''],
		['PAGE','55501',jdecode('bootlegs+%28raubkopien%29'),jdecode(''),'/18901/55501.html','true',[],'']
	],''],
	['PAGE','69938',jdecode('MM-FANSHOP'),jdecode(''),'/69938.html','true',[],''],
	['PAGE','69201',jdecode('ORDER+mm-releases'),jdecode(''),'/69201/index.html','true',[ 
		['PAGE','69314',jdecode('ORDER+Releases+%28Folgeseite%29'),jdecode(''),'/69201/69314.html','false',[],'']
	],''],
	['PAGE','19201',jdecode('lyrics+archive'),jdecode(''),'/19201/index.html','true',[ 
		['PAGE','20001',jdecode('a+-+c'),jdecode(''),'/19201/20001.html','true',[],''],
		['PAGE','20101',jdecode('d+-+g'),jdecode(''),'/19201/20101.html','true',[],''],
		['PAGE','20132',jdecode('h+-+k'),jdecode(''),'/19201/20132.html','true',[],''],
		['PAGE','20163',jdecode('l+-+o'),jdecode(''),'/19201/20163.html','true',[],''],
		['PAGE','20194',jdecode('p+-+s'),jdecode(''),'/19201/20194.html','true',[],''],
		['PAGE','20301',jdecode('t+-+z'),jdecode(''),'/19201/20301.html','true',[],'']
	],''],
	['PAGE','19001',jdecode('production'),jdecode(''),'/19001/index.html','true',[ 
		['PAGE','19305',jdecode('studios'),jdecode(''),'/19001/19305.html','true',[],'']
	],''],
	['PAGE','12802',jdecode('guestbook'),jdecode(''),'/12802/index.html','true',[ 
		['PAGE','12803',jdecode('guestbook+entries'),jdecode(''),'/12802/12803.html','true',[],'']
	],''],
	['PAGE','19701',jdecode('contact'),jdecode(''),'/19701.html','true',[],''],
	['PAGE','4801',jdecode('impressum'),jdecode(''),'/4801.html','true',[],''],
	['PAGE','19732',jdecode('disclaimer'),jdecode(''),'/19732.html','true',[],''],
	['PAGE','20501',jdecode('links'),jdecode(''),'/20501.html','true',[],'']];
var siteelementCount=49;
theSitetree.topTemplateName='Orbit';
					                                                                    
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 */					                                                            
