/* [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','4593',jdecode('HOME++++'),jdecode(''),'/4593.html','true',[],''],
	['PAGE','78209',jdecode('Pressemitteilung'),jdecode(''),'/78209.html','true',[],''],
	['PAGE','73440',jdecode('Vorwort'),jdecode(''),'/73440.html','true',[],''],
	['PAGE','33329',jdecode('Eltern+auf+der+Suche...'),jdecode(''),'/33329.html','true',[],''],
	['PAGE','29710',jdecode('Kleiner+Blonder+Engel'),jdecode(''),'/29710.html','true',[],''],
	['PAGE','53735',jdecode('Kinder+%2FJugendliche'),jdecode(''),'/53735.html','true',[],''],
	['PAGE','71409',jdecode('Kinderhospiz+Telgte'),jdecode(''),'/71409.html','true',[],''],
	['PAGE','75209',jdecode('Kuren'),jdecode(''),'/75209.html','true',[],''],
	['PAGE','69409',jdecode('Buch-Empfehlung'),jdecode(''),'/69409.html','true',[],''],
	['PAGE','32832',jdecode('SHG-Netzwerk+NRW'),jdecode(''),'/32832.html','true',[],''],
	['PAGE','34235',jdecode('PLZ+32+-+34+%2B+37'),jdecode(''),'/34235.html','true',[],''],
	['PAGE','34266',jdecode('PLZ+4'),jdecode(''),'/34266.html','true',[],''],
	['PAGE','34297',jdecode('PLZ+50+-+53%2C+57+-+59'),jdecode(''),'/34297.html','true',[],''],
	['PAGE','5836',jdecode('Netzwerk+Deutschland'),jdecode(''),'/5836.html','true',[],''],
	['PAGE','4812',jdecode('Landesverband+NRW'),jdecode(''),'/4812/index.html','true',[ 
		['PAGE','62408',jdecode('KK-F%F6rderung+f%FCr+SHG%26%23x27%3Bn'),jdecode(''),'/4812/62408.html','true',[],''],
		['PAGE','61408',jdecode('Unfallversicherung'),jdecode(''),'/4812/61408.html','true',[],'']
	],''],
	['PAGE','21951',jdecode('Hilfe+%2B+Sponsoring'),jdecode(''),'/21951.html','true',[],''],
	['PAGE','4650',jdecode('OWL+%2F+Steinhagen'),jdecode(''),'/4650/index.html','true',[ 
		['PAGE','4731',jdecode('Wann+wir+uns+treffen'),jdecode(''),'/4650/4731.html','true',[],''],
		['PAGE','4677',jdecode('Wie+alles+begann'),jdecode(''),'/4650/4677.html','true',[],''],
		['PAGE','4704',jdecode('Was+wir+an+Hilfe+anbieten'),jdecode(''),'/4650/4704.html','true',[],''],
		['PAGE','4758',jdecode('Wie+Sie+zu+uns+finden'),jdecode(''),'/4650/4758.html','true',[],''],
		['PAGE','66208',jdecode('Sternenfeld+Langenberg'),jdecode(''),'/4650/66208.html','true',[],'']
	],''],
	['PAGE','28911',jdecode('G%E4stebuch-Mail'),jdecode(''),'/28911.html','true',[],''],
	['PAGE','28912',jdecode('G%E4stebuch-Eintr%E4ge'),jdecode(''),'/28912.html','true',[],''],
	['PAGE','7910',jdecode('LINKS%2FVernetzungen'),jdecode(''),'/7910.html','true',[],''],
	['PAGE','4893',jdecode('Pflichtangaben'),jdecode(''),'/4893.html','true',[],''],
	['PAGE','15275',jdecode('Kontaktformular'),jdecode(''),'/15275/index.html','true',[ 
		['PAGE','15315',jdecode('KONTAKTFORMULAR+%28Folgeseite%29'),jdecode(''),'/15275/15315.html','false',[],'']
	],''],
	['PAGE','62008',jdecode('Rechtshinweise'),jdecode(''),'/62008.html','true',[],'']];
var siteelementCount=31;
theSitetree.topTemplateName='Deepcolor';
					                                                                    
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 */					                                                            
