/* [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','4871',jdecode('SEMINARE%2FTERMINE'),jdecode(''),'/4871.html','true',[],''],
	['PAGE','4598',jdecode('Lichts%E4ule+Karlsruhe'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','67863',jdecode('KABBALAH'),jdecode(''),'/67863.html','true',[],''],
	['PAGE','273965',jdecode('%DCber+meine+Person'),jdecode(''),'/273965.html','true',[],''],
	['PAGE','4655',jdecode('Referenzen%2FZertifizierungen'),jdecode(''),'/4655/index.html','true',[ 
		['PAGE','4736',jdecode('Meine+Adresse%2Fthe+Adress'),jdecode(''),'/4655/4736.html','true',[],'']
	],''],
	['PAGE','87022',jdecode('MEINER+ARBEIT'),jdecode(''),'/87022/index.html','true',[ 
		['PAGE','213534',jdecode('BURN-OUT'),jdecode(''),'/87022/213534.html','true',[],''],
		['PAGE','153822',jdecode('MindLINK'),jdecode(''),'/87022/153822.html','true',[],''],
		['PAGE','170076',jdecode('ILP+Coaching'),jdecode(''),'/87022/170076.html','true',[],'']
	],''],
	['PAGE','268422',jdecode('FENG+SHUI+Harmonie'),jdecode(''),'/268422.html','true',[],''],
	['PAGE','45065',jdecode('ENGEL+-+Erzengel+-'),jdecode(''),'/45065.html','true',[],''],
	['PAGE','274151',jdecode('Erzengelbeschreibung'),jdecode(''),'/274151.html','true',[],''],
	['PAGE','154022',jdecode('SOFRI+KOSMETIK'),jdecode(''),'/154022/index.html','true',[ 
		['PAGE','71531',jdecode('BIOPHOTONENSCHEIBEN'),jdecode(''),'/154022/71531.html','true',[],''],
		['PAGE','74422',jdecode('ENERGIE+der+CHAKREN'),jdecode(''),'/154022/74422.html','true',[],'']
	],''],
	['PAGE','79236',jdecode('REIKI-SCHULE-KA'),jdecode(''),'/79236/index.html','true',[ 
		['PAGE','80622',jdecode('Reiki+Grad+I'),jdecode(''),'/79236/80622.html','true',[],''],
		['PAGE','80653',jdecode('Reiki+Grad+2'),jdecode(''),'/79236/80653.html','true',[],''],
		['PAGE','80684',jdecode('Reiki++III+Meistergrad'),jdecode(''),'/79236/80684.html','true',[],''],
		['PAGE','80715',jdecode('Reiki+IV+Lehrergrad'),jdecode(''),'/79236/80715.html','true',[],'']
	],''],
	['PAGE','4844',jdecode('EMF+BALANCING+'),jdecode(''),'/4844/index.html','true',[ 
		['PAGE','53865',jdecode('Phase+I'),jdecode(''),'/4844/53865.html','true',[],''],
		['PAGE','53892',jdecode('Phase+II'),jdecode(''),'/4844/53892.html','true',[],''],
		['PAGE','53919',jdecode('Phase+III'),jdecode(''),'/4844/53919.html','true',[],''],
		['PAGE','53946',jdecode('Phase+IV'),jdecode(''),'/4844/53946.html','true',[],''],
		['PAGE','61963',jdecode('Kurzbeschreibung+'),jdecode(''),'/4844/61963.html','true',[],'']
	],''],
	['PAGE','52165',jdecode('AURA-SOMA'),jdecode(''),'/52165/index.html','true',[ 
		['PAGE','83022',jdecode('SUBTLE+ENERGY+MASSAGE'),jdecode(''),'/52165/83022.html','true',[],'']
	],''],
	['PAGE','5006',jdecode('Kontakt'),jdecode(''),'/5006.html','true',[],''],
	['PAGE','68094',jdecode('Links+'),jdecode(''),'/68094.html','true',[],''],
	['PAGE','75922',jdecode('Impressum'),jdecode(''),'/75922.html','true',[],''],
	['PAGE','75967',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/75967/index.html','true',[ 
		['PAGE','75997',jdecode('Weblog'),jdecode(''),'/75967/75997.html','true',[],'']
	],''],
	['PAGE','86423',jdecode('Fotoalbum+'),jdecode(''),'/86423.html','true',[],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Garden';
					                                                                    
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 */					                                                            
