/* [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','46595',jdecode('Home+-+english'),jdecode(''),'/4466/46595.html','true',[],'']
	],''],
	['PAGE','9725',jdecode('Meine+Arbeit'),jdecode(''),'/9725/index.html','true',[ 
		['PAGE','46626',jdecode('My+work+-english'),jdecode(''),'/9725/46626.html','true',[],''],
		['PAGE','21401',jdecode('Welten+in+Dir'),jdecode(''),'/9725/21401.html','true',[],''],
		['PAGE','24401',jdecode('Die+Eintrittspforten'),jdecode(''),'/9725/24401.html','true',[],''],
		['PAGE','21501',jdecode('Kronenchakra'),jdecode(''),'/9725/21501.html','true',[],''],
		['PAGE','21601',jdecode('Ajna+Chakra'),jdecode(''),'/9725/21601.html','true',[],''],
		['PAGE','22401',jdecode('Stirnchakra'),jdecode(''),'/9725/22401.html','true',[],''],
		['PAGE','22432',jdecode('Halschakra'),jdecode(''),'/9725/22432.html','true',[],''],
		['PAGE','22463',jdecode('Herzchakra'),jdecode(''),'/9725/22463.html','true',[],''],
		['PAGE','22494',jdecode('Solar+Plexus+Chakra'),jdecode(''),'/9725/22494.html','true',[],''],
		['PAGE','24201',jdecode('Meng-Mein-Chakra'),jdecode(''),'/9725/24201.html','true',[],''],
		['PAGE','24232',jdecode('Milzchakra'),jdecode(''),'/9725/24232.html','true',[],''],
		['PAGE','24263',jdecode('Sexual-Chakra'),jdecode(''),'/9725/24263.html','true',[],''],
		['PAGE','24294',jdecode('Wurzel-Chkakra'),jdecode(''),'/9725/24294.html','true',[],'']
	],''],
	['PAGE','9632',jdecode('%DCber+mich'),jdecode(''),'/9632.html','true',[],''],
	['PAGE','9663',jdecode('Behandlungen'),jdecode(''),'/9663.html','true',[],''],
	['PAGE','40395',jdecode('AKTUELLES'),jdecode(''),'/40395.html','true',[],''],
	['PAGE','9694',jdecode('Kontakt'),jdecode(''),'/9694.html','true',[],''],
	['PAGE','9801',jdecode('Links'),jdecode(''),'/9801.html','true',[],''],
	['PAGE','43296',jdecode('Lichtarbeiter+Blog'),jdecode(''),'/43296.html','true',[],''],
	['PAGE','18307',jdecode('Sternenkreis'),jdecode(''),'/18307/index.html','true',[ 
		['PAGE','43695',jdecode('Michael+19.01.2008'),jdecode(''),'/18307/43695.html','true',[],''],
		['PAGE','40095',jdecode('Michael+Januar+2007'),jdecode(''),'/18307/40095.html','true',[],''],
		['PAGE','39895',jdecode('Michael+16.12.2006'),jdecode(''),'/18307/39895.html','true',[],''],
		['PAGE','38305',jdecode('Michael+14.01.06'),jdecode(''),'/18307/38305.html','true',[],''],
		['PAGE','37995',jdecode('Raphael+24.09.2005'),jdecode(''),'/18307/37995.html','true',[],''],
		['PAGE','35395',jdecode('Michael+13.08.2005'),jdecode(''),'/18307/35395.html','true',[],''],
		['PAGE','35195',jdecode('Maria+13.03.2005'),jdecode(''),'/18307/35195.html','true',[],''],
		['PAGE','34637',jdecode('Sananda+11.12.2004'),jdecode(''),'/18307/34637.html','true',[],''],
		['PAGE','31001',jdecode('Sananda+06.10.2004'),jdecode(''),'/18307/31001.html','true',[],''],
		['PAGE','31701',jdecode('12.03.2004'),jdecode(''),'/18307/31701.html','true',[],''],
		['PAGE','33201',jdecode('08.12.2002+%281.+Teil%29'),jdecode(''),'/18307/33201.html','true',[],''],
		['PAGE','33504',jdecode('08.12.2002+%282.+Teil%29'),jdecode(''),'/18307/33504.html','true',[],''],
		['PAGE','33664',jdecode('08.12.2002+%283.+Teil%29'),jdecode(''),'/18307/33664.html','true',[],'']
	],''],
	['PAGE','25301',jdecode('Die+Hohen+Meister'),jdecode(''),'/25301.html','true',[],''],
	['PAGE','42196',jdecode('Sydney+Australien'),jdecode(''),'/42196.html','true',[],''],
	['PAGE','34602',jdecode('Gesundheit'),jdecode(''),'/34602.html','true',[],''],
	['PAGE','47679',jdecode('G%E4stebuch'),jdecode(''),'/47679/index.html','true',[ 
		['PAGE','47680',jdecode('Eintr%E4ge'),jdecode(''),'/47679/47680.html','true',[],'']
	],'']];
var siteelementCount=41;
theSitetree.topTemplateName='Stars';
					                                                                    
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 */					                                                            
