/* [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','13801',jdecode('Startseite'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','19501',jdecode('Aktuell'),jdecode(''),'/19501.html','true',[],''],
	['PAGE','13812',jdecode('Aktueller+Wanderplan'),jdecode(''),'/13812.html','true',[],''],
	['PAGE','13822',jdecode('n%C3%A4chste+Termine'),jdecode(''),'/13822.html','true',[],''],
	['PAGE','13817',jdecode('R%C3%BCckblick+'),jdecode(''),'/13817.html','true',[],''],
	['PAGE','19101',jdecode('Wanderfahrt'),jdecode(''),'/19101.html','true',[],''],
	['PAGE','23914',jdecode('Wander-Infos'),jdecode(''),'/23914.html','true',[],''],
	['PAGE','59214',jdecode('Wandervorschlag'),jdecode(''),'/59214.html','true',[],''],
	['PAGE','31714',jdecode('Gesundheits-Tipp'),jdecode(''),'/31714.html','true',[],''],
	['PAGE','13827',jdecode('Kontakt'),jdecode(''),'/13827/home.html','true',[ 
		['PAGE','20102',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13827/20102.html','false',[],'']
	],''],
	['PAGE','13832',jdecode('Impressum'),jdecode(''),'/13832.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Borders';
theSitetree.paletteFamily='A6CBB5';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10432';
theSitetree.graphicsetId='10774';
theSitetree.contentColor='692643';
theSitetree.contentBGColor='FEFEF8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Borders',
				paletteFamily: 	'A6CBB5',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10432',
				graphicsetId: 	'10774',
				contentColor: 	'692643',
				contentBGColor: 'FEFEF8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0in3cl410438bae4c5']={
webappId:    '1001',
documentId:  '13827',
internalId:  'atoix0in3cl410438bae4c5',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in3cl410438bae4c5']={
webappId:    '1001',
documentId:  '20102',
internalId:  'atoix0in3cl410438bae4c5',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-15448969']={
webappId:    '1501',
documentId:  '13801',
internalId:  '15448969',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20050930-221935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19501',
internalId:  '',
customField: '20111013-203355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13822',
internalId:  '',
customField: '20120204-192416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20111210-202446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13817',
internalId:  '',
customField: '20111023-105327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19101',
internalId:  '',
customField: '20111023-172837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23914',
internalId:  '',
customField: '20050911-164010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13827',
internalId:  '',
customField: '20050709-110725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20102',
internalId:  '',
customField: '20050601-182749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13832',
internalId:  '',
customField: '20120204-192517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31714',
internalId:  '',
customField: '20070719-200829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59214',
internalId:  '',
customField: '20111013-161146'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN3CL4';
var companyName   = 'Odenwaldklub+Bad+K%C3%B6nig+e.V.';
var htmlTitle	  = 'Odenwaldklub+Bad+K%C3%B6nig';
var metaKeywords  = 'nat%C3%BCrlich+wandern+-+mit+uns.+Wanderplan%2CWanderfahrt%2CWander-Infos%2C+Bad+K%C3%B6niger+Vereine%2C+Mitglied+im+Gesamt-Odenwaldklub%2C+Wandern+im+Odenwald%2C+monatliche+Wanderungen+-+auch+f%C3%BCr+Nichtmitglieder.';
var metaContents  = 'nat%C3%BCrlich+wandern+-+mit+uns.+Odenwaldklub+Bad+K%C3%B6nig%2CMitglied+Gesamt-Odenwaldklub%2C+Wandern+im+Odenwald%2C++';
					                                                                    
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 */					                                                            

