/* [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','1112',jdecode('Startseite'),jdecode(''),'/1112.html','true',[],''],
	['PAGE','1165',jdecode('Ortsgemeinde'),jdecode(''),'/1165/index.html','true',[ 
		['PAGE','1234',jdecode('Baupl%E4tze'),jdecode(''),'/1165/1234.html','true',[],''],
		['PAGE','43849',jdecode('Wappen'),jdecode(''),'/1165/43849.html','true',[],''],
		['PAGE','1257',jdecode('Aktuelles'),jdecode(''),'/1165/1257.html','true',[],''],
		['PAGE','1280',jdecode('Geschichte'),jdecode(''),'/1165/1280.html','true',[],''],
		['PAGE','1303',jdecode('Veranstaltungen'),jdecode(''),'/1165/1303.html','true',[],''],
		['PAGE','21109',jdecode('Steinbachsch%E4nke'),jdecode(''),'/1165/21109.html','true',[],''],
		['PAGE','45149',jdecode('Marienhoeh'),jdecode(''),'/1165/45149.html','true',[],''],
		['PAGE','24010',jdecode('Impressum'),jdecode(''),'/1165/24010.html','true',[],''],
		['PAGE','46049',jdecode('Wahl2004'),jdecode(''),'/1165/46049.html','true',[],'']
	],''],
	['PAGE','12295',jdecode('Kirchengemeinde'),jdecode(''),'/12295/index.html','true',[ 
		['PAGE','14718',jdecode('Geschichte'),jdecode(''),'/12295/14718.html','true',[],''],
		['PAGE','43349',jdecode('Handbuch+Bistum+Trier'),jdecode(''),'/12295/43349.html','true',[],''],
		['PAGE','33924',jdecode('Fronleichnam'),jdecode(''),'/12295/33924.html','true',[],''],
		['PAGE','40150',jdecode('Weihnachten'),jdecode(''),'/12295/40150.html','true',[],''],
		['PAGE','125213',jdecode('Gottesdienstordnung'),jdecode(''),'/12295/125213.html','true',[],''],
		['PAGE','127607',jdecode('+Kirchen+News'),jdecode(''),'/12295/127607.html','true',[],'']
	],''],
	['PAGE','26552',jdecode('+Email+Info'),jdecode(''),'/26552.html','true',[],''],
	['PAGE','24710',jdecode('Historisches'),jdecode(''),'/24710/index.html','true',[ 
		['PAGE','29324',jdecode('Langweiler+Genealogie'),jdecode(''),'/24710/29324.html','true',[],''],
		['PAGE','29378',jdecode('Geschichtsforschung'),jdecode(''),'/24710/29378.html','true',[],''],
		['PAGE','31824',jdecode('Flurnamen'),jdecode(''),'/24710/31824.html','true',[],''],
		['PAGE','32524',jdecode('Urkunden'),jdecode(''),'/24710/32524.html','true',[],''],
		['PAGE','33024',jdecode('Kleine+Chronologie'),jdecode(''),'/24710/33024.html','true',[],''],
		['PAGE','40950',jdecode('Der+letzte+Wolf+'),jdecode(''),'/24710/40950.html','true',[],''],
		['PAGE','41192',jdecode('MGV+Langweiler'),jdecode(''),'/24710/41192.html','true',[],''],
		['PAGE','41750',jdecode('Der+Streit+am+Idarbach'),jdecode(''),'/24710/41750.html','true',[],''],
		['PAGE','63647',jdecode('Ausgrabungen+1919%2F1920'),jdecode(''),'/24710/63647.html','true',[],''],
		['PAGE','125007',jdecode('Der+Schwarze+Peter'),jdecode(''),'/24710/125007.html','true',[],''],
		['PAGE','127107',jdecode('Landkarten+von+1776+und+1780+'),jdecode(''),'/24710/127107.html','true',[],''],
		['PAGE','130007',jdecode('Nachkommen+Peter+Backes'),jdecode(''),'/24710/130007.html','true',[],'']
	],''],
	['PAGE','6636',jdecode('SV+Langweiler'),jdecode(''),'/6636/index.html','true',[ 
		['PAGE','12318',jdecode('Satzung'),jdecode(''),'/6636/12318.html','true',[],''],
		['PAGE','12341',jdecode('Beitrittsformular'),jdecode(''),'/6636/12341.html','true',[],''],
		['PAGE','12364',jdecode('Information'),jdecode(''),'/6636/12364.html','true',[],''],
		['PAGE','126907',jdecode('Picknick+2005'),jdecode(''),'/6636/126907.html','true',[],''],
		['PAGE','126510',jdecode('Programm'),jdecode(''),'/6636/126510.html','true',[],'']
	],''],
	['PAGE','37550',jdecode('Feuerwehr'),jdecode(''),'/37550.html','true',[],''],
	['PAGE','38150',jdecode('H-%26K-Verein'),jdecode(''),'/38150/index.html','true',[ 
		['PAGE','39150',jdecode('Einladung'),jdecode(''),'/38150/39150.html','true',[],''],
		['PAGE','39177',jdecode('Pressemitteilungen'),jdecode(''),'/38150/39177.html','true',[],''],
		['PAGE','39204',jdecode('Aktivit%E4ten'),jdecode(''),'/38150/39204.html','true',[],''],
		['PAGE','60147',jdecode('K%F6hlerlied'),jdecode(''),'/38150/60147.html','true',[],''],
		['PAGE','60847',jdecode('Programm+5.+KF'),jdecode(''),'/38150/60847.html','true',[],''],
		['PAGE','61447',jdecode('Heimatabend+5.+KF'),jdecode(''),'/38150/61447.html','true',[],'']
	],''],
	['PAGE','1717',jdecode('Links'),jdecode(''),'/1717.html','true',[],''],
	['PAGE','34650',jdecode('Hunsr%FCcker+K%FCche'),jdecode(''),'/34650.html','true',[],''],
	['PAGE','29999',jdecode('IT+EDV+oder+was'),jdecode(''),'/29999.html','true',[],''],
	['PAGE','15008',jdecode('Unterhaltung'),jdecode(''),'/15008.html','true',[],''],
	['PAGE','14411',jdecode('Pressespiegel'),jdecode(''),'/14411/index.html','true',[ 
		['PAGE','20803',jdecode('Heimatkalender+1993'),jdecode(''),'/14411/20803.html','true',[],''],
		['PAGE','33951',jdecode('Aktuelles+Alt'),jdecode(''),'/14411/33951.html','true',[],'']
	],''],
	['PAGE','1947',jdecode('Kontakt'),jdecode(''),'/1947.html','true',[],''],
	['PAGE','2606',jdecode('G%E4stebuch'),jdecode(''),'/2606/index.html','true',[ 
		['PAGE','2607',jdecode('Eintr%E4ge'),jdecode(''),'/2606/2607.html','true',[],'']
	],''],
	['PAGE','132707',jdecode('Betriebe+in+Langweiler'),jdecode(''),'/132707/index.html','true',[ 
		['PAGE','132769',jdecode('Architekturb%FCro+Weidner'),jdecode(''),'/132707/132769.html','true',[],''],
		['PAGE','132862',jdecode('Bauunternehmung+Weidner'),jdecode(''),'/132707/132862.html','true',[],''],
		['PAGE','132738',jdecode('Ihr+Schreiner'),jdecode(''),'/132707/132738.html','true',[],''],
		['PAGE','132800',jdecode('Edelsteinbetrieb+A.+Reicherts'),jdecode(''),'/132707/132800.html','true',[],''],
		['PAGE','132831',jdecode('Hunsr%FCcker+Holzhaus'),jdecode(''),'/132707/132831.html','true',[],''],
		['PAGE','132893',jdecode('Firma+Edgar+Reiter'),jdecode(''),'/132707/132893.html','true',[],''],
		['PAGE','132924',jdecode('DAS++Marion+Becker'),jdecode(''),'/132707/132924.html','true',[],''],
		['PAGE','132955',jdecode('Haus+Am+Wald'),jdecode(''),'/132707/132955.html','true',[],''],
		['PAGE','132986',jdecode('Gastst%E4tte+Steinbachsch%E4nke'),jdecode(''),'/132707/132986.html','true',[],''],
		['PAGE','133017',jdecode('BonnVISIO+Immobilien'),jdecode(''),'/132707/133017.html','true',[],''],
		['PAGE','133048',jdecode('IT-L%F6sungen+Langweiler'),jdecode(''),'/132707/133048.html','true',[],''],
		['PAGE','133079',jdecode('Firma+G.+Furtw%E4ngler'),jdecode(''),'/132707/133079.html','true',[],'']
	],'']];
var siteelementCount=69;
theSitetree.topTemplateName='Natural';
					                                                                    
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 */					                                                            

