/* [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('Home'),jdecode(''),'/4466/index.html','true',[ 
		['PAGE','28041',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/4466/28041.html','false',[],'']
	],''],
	['PAGE','9448',jdecode('Felix+Geschichte'),jdecode(''),'/9448.html','true',[],''],
	['PAGE','29143',jdecode('FelixSchatz'),jdecode(''),'/29143.html','true',[],''],
	['PAGE','29208',jdecode('Ohne+Felix'),jdecode(''),'/29208.html','true',[],''],
	['PAGE','14367',jdecode('Skyly'),jdecode(''),'/14367.html','true',[],''],
	['PAGE','9501',jdecode('Willi'),jdecode(''),'/9501.html','true',[],''],
	['PAGE','44530',jdecode('Pumu'),jdecode(''),'/44530.html','true',[],''],
	['PAGE','14399',jdecode('Meine+Rattenm%E4dchen'),jdecode(''),'/14399/index.html','true',[ 
		['PAGE','28359',jdecode('Ashley%26Tockica'),jdecode(''),'/14399/28359.html','true',[],'']
	],''],
	['PAGE','34930',jdecode('Meine+Katzen+nach+Felix'),jdecode(''),'/34930.html','true',[],''],
	['PAGE','37123',jdecode('Tommy'),jdecode(''),'/37123.html','true',[],''],
	['PAGE','50142',jdecode('Tears-Of-Blood+'),jdecode(''),'/50142.html','true',[],''],
	['PAGE','50642',jdecode('Die+Stille'),jdecode(''),'/50642.html','true',[],''],
	['PAGE','50743',jdecode('TOMMY'),jdecode(''),'/50743.html','true',[],''],
	['PAGE','51942',jdecode('Ich+vermisse+dich%21'),jdecode(''),'/51942.html','true',[],''],
	['PAGE','37030',jdecode('Mambo'),jdecode(''),'/37030/index.html','true',[ 
		['PAGE','47030',jdecode('Wie+der+Wind...'),jdecode(''),'/37030/47030.html','true',[],'']
	],''],
	['PAGE','37061',jdecode('Mia'),jdecode(''),'/37061.html','true',[],''],
	['PAGE','37092',jdecode('Kimby'),jdecode(''),'/37092.html','true',[],''],
	['PAGE','38730',jdecode('Kaspar+bring+Leben...'),jdecode(''),'/38730/index.html','true',[ 
		['PAGE','37154',jdecode('Kaspar'),jdecode(''),'/38730/37154.html','true',[],''],
		['PAGE','40830',jdecode('Ungl%FCck'),jdecode(''),'/38730/40830.html','true',[],'']
	],''],
	['PAGE','41430',jdecode('Mambo%26Mali'),jdecode(''),'/41430.html','true',[],''],
	['PAGE','44730',jdecode('Bella'),jdecode(''),'/44730/index.html','true',[ 
		['PAGE','47630',jdecode('Kampf+um+Bellas+Leben'),jdecode(''),'/44730/47630.html','true',[],'']
	],''],
	['PAGE','45630',jdecode('Bezaubernde+Jinny'),jdecode(''),'/45630/index.html','true',[ 
		['PAGE','47123',jdecode('Jinny+ist+kein+Baby+mehr'),jdecode(''),'/45630/47123.html','true',[],'']
	],''],
	['PAGE','14532',jdecode('Pasha'),jdecode(''),'/14532/index.html','true',[ 
		['PAGE','46330',jdecode('Pasha+im+Gl%FCck'),jdecode(''),'/14532/46330.html','true',[],'']
	],''],
	['PAGE','14501',jdecode('Prinzessin+MIMI'),jdecode(''),'/14501.html','true',[],''],
	['PAGE','49042',jdecode('Mizzi'),jdecode(''),'/49042.html','true',[],''],
	['PAGE','32493',jdecode('Die+Sprache'),jdecode(''),'/32493.html','true',[],''],
	['PAGE','35437',jdecode('Das+Jahr+2005'),jdecode(''),'/35437.html','true',[],''],
	['PAGE','37643',jdecode('Abschied'),jdecode(''),'/37643.html','true',[],''],
	['PAGE','36330',jdecode('Links'),jdecode(''),'/36330.html','true',[],''],
	['PAGE','9383',jdecode('G%E4stebuch'),jdecode(''),'/9383/index.html','true',[ 
		['PAGE','9384',jdecode('Eintr%E4ge'),jdecode(''),'/9383/9384.html','true',[],'']
	],''],
	['PAGE','42330',jdecode('Felix-kroatisch'),jdecode(''),'/42330.html','true',[],''],
	['PAGE','38030',jdecode('Impressum'),jdecode(''),'/38030.html','true',[],'']];
var siteelementCount=40;
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 */					                                                            
