/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40760',jdecode('Wir+%C3%BCber+uns+%2F+Wappen'),jdecode(''),'/40760.html','true',[],''],
	['PAGE','40787',jdecode('Satzung'),jdecode(''),'/40787.html','true',[],''],
	['PAGE','41127',jdecode('Poesie'),jdecode(''),'/41127.html','true',[],''],
	['PAGE','40796',jdecode('Termine'),jdecode(''),'/40796.html','true',[],''],
	['PAGE','41656',jdecode('Bildergalerie'),jdecode(''),'/41656.html','true',[],''],
	['PAGE','42074',jdecode('Oster+Ohrstedt+2009%2F2010'),jdecode(''),'/42074.html','true',[],''],
	['PAGE','42744',jdecode('Oster+Ohrstedt+2011'),jdecode(''),'/42744.html','true',[],''],
	['PAGE','41449',jdecode('Filme+im+Netz'),jdecode(''),'/41449.html','true',[],''],
	['PAGE','41480',jdecode('Presse'),jdecode(''),'/41480.html','true',[],''],
	['PAGE','41525',jdecode('G%C3%A4stebuch'),jdecode(''),'/41525/home.html','true',[ 
		['PAGE','41524',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41525/41524.html','true',[],'']
	],''],
	['PAGE','41577',jdecode('Spendenkonto'),jdecode(''),'/41577.html','true',[],''],
	['PAGE','41158',jdecode('Links'),jdecode(''),'/41158.html','true',[],''],
	['PAGE','41258',jdecode('Impressum%2FKontakt'),jdecode(''),'/41258.html','true',[],''],
	['PAGE','41406',jdecode('Rechtliche+Hinweise'),jdecode(''),'/41406.html','true',[],''],
	['PAGE','42241',jdecode('Salursi'),jdecode(''),'/42241.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Antique';
theSitetree.paletteFamily='E58F12';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11062';
theSitetree.graphicsetId='11833';
theSitetree.contentColor='D1C3A6';
theSitetree.contentBGColor='856A3B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Antique',
				paletteFamily: 	'E58F12',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11062',
				graphicsetId: 	'11833',
				contentColor: 	'D1C3A6',
				contentBGColor: '856A3B',
				a_color: 		'664F23',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120102-125650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40760',
internalId:  '',
customField: '20101121-143016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40787',
internalId:  '',
customField: '20100808-161602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40796',
internalId:  '',
customField: '20111127-160139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42744',
internalId:  '',
customField: '20110815-130429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41127',
internalId:  '',
customField: '20100808-144427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41158',
internalId:  '',
customField: '20110927-101014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41258',
internalId:  '',
customField: '20100130-074816'
};
webappMappings['1007']=webappMappings['1007-131cce63495']={
webappId:    '1007',
documentId:  '42744',
internalId:  '131cce63495',
customField: 'g.167652fp5.ecqe19l6qk.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41406',
internalId:  '',
customField: '20100130-104005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41449',
internalId:  '',
customField: '20110815-175859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41480',
internalId:  '',
customField: '20110815-124250'
};
webappMappings['1002']=webappMappings['1002-41525atoix0irbqai']={
webappId:    '1002',
documentId:  '41525',
internalId:  '41525atoix0irbqai',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41525atoix0irbqai']={
webappId:    '1002',
documentId:  '41524',
internalId:  '41525atoix0irbqai',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41525',
internalId:  '',
customField: '20110814-132426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41524',
internalId:  '',
customField: '20100202-161817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41577',
internalId:  '',
customField: '20100202-174552'
};
webappMappings['1007']=webappMappings['1007-126c7f651e0']={
webappId:    '1007',
documentId:  '41656',
internalId:  '126c7f651e0',
customField: 'g.14r3u575v.fcarjpl1n6.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41656',
internalId:  '',
customField: '20100214-163027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42241',
internalId:  '',
customField: '20101028-161632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42074',
internalId:  '',
customField: '20110815-130357'
};
webappMappings['1007']=webappMappings['1007-12a89ff1309']={
webappId:    '1007',
documentId:  '42074',
internalId:  '12a89ff1309',
customField: 'g.15a4s6hhk.mvgg69sd03.3o'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRBQAI';
var companyName   = 'Herzlich+willkommen+bei+Zeytreyse+e.V.';
var htmlTitle	  = 'Herzlich+willkommen+bei+Zeytreyse+e.V.';
var metaKeywords  = 'Mittelalter%2C+Mittelaltermarkt%2C+Heerlagerey%2C+Ritter%2C+Landsknechte%2C+K%C3%B6nig%2C+K%C3%B6nigin%2C+Prinz%2C+Prinzessin%2C+Gaukler%2C+Spielleute%2C+Tagediebe%2C+Bettler%2C+Burg%2C+Schloss%2CMet%2C+Bauer%2C+Narren%2C+Wein%2C+Weib%2C+Gesang%2C+Tradition%2C+Verein%2C+Turnier%2C+Tjiost%2C+Lanze.%2C+Schild%2C+Knappe%2C+Pferd%2C+Esel%2C+Friesen%2CFriesisch%2C+Nordfriesland%2C+Immenstedt%2C+Oster-Ohrstedt';
var metaContents  = 'Vereinsziele%3AGeschichte+zum+Anfassen.+Mittelalter+erleben.+Weitergabe+von+Traditionen+und+Lebensweisen.+F%C3%B6rderung+der+Heimatpflege%2C+Immenstedt+Nordfriesland';
					                                                                    
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 */					                                                            

