/* [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','40473',jdecode('Home'),jdecode(''),'/40473.html','true',[],''],
	['PAGE','40951',jdecode('Aktuelles'),jdecode(''),'/40951.html','true',[],''],
	['PAGE','42329',jdecode('Hauptversammlung'),jdecode(''),'/42329.html','true',[],''],
	['PAGE','40484',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40484/home.html','true',[ 
		['PAGE','40681',jdecode('Historie'),jdecode(''),'/40484/40681.html','true',[],''],
		['PAGE','40690',jdecode('Satzung'),jdecode(''),'/40484/40690.html','true',[],''],
		['PAGE','40699',jdecode('Vorstand+%2F+Beirat'),jdecode(''),'/40484/40699.html','true',[],''],
		['PAGE','41069',jdecode('Bisherige+Vorsitzende'),jdecode(''),'/40484/41069.html','true',[],''],
		['PAGE','41749',jdecode('Ehrenmitglieder'),jdecode(''),'/40484/41749.html','true',[],''],
		['PAGE','41758',jdecode('Bisherige+Aktivit%C3%A4ten'),jdecode(''),'/40484/41758.html','true',[],'']
	],''],
	['PAGE','41180',jdecode('Heimatmuseum'),jdecode(''),'/41180/home.html','true',[ 
		['PAGE','40385',jdecode('Historie+'),jdecode(''),'/41180/40385.html','true',[],''],
		['PAGE','41250',jdecode('Bilder+HM'),jdecode(''),'/41180/41250.html','true',[],'']
	],''],
	['PAGE','42296',jdecode('Ruheb%C3%A4nke'),jdecode(''),'/42296/home.html','true',[ 
		['PAGE','44201',jdecode('Bilder'),jdecode(''),'/42296/44201.html','true',[],'']
	],''],
	['PAGE','40827',jdecode('Formbl%C3%A4tter'),jdecode(''),'/40827/home.html','true',[ 
		['PAGE','40746',jdecode('Aufnahmeantrag'),jdecode(''),'/40827/40746.html','true',[],''],
		['PAGE','40845',jdecode('Vergabe+der+Galerie'),jdecode(''),'/40827/40845.html','true',[],''],
		['PAGE','40854',jdecode('Einverst%C3%A4ndniserkl%C3%A4rung+'),jdecode(''),'/40827/40854.html','true',[],'']
	],''],
	['PAGE','41451',jdecode('Bisherige+Veranstaltungen'),jdecode(''),'/41451/home.html','true',[ 
		['PAGE','51501',jdecode('Veranstaltungsbilder'),jdecode(''),'/41451/51501.html','true',[],'']
	],''],
	['PAGE','53501',jdecode('Presse'),jdecode(''),'/53501.html','true',[],''],
	['PAGE','56601',jdecode('Post'),jdecode(''),'/56601.html','true',[],''],
	['PAGE','41338',jdecode('Fotoalbum'),jdecode(''),'/41338/home.html','true',[ 
		['PAGE','41939',jdecode('Erinnerungen'),jdecode(''),'/41338/41939.html','true',[],''],
		['PAGE','41945',jdecode('Gedenktafeln'),jdecode(''),'/41338/41945.html','true',[],'']
	],''],
	['PAGE','41215',jdecode('Literaturverzeichnis'),jdecode(''),'/41215.html','true',[],''],
	['PAGE','41495',jdecode('Anfahrt'),jdecode(''),'/41495.html','true',[],''],
	['PAGE','40502',jdecode('Kontakt'),jdecode(''),'/40502.html','true',[],''],
	['PAGE','40511',jdecode('Impressum'),jdecode(''),'/40511.html','true',[],''],
	['PAGE','41395',jdecode('Links'),jdecode(''),'/41395.html','true',[],'']];
var siteelementCount=31;
theSitetree.topTemplateName='Saeule';
theSitetree.paletteFamily='C6C6D5';
theSitetree.keyvisualId='10845';
theSitetree.keyvisualName='kv_10845.jpg';
theSitetree.fontsetId='31860';
theSitetree.graphicsetId='13660';
theSitetree.contentColor='353434';
theSitetree.contentBGColor='C6C6D5';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Saeule',
				paletteFamily: 	'C6C6D5',
				keyvisualId: 	'10845',
				keyvisualName: 	'kv_10845.jpg',
				fontsetId: 		'31860',
				graphicsetId: 	'13660',
				contentColor: 	'353434',
				contentBGColor: 'C6C6D5',
				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:  '40473',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-734066b351c98545c7d99b90f506b5ec']={
webappId:    '7060',
documentId:  '41939',
internalId:  '734066b351c98545c7d99b90f506b5ec',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40385',
internalId:  '',
customField: '20110119-094226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40473',
internalId:  '',
customField: '20111228-085005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40484',
internalId:  '',
customField: '20110405-110253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40511',
internalId:  '',
customField: '20110405-105030'
};
webappMappings['7060']=webappMappings['7060-a44080aa9fd0e9f91aab7f277fa986d0']={
webappId:    '7060',
documentId:  '41945',
internalId:  'a44080aa9fd0e9f91aab7f277fa986d0',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40502',
internalId:  '',
customField: '20110405-104359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40681',
internalId:  '',
customField: '20110119-115536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40690',
internalId:  '',
customField: '20090211-152643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40699',
internalId:  '',
customField: '20110405-114434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40746',
internalId:  '',
customField: '20081205-093915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40827',
internalId:  '',
customField: '20081103-112401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41945',
internalId:  '',
customField: '20090418-134155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40845',
internalId:  '',
customField: '20090721-082815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40854',
internalId:  '',
customField: '20081103-120601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40951',
internalId:  '',
customField: '20120214-162535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41069',
internalId:  '',
customField: '20110405-114625'
};
webappMappings['1007']=webappMappings['1007-11d43df8fe8']={
webappId:    '1007',
documentId:  '41250',
internalId:  '11d43df8fe8',
customField: 'g.13l1tg7vd.79348ncqhi.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41180',
internalId:  '',
customField: '20110405-105333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41215',
internalId:  '',
customField: '20100315-165610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41939',
internalId:  '',
customField: '20090418-134101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41749',
internalId:  '',
customField: '20111207-082027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41250',
internalId:  '',
customField: '20101222-090652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41451',
internalId:  '',
customField: '20120214-142759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41338',
internalId:  '',
customField: '20090418-134546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41395',
internalId:  '',
customField: '20111123-111651'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41495',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41495',
internalId:  '',
customField: '20100121-120317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41758',
internalId:  '',
customField: '20110228-154943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44201',
internalId:  '',
customField: '20100418-162819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42296',
internalId:  '',
customField: '20110918-152720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42329',
internalId:  '',
customField: '20110405-114818'
};
webappMappings['1007']=webappMappings['1007-12811455e9a']={
webappId:    '1007',
documentId:  '44201',
internalId:  '12811455e9a',
customField: 'g.1508jptft.4unm3jhec7.3o'
};
webappMappings['1007']=webappMappings['1007-12cf4dc2994']={
webappId:    '1007',
documentId:  '51501',
internalId:  '12cf4dc2994',
customField: 'g.15jqdf221.jub0g5l4q2.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51501',
internalId:  '',
customField: '20110119-093332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53501',
internalId:  '',
customField: '20120209-084051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56601',
internalId:  '',
customField: '20110303-144934'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IR5ETB';
var companyName   = 'Kulturverein+Markt+Glonn+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 */					                                                            

