/* [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','43396',jdecode('Impressum'),jdecode(''),'/43396.html','true',[],''],
	['PAGE','40967',jdecode('Home'),jdecode(''),'/40967.html','true',[],''],
	['PAGE','156601',jdecode('Europa+Compostela+'),jdecode(''),'/156601.html','false',[],''],
	['PAGE','207601',jdecode('Aktuell'),jdecode(''),'/207601/home.html','true',[ 
		['PAGE','132201',jdecode('2011'),jdecode(''),'/207601/132201.html','true',[],'']
	],''],
	['PAGE','43351',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/43351.html','true',[],''],
	['PAGE','43360',jdecode('Unsere+Wege'),jdecode(''),'/43360/home.html','true',[ 
		['PAGE','55001',jdecode('Via+Baltica'),jdecode(''),'/43360/55001.html','false',[],''],
		['PAGE','55022',jdecode('Via+Jutlandica'),jdecode(''),'/43360/55022.html','false',[],''],
		['PAGE','86601',jdecode('Via+Scandinavica'),jdecode(''),'/43360/86601.html','false',[],''],
		['PAGE','44315',jdecode('Mitteld.+Weg'),jdecode(''),'/43360/44315.html','false',[],'']
	],''],
	['PAGE','168801',jdecode('Pilgerf%C3%BChrer'),jdecode(''),'/168801.html','true',[],''],
	['PAGE','44298',jdecode('Pilgern+A-Z+'),jdecode(''),'/44298.html','true',[],''],
	['PAGE','146901',jdecode('Pilgerausweis%2F-pass'),jdecode(''),'/146901/home.html','true',[ 
		['PAGE','198301',jdecode('Online-Antrag'),jdecode(''),'/146901/198301.html','false',[],'']
	],''],
	['PAGE','63201',jdecode('Pilgerkalender'),jdecode(''),'/63201.html','true',[],''],
	['PAGE','49906',jdecode('G%C3%A4stebuch'),jdecode(''),'/49906/home.html','true',[ 
		['PAGE','49901',jdecode('Eintr%C3%A4ge'),jdecode(''),'/49906/49901.html','true',[],'']
	],''],
	['PAGE','49801',jdecode('Links'),jdecode(''),'/49801.html','true',[],''],
	['PAGE','202701',jdecode('Kontakt'),jdecode(''),'/202701.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='7E7E7E';
theSitetree.keyvisualId='7102';
theSitetree.keyvisualName='kv_7102.jpg';
theSitetree.fontsetId='16391';
theSitetree.graphicsetId='12124';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7E7E7E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'7E7E7E',
				keyvisualId: 	'7102',
				keyvisualName: 	'kv_7102.jpg',
				fontsetId: 		'16391',
				graphicsetId: 	'12124',
				contentColor: 	'FFFFFF',
				contentBGColor: '7E7E7E',
				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:  '156601',
internalId:  '',
customField: '20101123-130252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20110710-010403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168801',
internalId:  '',
customField: '20111008-112555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44315',
internalId:  '',
customField: '20111109-133452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43360',
internalId:  '',
customField: '20111101-212001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43396',
internalId:  '',
customField: '20120128-124658'
};
webappMappings['1002']=webappMappings['1002-49906atoix0i7iuhe']={
webappId:    '1002',
documentId:  '49901',
internalId:  '49906atoix0i7iuhe',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43351',
internalId:  '',
customField: '20111122-144819'
};
webappMappings['1002']=webappMappings['1002-49906atoix0i7iuhe']={
webappId:    '1002',
documentId:  '49906',
internalId:  '49906atoix0i7iuhe',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132201',
internalId:  '',
customField: '20120128-124128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44298',
internalId:  '',
customField: '20111008-113503'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '207601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49906',
internalId:  '',
customField: '20091126-172939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49901',
internalId:  '',
customField: '20070311-155516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49801',
internalId:  '',
customField: '20110208-205646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55001',
internalId:  '',
customField: '20111103-213949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55022',
internalId:  '',
customField: '20111103-212206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146901',
internalId:  '',
customField: '20120127-154447'
};
webappMappings['1008']=webappMappings['1008-76223128']={
webappId:    '1008',
documentId:  '202701',
internalId:  '76223128',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202701',
internalId:  '',
customField: '20111024-221948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63201',
internalId:  '',
customField: '20120202-190320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '198301',
internalId:  '',
customField: '20110912-210116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86601',
internalId:  '',
customField: '20111103-212345'
};
webappMappings['1008']=webappMappings['1008-74335901']={
webappId:    '1008',
documentId:  '198301',
internalId:  '74335901',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '207601',
internalId:  '',
customField: '20120131-005632'
};
webappMappings['1501']=webappMappings['1501-35149731']={
webappId:    '1501',
documentId:  '207601',
internalId:  '35149731',
customField: '1501'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7IUHE';
var companyName   = '++++++++++++++++++++++++Jakobswege+in+Norddeutschland';
var htmlTitle	  = 'Jakobswege+in+Norddeutschland';
var metaKeywords  = 'Via+Baltica%2C+Baltisch+Westf%C3%A4lischer+Jakobsweg%2C+Via+Jutlandica%2C+J%C3%BCtl%C3%A4ndischer+Jakobsweg%2C+Br%C3%BCcke+zu+den+nordischen+Pilgerwegen';
var metaContents  = '+Die+Via+Baltica%2C+der+Baltisch+Westf%C3%A4lische+Jakobsweg+u.+die+Via+Jutlandica%2C+der+J%C3%BCtl%C3%A4ndische+Jakobsweg%2C+Br%C3%BCcken+zwischen+Skandinavien%2FOstseeraum+und+den+rheinisch+westf%C3%A4lischen+Jakobswegen';
					                                                                    
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 */					                                                            

