/* [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','1312',jdecode('Home'),jdecode(''),'/1312.html','true',[],''],
	['PAGE','19207',jdecode('Yoga%2C+der+Weg'),jdecode(''),'/19207/index.html','true',[ 
		['PAGE','5102',jdecode('Yoga-Haltungen'),jdecode(''),'/19207/5102.html','true',[],'']
	],''],
	['PAGE','6137',jdecode('Kurse+und+Seminare'),jdecode(''),'/6137/index.html','true',[ 
		['PAGE','32154',jdecode('Programm-Details'),jdecode(''),'/6137/32154.html','true',[],''],
		['PAGE','37187',jdecode('Viveka+Programm'),jdecode(''),'/6137/37187.html','true',[],'']
	],''],
	['PAGE','48587',jdecode('Yoga+am+Pillersee'),jdecode(''),'/48587/index.html','true',[ 
		['PAGE','45125',jdecode('Pillersee+2007'),jdecode(''),'/48587/45125.html','true',[],''],
		['PAGE','48614',jdecode('Pillersee+08+-+2009'),jdecode(''),'/48587/48614.html','true',[],''],
		['PAGE','58287',jdecode('Pillersee+10+-+2011'),jdecode(''),'/48587/58287.html','true',[],''],
		['PAGE','35633',jdecode('Pillersee-Album'),jdecode(''),'/48587/35633.html','true',[],''],
		['PAGE','58589',jdecode('Album+ab+2009'),jdecode(''),'/48587/58589.html','true',[],'']
	],''],
	['PAGE','64298',jdecode('Vorstellstunden+BDY'),jdecode(''),'/64298.html','true',[],''],
	['PAGE','24307',jdecode('Einzelstunden'),jdecode(''),'/24307.html','true',[],''],
	['PAGE','22307',jdecode('Reiki'),jdecode(''),'/22307.html','true',[],''],
	['PAGE','19441',jdecode('Portrait'),jdecode(''),'/19441.html','true',[],''],
	['PAGE','20807',jdecode('Anmeldung+%2F+Kontakt'),jdecode(''),'/20807/index.html','true',[ 
		['PAGE','25815',jdecode('Links'),jdecode(''),'/20807/25815.html','true',[],''],
		['PAGE','54770',jdecode('Informationen'),jdecode(''),'/20807/54770.html','true',[],'']
	],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Dots';
					                                                                    
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 */					                                                            

