/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','9602',jdecode('G%C3%A4stebuch'),jdecode(''),'/9602/home.html','true',[ 
		['PAGE','9603',jdecode('Eintr%C3%A4ge'),jdecode(''),'/9602/9603.html','true',[],'']
	],''],
	['PAGE','9901',jdecode('Biografie'),jdecode(''),'/9901.html','true',[],''],
	['PAGE','9955',jdecode('Ver%C3%B6ffentlichungen'),jdecode(''),'/9955/home.html','true',[ 
		['PAGE','9982',jdecode('Kortgood+von+Georg+Theilmann'),jdecode(''),'/9955/9982.html','true',[],''],
		['PAGE','10009',jdecode('Wi+laat+us+Tiet+-+Beleven+mit+Heinrich+Kunst'),jdecode(''),'/9955/10009.html','true',[],''],
		['PAGE','10036',jdecode('An%26%23x27%3Bt+open+F%C3%BC%C3%BCr'),jdecode(''),'/9955/10036.html','true',[],''],
		['PAGE','10063',jdecode('Worum+de+Poggen+nich+mehr+fleegt'),jdecode(''),'/9955/10063.html','true',[],''],
		['PAGE','11001',jdecode('Worum+de+Wippsteerten+mit+de+Steerten+wippt'),jdecode(''),'/9955/11001.html','true',[],''],
		['PAGE','11028',jdecode('Wiefelstede+-+Unsere+Gemeinde+gestern+und+heute'),jdecode(''),'/9955/11028.html','true',[],''],
		['PAGE','11055',jdecode('50+Jahre+OBV+Wiefelstede'),jdecode(''),'/9955/11055.html','true',[],''],
		['PAGE','15395',jdecode('950+Jahre+Kirche+in+Wiefelstede'),jdecode(''),'/9955/15395.html','true',[],''],
		['PAGE','15484',jdecode('+++++Metjendorf+und+umzu+'),jdecode(''),'/9955/15484.html','true',[],''],
		['PAGE','15726',jdecode('++++++Heini+un+Fidi+van%26%23x27%3Bn+Stau'),jdecode(''),'/9955/15726.html','true',[],'']
	],''],
	['PAGE','11082',jdecode('Nutteler+Kaminabende'),jdecode(''),'/11082.html','true',[],''],
	['PAGE','11136',jdecode('Plattd%C3%BC%C3%BCtsch+in%E2%80%99t+inForum'),jdecode(''),'/11136.html','true',[],''],
	['PAGE','11163',jdecode('OBV++Wiefelstede'),jdecode(''),'/11163.html','true',[],''],
	['PAGE','11190',jdecode('Verein+Heinr.+Kunst'),jdecode(''),'/11190.html','true',[],''],
	['PAGE','11217',jdecode('Plattd%C3%BC%C3%BCtsch+Klenner'),jdecode(''),'/11217.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='1733';
theSitetree.keyvisualName='vertrag.jpg';
theSitetree.fontsetId='280';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'1733',
				keyvisualName: 	'vertrag.jpg',
				fontsetId: 		'280',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-9602ATOIX0INVDOM']={
webappId:    '1002',
documentId:  '9602',
internalId:  '9602ATOIX0INVDOM',
customField: 'action=form&icq=false'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-9602ATOIX0INVDOM']={
webappId:    '1002',
documentId:  '9603',
internalId:  '9602ATOIX0INVDOM',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110328-114841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11082',
internalId:  '',
customField: '20110328-112710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15484',
internalId:  '',
customField: '20071002-194246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9602',
internalId:  '',
customField: '20040710-160718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9603',
internalId:  '',
customField: '20040705-133140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9901',
internalId:  '',
customField: '20110328-115048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9955',
internalId:  '',
customField: '20110706-154949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9982',
internalId:  '',
customField: '20050920-172306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10009',
internalId:  '',
customField: '20050920-173345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10036',
internalId:  '',
customField: '20081210-152308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10063',
internalId:  '',
customField: '20050920-174214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11001',
internalId:  '',
customField: '20060828-191203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11028',
internalId:  '',
customField: '20050920-181005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11055',
internalId:  '',
customField: '20060828-185500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15726',
internalId:  '',
customField: '20110708-151919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11136',
internalId:  '',
customField: '20060828-183330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11163',
internalId:  '',
customField: '20100819-141340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11190',
internalId:  '',
customField: '20040723-191815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11217',
internalId:  '',
customField: '20041017-125450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15395',
internalId:  '',
customField: '20071002-195916'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INVDOM';
var companyName   = 'Meine+Homepage';
var htmlTitle	  = 'Plattdeutsch++Niederdeutsch++Plattd%C3%BC%C3%BCtsch+vant++Ammerland';
var metaKeywords  = 'Plattdeutsch%2C+Niederdeutsch%2C+Low+German+Language%2CNiederdeutsche+Literatur%2C+Ferienwohnung';
var metaContents  = 'Plattdeutsches+und+Regionales+aus+dem+Ammerland.';
					                                                                    
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 */					                                                            

