/* [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/home.html','true',[ 
		['PAGE','41349',jdecode('Termine'),jdecode(''),'/39994/41349.html','true',[],''],
		['PAGE','41780',jdecode('Info'),jdecode(''),'/39994/41780.html','true',[],''],
		['PAGE','41421',jdecode('G%C3%A4stebuch'),jdecode(''),'/39994/41421.html','true',[],''],
		['PAGE','41420',jdecode('Eintr%C3%A4ge'),jdecode(''),'/39994/41420.html','true',[],''],
		['PAGE','41789',jdecode('Impressum'),jdecode(''),'/39994/41789.html','true',[],'']
	],''],
	['PAGE','41744',jdecode('Der+Vorstand'),jdecode(''),'/41744/home.html','true',[ 
		['PAGE','41753',jdecode('gesch%C3%A4ftsf.+Vorstand'),jdecode(''),'/41744/41753.html','true',[],''],
		['PAGE','41762',jdecode('Vorstandsmitglieder'),jdecode(''),'/41744/41762.html','true',[],''],
		['PAGE','42148',jdecode('Beisitzer'),jdecode(''),'/41744/42148.html','true',[],'']
	],''],
	['PAGE','41367',jdecode('Gr%C3%BCndung'),jdecode(''),'/41367/home.html','true',[ 
		['PAGE','41376',jdecode('Vereinsgeschichte'),jdecode(''),'/41367/41376.html','true',[],''],
		['PAGE','41385',jdecode('Satzung'),jdecode(''),'/41367/41385.html','true',[],'']
	],''],
	['PAGE','41798',jdecode('Landesverb%C3%A4nde'),jdecode(''),'/41798/home.html','true',[ 
		['PAGE','42157',jdecode('Links+zu+den+LV'),jdecode(''),'/41798/42157.html','true',[],''],
		['PAGE','41816',jdecode('Landesvorsitzende'),jdecode(''),'/41798/41816.html','true',[],''],
		['PAGE','41825',jdecode('Landesgesch%C3%A4ftstelle'),jdecode(''),'/41798/41825.html','true',[],''],
		['PAGE','41843',jdecode('Ehrenknappen+%2F+Ehrenmitglieder'),jdecode(''),'/41798/41843.html','true',[],''],
		['PAGE','41852',jdecode('Rechtsberater'),jdecode(''),'/41798/41852.html','true',[],'']
	],''],
	['PAGE','41861',jdecode('Informationen'),jdecode(''),'/41861/home.html','true',[ 
		['PAGE','41870',jdecode('Deligiertenversammlungen'),jdecode(''),'/41861/41870.html','true',[],''],
		['PAGE','41879',jdecode('Bundesvorstandsitzungen'),jdecode(''),'/41861/41879.html','true',[],''],
		['PAGE','41888',jdecode('Kassenrevisoren+seit+1978'),jdecode(''),'/41861/41888.html','true',[],''],
		['PAGE','41906',jdecode('Teilnahme+an+Veranstaltungen'),jdecode(''),'/41861/41906.html','true',[],''],
		['PAGE','41915',jdecode('Gro%C3%9Fveranstaltungen'),jdecode(''),'/41861/41915.html','true',[],''],
		['PAGE','42166',jdecode('Richtlinien+f%C3%BCr+DBT'),jdecode(''),'/41861/42166.html','true',[],''],
		['PAGE','42190',jdecode('Mitglied+in+der+VEBH'),jdecode(''),'/41861/42190.html','true',[],'']
	],''],
	['PAGE','41933',jdecode('Statistiken'),jdecode(''),'/41933/home.html','true',[ 
		['PAGE','41942',jdecode('Entwicklung+der+Mitglidsvereine'),jdecode(''),'/41933/41942.html','true',[],''],
		['PAGE','41951',jdecode('Vorstandsitzungen'),jdecode(''),'/41933/41951.html','true',[],''],
		['PAGE','42175',jdecode('Delegiertenversammlungen'),jdecode(''),'/41933/42175.html','true',[],'']
	],'']];
var siteelementCount=31;
theSitetree.topTemplateName='Cuy';
theSitetree.paletteFamily='F7FDFD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='385';
theSitetree.graphicsetId='438';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F7FDFD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cuy',
				paletteFamily: 	'F7FDFD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'385',
				graphicsetId: 	'438',
				contentColor: 	'000000',
				contentBGColor: 'F7FDFD',
				a_color: 		'F7FDFD',
				b_color: 		'E4E5C0',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, 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: '20120131-190353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41349',
internalId:  '',
customField: '20120112-111144'
};
webappMappings['1002']=webappMappings['1002-41421atoix0ir5mrg']={
webappId:    '1002',
documentId:  '41421',
internalId:  '41421atoix0ir5mrg',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41421atoix0ir5mrg']={
webappId:    '1002',
documentId:  '41420',
internalId:  '41421atoix0ir5mrg',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41367',
internalId:  '',
customField: '20080830-134809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41376',
internalId:  '',
customField: '20110707-105910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41385',
internalId:  '',
customField: '20080901-091826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42166',
internalId:  '',
customField: '20090505-074326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42175',
internalId:  '',
customField: '20101106-191726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41421',
internalId:  '',
customField: '20080830-110233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41420',
internalId:  '',
customField: '20080830-110233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41789',
internalId:  '',
customField: '20111020-112853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41780',
internalId:  '',
customField: '20120106-135903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41744',
internalId:  '',
customField: '20120108-115732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41798',
internalId:  '',
customField: '20081010-094700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41861',
internalId:  '',
customField: '20110604-200951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41933',
internalId:  '',
customField: '20101124-183833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41753',
internalId:  '',
customField: '20120106-130435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41762',
internalId:  '',
customField: '20120112-185352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41816',
internalId:  '',
customField: '20110830-184716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41825',
internalId:  '',
customField: '20101123-195333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42157',
internalId:  '',
customField: '20120202-094708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41843',
internalId:  '',
customField: '20101124-184335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41852',
internalId:  '',
customField: '20090505-071452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41870',
internalId:  '',
customField: '20100424-073316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41879',
internalId:  '',
customField: '20110830-185329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41888',
internalId:  '',
customField: '20090905-191909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42190',
internalId:  '',
customField: '20111211-105809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41906',
internalId:  '',
customField: '20081010-092528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41915',
internalId:  '',
customField: '20110830-185620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42148',
internalId:  '',
customField: '20110418-085453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41942',
internalId:  '',
customField: '20120112-181822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41951',
internalId:  '',
customField: '20110616-174938'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IR5MRG';
var companyName   = 'Bund+Deutscher+Bergmanns-%2C+H%C3%BCtten-+und+Knappenvereine+e.V.';
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 */					                                                            

