/* [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('Vereinsgeschichte'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40650',jdecode('%22Elferrat%22'),jdecode(''),'/40650.html','true',[],''],
	['PAGE','40659',jdecode('%22Fanfarencorps%22'),jdecode(''),'/40659.html','true',[],''],
	['PAGE','40668',jdecode('%22Pr%C3%A4sidentengarde%22'),jdecode(''),'/40668.html','true',[],''],
	['PAGE','104101',jdecode('+%22Paradise%22'),jdecode(''),'/104101.html','true',[],''],
	['PAGE','104201',jdecode('Terminplan'),jdecode(''),'/104201.html','true',[],''],
	['PAGE','40641',jdecode('Orden+der+KG'),jdecode(''),'/40641.html','true',[],''],
	['PAGE','47501',jdecode('Fotoshow+2010'),jdecode(''),'/47501.html','true',[],''],
	['PAGE','144801',jdecode('Tulpensonntag+2010'),jdecode(''),'/144801.html','true',[],''],
	['PAGE','158701',jdecode('Zugausklang'),jdecode(''),'/158701.html','true',[],''],
	['PAGE','51001',jdecode('Kluser+Narretei'),jdecode(''),'/51001.html','true',[],''],
	['PAGE','40987',jdecode('Chronik'),jdecode(''),'/40987.html','true',[],''],
	['PAGE','40718',jdecode('G%C3%A4stebuch'),jdecode(''),'/40718/home.html','true',[ 
		['PAGE','40717',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40718/40717.html','true',[],'']
	],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='650D0D';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17859';
theSitetree.graphicsetId='12984';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='9D6464';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'650D0D',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17859',
				graphicsetId: 	'12984',
				contentColor: 	'FFFFFF',
				contentBGColor: '9D6464',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100219-184406'
};
webappMappings['1002']=webappMappings['1002-40718atoix0irja85']={
webappId:    '1002',
documentId:  '40718',
internalId:  '40718atoix0irja85',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40718atoix0irja85']={
webappId:    '1002',
documentId:  '40717',
internalId:  '40718atoix0irja85',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40641',
internalId:  '',
customField: '20100105-194425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40718',
internalId:  '',
customField: '20081125-195816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51001',
internalId:  '',
customField: '20090101-191308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47501',
internalId:  '',
customField: '20100217-171142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40987',
internalId:  '',
customField: '20090129-183151'
};
webappMappings['1007']=webappMappings['1007-11e8c940b80']={
webappId:    '1007',
documentId:  '51001',
internalId:  '11e8c940b80',
customField: 'g.13q68q0fb.3t1f5idk5v.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40659',
internalId:  '',
customField: '20090101-195950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40668',
internalId:  '',
customField: '20100213-180349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40650',
internalId:  '',
customField: '20100205-154040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40717',
internalId:  '',
customField: '20081125-195816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104101',
internalId:  '',
customField: '20100213-182422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104201',
internalId:  '',
customField: '20100220-154904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144801',
internalId:  '',
customField: '20100219-145117'
};
webappMappings['1007']=webappMappings['1007-126e74df166']={
webappId:    '1007',
documentId:  '158701',
internalId:  '126e74df166',
customField: 'g.14rjkmcg4.r5n8mj62d.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158701',
internalId:  '',
customField: '20100220-155012'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0IRJA85';
var companyName   = 'KV+%22Kluser+Pappmule%22+e.V.+Haaren';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            
