/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','13687',jdecode('Home'),jdecode(''),'/13687/home.html','true',[ 
		['PAGE','16120',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/13687/16120.html','false',[],'']
	],''],
	['PAGE','15902',jdecode('G%C3%A4stebuch'),jdecode(''),'/15902/home.html','true',[ 
		['PAGE','15903',jdecode('Eintr%C3%A4ge'),jdecode(''),'/15902/15903.html','true',[],'']
	],''],
	['PAGE','15620',jdecode('Feedback'),jdecode(''),'/15620/home.html','true',[ 
		['PAGE','15660',jdecode('Aufnahme+%28Folgeseite%29'),jdecode(''),'/15620/15660.html','false',[],'']
	],''],
	['PAGE','16846',jdecode('Kontakt'),jdecode(''),'/16846/home.html','true',[ 
		['PAGE','16857',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/16846/16857.html','false',[],'']
	],''],
	['PAGE','16864',jdecode('Anfahrt'),jdecode(''),'/16864.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Cosy';
theSitetree.paletteFamily='4B6FB3';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10401';
theSitetree.graphicsetId='10622';
theSitetree.contentColor='26385A';
theSitetree.contentBGColor='C7D2E7';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cosy',
				paletteFamily: 	'4B6FB3',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10401',
				graphicsetId: 	'10622',
				contentColor: 	'26385A',
				contentBGColor: 'C7D2E7',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'7893C6',
				e_color: 		'4C70B4',
				f_color: 		'5476B7',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13687',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0invj8saef7275efbec66ed']={
webappId:    '1001',
documentId:  '13687',
internalId:  'atoix0invj8saef7275efbec66ed',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invj8saef7275efbec66ed']={
webappId:    '1001',
documentId:  '16120',
internalId:  'atoix0invj8saef7275efbec66ed',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0invj8s6225dfee2db19675']={
webappId:    '1001',
documentId:  '15620',
internalId:  'atoix0invj8s6225dfee2db19675',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invj8s6225dfee2db19675']={
webappId:    '1001',
documentId:  '15660',
internalId:  'atoix0invj8s6225dfee2db19675',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13687',
internalId:  '',
customField: '20050221-112514'
};
webappMappings['1002']=webappMappings['1002-15902ATOIX0INVJ8S']={
webappId:    '1002',
documentId:  '15902',
internalId:  '15902ATOIX0INVJ8S',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-15902ATOIX0INVJ8S']={
webappId:    '1002',
documentId:  '15903',
internalId:  '15902ATOIX0INVJ8S',
customField: 'action=list'
};
webappMappings['1001']=webappMappings['1001-atoix0invj8s109df460205']={
webappId:    '1001',
documentId:  '16846',
internalId:  'atoix0invj8s109df460205',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invj8s109df460205']={
webappId:    '1001',
documentId:  '16857',
internalId:  'atoix0invj8s109df460205',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15902',
internalId:  '',
customField: '20050221-102901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15903',
internalId:  '',
customField: '20050221-102901'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '16864',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16864',
internalId:  '',
customField: '20070327-235359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16120',
internalId:  '',
customField: '20050221-112716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15620',
internalId:  '',
customField: '20040406-220158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15660',
internalId:  '',
customField: '20040406-215914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16846',
internalId:  '',
customField: '20060309-144906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16857',
internalId:  '',
customField: '20060309-145040'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0INVJ8S';
var companyName   = 'Liebeswerk+Israel+ZEDAKAH+e.V';
var htmlTitle	  = '';
var metaKeywords  = '0';
var metaContents  = '';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            
