/* [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','42040',jdecode('IMPRESSUM'),jdecode(''),'/42040.html','true',[],''],
	['PAGE','98501',jdecode('AKTUELL'),jdecode(''),'/98501.html','true',[],''],
	['PAGE','44',jdecode('Home'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41514',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41514.html','true',[],''],
	['PAGE','59101',jdecode('Unsere+Wege'),jdecode(''),'/59101/home.html','true',[ 
		['PAGE','70501',jdecode('Teil+1'),jdecode(''),'/59101/70501.html','false',[],''],
		['PAGE','70522',jdecode('Teil+2'),jdecode(''),'/59101/70522.html','false',[],''],
		['PAGE','111701',jdecode('Teil+3'),jdecode(''),'/59101/111701.html','false',[],''],
		['PAGE','59122',jdecode('Teil+4'),jdecode(''),'/59101/59122.html','false',[],'']
	],''],
	['PAGE','74401',jdecode('Der+Weg+im+Bild'),jdecode(''),'/74401.html','true',[],''],
	['PAGE','95201',jdecode('Literatur+zum+Weg'),jdecode(''),'/95201.html','true',[],''],
	['PAGE','93001',jdecode('Pilgerberichte'),jdecode(''),'/93001.html','true',[],''],
	['PAGE','41868',jdecode('The+Making+Of'),jdecode(''),'/41868.html','true',[],''],
	['PAGE','42010',jdecode('G%C3%A4stebuch'),jdecode(''),'/42010/home.html','true',[ 
		['PAGE','42009',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42010/42009.html','true',[],'']
	],''],
	['PAGE','45323',jdecode('Links'),jdecode(''),'/45323.html','true',[],''],
	['PAGE','102101',jdecode('Er%C3%B6ffnung'),jdecode(''),'/102101.html','false',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='589955';
theSitetree.keyvisualId='7078';
theSitetree.keyvisualName='kv_7078.jpg';
theSitetree.fontsetId='16390';
theSitetree.graphicsetId='12123';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='589955';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'589955',
				keyvisualId: 	'7078',
				keyvisualName: 	'kv_7078.jpg',
				fontsetId: 		'16390',
				graphicsetId: 	'12123',
				contentColor: 	'FFFFFF',
				contentBGColor: '589955',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74401',
internalId:  '',
customField: '20071204-113249'
};
webappMappings['1002']=webappMappings['1002-42010atoix0i7ysjp']={
webappId:    '1002',
documentId:  '42010',
internalId:  '42010atoix0i7ysjp',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42010atoix0i7ysjp']={
webappId:    '1002',
documentId:  '42009',
internalId:  '42010atoix0i7ysjp',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102101',
internalId:  '',
customField: '20071123-210236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110812-170120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98501',
internalId:  '',
customField: '20100823-192243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95201',
internalId:  '',
customField: '20100818-142657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70501',
internalId:  '',
customField: '20100823-181600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59101',
internalId:  '',
customField: '20081201-135830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59122',
internalId:  '',
customField: '20100818-140152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111701',
internalId:  '',
customField: '20091022-151604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41514',
internalId:  '',
customField: '20110812-170459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41868',
internalId:  '',
customField: '20111012-214254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70522',
internalId:  '',
customField: '20100818-181341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93001',
internalId:  '',
customField: '20080326-180339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42010',
internalId:  '',
customField: '20061107-204600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42009',
internalId:  '',
customField: '20061107-185509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42040',
internalId:  '',
customField: '20080613-202917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45323',
internalId:  '',
customField: '20101218-130832'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7YSJP';
var companyName   = '++++++++++++++++++++++++V+i+a++J+u+t+l+a+n+d+i+c+a';
var htmlTitle	  = 'Pilgern+in+Norddeutschland';
var metaKeywords  = 'Jakobsweg+in+Norddeutschland%2C+Via+Jutlandica%2C+J%C3%BCtl%C3%A4ndischer+Jakobsweg%2C+den+jyske+pilgrimsvej%2C+Haervej%2C+Ochsenweg%2C+Pilgerweg%2C';
var metaContents  = 'Via+Jutlandica%3A+Br%C3%BCcke+zwischen+den+nordischen+Pilgerwegen+und+den+rheinischen+Jakobswegen%2C+Br%C3%BCcke+zu+den+nordischen+Pilgerorten+Nidaros+%28hl.+Olaf%29+in+Norwegen+und+Vadstena+%28hl.Birgitta%29+in+Schweden%3B+neuer+Pilgerweg+von+Frederikshavn+in+D%C3%A4nemark+an+die+Elbe+bei+Stade+in+enger+Anlehnung+an+den+historischen+Fern-Land-Weg+Haervej%2FOchsenweg';
					                                                                    
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 */					                                                            

