/* [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','39994',jdecode('Willkommen+'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42142',jdecode('Veranstaltungen'),jdecode(''),'/42142/home.html','true',[ 
		['PAGE','47652',jdecode('VORTR%C3%84GE'),jdecode(''),'/42142/47652.html','true',[],''],
		['PAGE','52501',jdecode('Themenreihe%3A+GEBET'),jdecode(''),'/42142/52501.html','true',[],''],
		['PAGE','53001',jdecode('JUGENDSEMINAR'),jdecode(''),'/42142/53001.html','true',[],''],
		['PAGE','47625',jdecode('RELIGI%C3%96SE+FESTE'),jdecode(''),'/42142/47625.html','true',[],''],
		['PAGE','53301',jdecode('STUTTG.+LEHRHAUS'),jdecode(''),'/42142/53301.html','true',[],'']
	],''],
	['PAGE','42160',jdecode('Der+Verein'),jdecode(''),'/42160/home.html','true',[ 
		['PAGE','42187',jdecode('Idee'),jdecode(''),'/42160/42187.html','true',[],''],
		['PAGE','42196',jdecode('Satzung'),jdecode(''),'/42160/42196.html','true',[],''],
		['PAGE','42214',jdecode('Vorstand'),jdecode(''),'/42160/42214.html','true',[],''],
		['PAGE','48124',jdecode('Ehrenvorstand'),jdecode(''),'/42160/48124.html','true',[],''],
		['PAGE','47583',jdecode('Gesch%C3%A4ftsstelle'),jdecode(''),'/42160/47583.html','true',[],'']
	],''],
	['PAGE','47751',jdecode('Spendenkonto'),jdecode(''),'/47751.html','true',[],''],
	['PAGE','42250',jdecode('Mitglied+werden'),jdecode(''),'/42250.html','true',[],''],
	['PAGE','47781',jdecode('Stuttgarter+Lehrhaus'),jdecode(''),'/47781/home.html','true',[ 
		['PAGE','47848',jdecode('Veranstaltungen'),jdecode(''),'/47781/47848.html','true',[],'']
	],''],
	['PAGE','42259',jdecode('Impressum'),jdecode(''),'/42259.html','true',[],''],
	['PAGE','47605',jdecode('Kontakt'),jdecode(''),'/47605.html','true',[],''],
	['PAGE','47540',jdecode('Anfahrt'),jdecode(''),'/47540.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Borders';
theSitetree.paletteFamily='CECEA9';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10571';
theSitetree.graphicsetId='10772';
theSitetree.contentColor='692643';
theSitetree.contentBGColor='F3F9FC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Borders',
				paletteFamily: 	'CECEA9',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10571',
				graphicsetId: 	'10772',
				contentColor: 	'692643',
				contentBGColor: 'F3F9FC',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100805-133135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42160',
internalId:  '',
customField: '20100805-135310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42196',
internalId:  '',
customField: '20100603-164734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42142',
internalId:  '',
customField: '20120118-150744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42250',
internalId:  '',
customField: '20100603-162713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42259',
internalId:  '',
customField: '20120118-151158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47605',
internalId:  '',
customField: '20120118-151118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47583',
internalId:  '',
customField: '20100803-164211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42214',
internalId:  '',
customField: '20101019-132141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42187',
internalId:  '',
customField: '20100805-133011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47540',
internalId:  '',
customField: '20100805-133033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47625',
internalId:  '',
customField: '20120103-131856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53001',
internalId:  '',
customField: '20120103-135303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47652',
internalId:  '',
customField: '20120103-134418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53301',
internalId:  '',
customField: '20120118-151023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47751',
internalId:  '',
customField: '20100803-163626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47781',
internalId:  '',
customField: '20110103-093908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47848',
internalId:  '',
customField: '20100915-163342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48124',
internalId:  '',
customField: '20110110-121713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52501',
internalId:  '',
customField: '20120103-134127'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRSLY0';
var companyName   = 'HAUS+ABRAHAM+e.V.';
var htmlTitle	  = '';
var metaKeywords  = '';
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 */					                                                            

