/* [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','4554',jdecode('Home'),jdecode(''),'/4554.html','true',[],''],
	['PAGE','71045',jdecode('English+Version'),jdecode(''),'/71045.html','true',[],''],
	['PAGE','4611',jdecode('Wir+%FCber+uns'),jdecode(''),'/4611/index.html','true',[ 
		['PAGE','25358',jdecode('Kachoe+Ghakyil+Ling+Kloster'),jdecode(''),'/4611/25358.html','true',[],''],
		['PAGE','25619',jdecode('Sponsoren%2FPatenschaften'),jdecode(''),'/4611/25619.html','true',[],''],
		['PAGE','30716',jdecode('TRC+Kathmandu'),jdecode(''),'/4611/30716.html','true',[],''],
		['PAGE','24816',jdecode('Gebet+als+Geschenk'),jdecode(''),'/4611/24816.html','true',[],''],
		['PAGE','37416',jdecode('Tara-Puja'),jdecode(''),'/4611/37416.html','true',[],''],
		['PAGE','103206',jdecode('THF+Mussoorie'),jdecode(''),'/4611/103206.html','true',[],''],
		['PAGE','128708',jdecode('Khari+Dhogon'),jdecode(''),'/4611/128708.html','true',[],'']
	],''],
	['PAGE','74846',jdecode('Spirituelle+Hilfe'),jdecode(''),'/74846/index.html','true',[ 
		['PAGE','93490',jdecode('Gebete+1'),jdecode(''),'/74846/93490.html','true',[],''],
		['PAGE','94193',jdecode('Gebete+2'),jdecode(''),'/74846/94193.html','true',[],''],
		['PAGE','98213',jdecode('Rigtrul+Rinpoche+la'),jdecode(''),'/74846/98213.html','true',[],''],
		['PAGE','102506',jdecode('Vajrasattva'),jdecode(''),'/74846/102506.html','true',[],''],
		['PAGE','108406',jdecode('Taratanzkommentar'),jdecode(''),'/74846/108406.html','true',[],''],
		['PAGE','113834',jdecode('Das+Offene+Herz'),jdecode(''),'/74846/113834.html','true',[],''],
		['PAGE','116406',jdecode('Lama+Yeshe'),jdecode(''),'/74846/116406.html','true',[],''],
		['PAGE','130008',jdecode('Sch%FCtzer'),jdecode(''),'/74846/130008.html','true',[],''],
		['PAGE','131008',jdecode('Tod+und+Sterben'),jdecode(''),'/74846/131008.html','true',[],''],
		['PAGE','140708',jdecode('Manjushri+Gebet'),jdecode(''),'/74846/140708.html','true',[],'']
	],''],
	['PAGE','130140',jdecode('Projekte'),jdecode(''),'/130140/index.html','true',[ 
		['PAGE','118610',jdecode('Khari+Kloster'),jdecode(''),'/130140/118610.html','true',[],''],
		['PAGE','140739',jdecode('Khari+Gompa'),jdecode(''),'/130140/140739.html','true',[],''],
		['PAGE','131142',jdecode('Lelung+Kloster'),jdecode(''),'/130140/131142.html','true',[],'']
	],''],
	['PAGE','4665',jdecode('Satzung'),jdecode(''),'/4665.html','true',[],''],
	['PAGE','14862',jdecode('Mitgliedschaft'),jdecode(''),'/14862/index.html','true',[ 
		['PAGE','20603',jdecode('Antrag'),jdecode(''),'/14862/20603.html','true',[],''],
		['PAGE','67745',jdecode('english+version'),jdecode(''),'/14862/67745.html','true',[],''],
		['PAGE','94438',jdecode('Patenschaftsantrag'),jdecode(''),'/14862/94438.html','true',[],'']
	],''],
	['PAGE','32016',jdecode('Patenschaften+gesucht%3A'),jdecode(''),'/32016/index.html','true',[ 
		['PAGE','148794',jdecode('Tenzin+Donsal'),jdecode(''),'/32016/148794.html','true',[],''],
		['PAGE','150839',jdecode('Ngawang+Paldon'),jdecode(''),'/32016/150839.html','true',[],''],
		['PAGE','151056',jdecode('Iswari'),jdecode(''),'/32016/151056.html','true',[],''],
		['PAGE','151087',jdecode('Tsering+Norbu+Lama'),jdecode(''),'/32016/151087.html','true',[],''],
		['PAGE','155301',jdecode('Saru'),jdecode(''),'/32016/155301.html','true',[],''],
		['PAGE','155332',jdecode('Dija'),jdecode(''),'/32016/155332.html','true',[],''],
		['PAGE','157916',jdecode('Pemba+Diku'),jdecode(''),'/32016/157916.html','true',[],''],
		['PAGE','159508',jdecode('Sonja+Maharjan'),jdecode(''),'/32016/159508.html','true',[],''],
		['PAGE','159539',jdecode('Bishar'),jdecode(''),'/32016/159539.html','true',[],''],
		['PAGE','159570',jdecode('Elison+Maharjan'),jdecode(''),'/32016/159570.html','true',[],''],
		['PAGE','159632',jdecode('Tenzin+Dolma'),jdecode(''),'/32016/159632.html','true',[],''],
		['PAGE','159663',jdecode('Tenzin+Norgye'),jdecode(''),'/32016/159663.html','true',[],''],
		['PAGE','159694',jdecode('Karsang+Sherpa'),jdecode(''),'/32016/159694.html','true',[],''],
		['PAGE','159725',jdecode('Tashi+Dhondup'),jdecode(''),'/32016/159725.html','true',[],''],
		['PAGE','162074',jdecode('Kamal+Ji'),jdecode(''),'/32016/162074.html','true',[],''],
		['PAGE','162105',jdecode('Namuna'),jdecode(''),'/32016/162105.html','true',[],''],
		['PAGE','162812',jdecode('2+Nonnen'),jdecode(''),'/32016/162812.html','true',[],''],
		['PAGE','163912',jdecode('Yangzom'),jdecode(''),'/32016/163912.html','true',[],'']
	],''],
	['PAGE','4692',jdecode('Spendenkonto'),jdecode(''),'/4692.html','true',[],''],
	['PAGE','4719',jdecode('Kontakte'),jdecode(''),'/4719.html','true',[],''],
	['PAGE','19449',jdecode('Links'),jdecode(''),'/19449.html','true',[],''],
	['PAGE','157537',jdecode('Nepal+2008%2F2009'),jdecode(''),'/157537/index.html','true',[ 
		['PAGE','158508',jdecode('Bilder+08%2F09'),jdecode(''),'/157537/158508.html','true',[],'']
	],''],
	['PAGE','159208',jdecode('Nepal+Ostern+2009'),jdecode(''),'/159208.html','true',[],''],
	['PAGE','161612',jdecode('Nepal+Sommer+2009'),jdecode(''),'/161612.html','true',[],''],
	['PAGE','163312',jdecode('Reisebericht++Nepal+2009%2F2010'),jdecode(''),'/163312.html','true',[],''],
	['PAGE','163612',jdecode('Nepal+Mai+2010'),jdecode(''),'/163612.html','true',[],''],
	['PAGE','163706',jdecode('Khari-Gompa'),jdecode(''),'/163706.html','true',[],''],
	['PAGE','164012',jdecode('Indien-Reise+Juli+2010'),jdecode(''),'/164012.html','true',[],''],
	['PAGE','156312',jdecode('Kopan+Nunnery'),jdecode(''),'/156312/index.html','true',[ 
		['PAGE','156369',jdecode('25+Nonnen'),jdecode(''),'/156312/156369.html','true',[],'']
	],''],
	['PAGE','157239',jdecode('Kloster+Kopan'),jdecode(''),'/157239.html','true',[],''],
	['PAGE','33616',jdecode('Veranstaltungshinweise'),jdecode(''),'/33616.html','true',[],''],
	['PAGE','89898',jdecode('Aktuell'),jdecode(''),'/89898.html','true',[],''],
	['PAGE','21801',jdecode('G%E4stebuch'),jdecode(''),'/21801/index.html','true',[ 
		['PAGE','21802',jdecode('Eintr%E4ge'),jdecode(''),'/21801/21802.html','true',[],'']
	],''],
	['PAGE','43216',jdecode('Impressum'),jdecode(''),'/43216.html','true',[],'']];
var siteelementCount=68;
theSitetree.topTemplateName='Profile';
					                                                                    
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 */					                                                            
