/* [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','13901',jdecode('Start'),jdecode(''),'/13901.html','true',[],''],
	['PAGE','19001',jdecode('Wer+wir+sind'),jdecode(''),'/19001/home.html','true',[ 
		['PAGE','51329',jdecode('Das+B%C3%BCro'),jdecode(''),'/19001/51329.html','true',[],''],
		['PAGE','18780',jdecode('Mitgliedschaft'),jdecode(''),'/19001/18780.html','true',[],''],
		['PAGE','28035',jdecode('Mitgliedschaft+%28Folgeseite%29'),jdecode(''),'/19001/28035.html','false',[],'']
	],''],
	['PAGE','55729',jdecode('Kalender'),jdecode(''),'/55729.html','true',[],''],
	['PAGE','115229',jdecode('Chronik'),jdecode(''),'/115229/home.html','true',[ 
		['PAGE','88729',jdecode('Lauschangriff'),jdecode(''),'/115229/88729.html','true',[],''],
		['PAGE','56429',jdecode('BAJUKU+2007'),jdecode(''),'/115229/56429.html','true',[],''],
		['PAGE','40229',jdecode('BAJUKU+2006'),jdecode(''),'/115229/40229.html','true',[],''],
		['PAGE','21301',jdecode('Slam+%26+Jam+2005'),jdecode(''),'/115229/21301.html','true',[],''],
		['PAGE','69729',jdecode('Osterweiterung'),jdecode(''),'/115229/69729.html','true',[],''],
		['PAGE','88829',jdecode('StrEEtArTs-+BA'),jdecode(''),'/115229/88829.html','true',[],''],
		['PAGE','107629',jdecode('10+Jahre+Hall+of+Fame-+2008'),jdecode(''),'/115229/107629.html','true',[],''],
		['PAGE','26533',jdecode('Konzerte%2F+Kultursofa'),jdecode(''),'/115229/26533.html','true',[],'']
	],''],
	['PAGE','35729',jdecode('Verb%C3%BCndete'),jdecode(''),'/35729.html','true',[],''],
	['PAGE','18720',jdecode('G%C3%A4stebuch'),jdecode(''),'/18720/home.html','true',[ 
		['PAGE','18721',jdecode('Eintr%C3%A4ge'),jdecode(''),'/18720/18721.html','true',[],'']
	],''],
	['PAGE','18406',jdecode('Kontakt'),jdecode(''),'/18406/home.html','true',[ 
		['PAGE','28829',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/18406/28829.html','false',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Comedy';
theSitetree.paletteFamily='85A246';
theSitetree.keyvisualId='2794';
theSitetree.keyvisualName='surfer.jpg';
theSitetree.fontsetId='10601';
theSitetree.graphicsetId='10719';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='9EBA61';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Comedy',
				paletteFamily: 	'85A246',
				keyvisualId: 	'2794',
				keyvisualName: 	'surfer.jpg',
				fontsetId: 		'10601',
				graphicsetId: 	'10719',
				contentColor: 	'000000',
				contentBGColor: '9EBA61',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'647C2F',
				e_color: 		'647C2F',
				f_color: 		'647C2F',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-18720atoix0in2u14']={
webappId:    '1002',
documentId:  '18720',
internalId:  '18720atoix0in2u14',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-18720atoix0in2u14']={
webappId:    '1002',
documentId:  '18721',
internalId:  '18720atoix0in2u14',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13901',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13901',
internalId:  '',
customField: '20100704-151011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20101130-200625'
};
webappMappings['1001']=webappMappings['1001-atoix0in2u141072e4f61bf']={
webappId:    '1001',
documentId:  '18406',
internalId:  'atoix0in2u141072e4f61bf',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2u141072918fae2']={
webappId:    '1001',
documentId:  '18780',
internalId:  'atoix0in2u141072918fae2',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2u141072918fae2']={
webappId:    '1001',
documentId:  '28035',
internalId:  'atoix0in2u141072918fae2',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0in2u141072e4f61bf']={
webappId:    '1001',
documentId:  '28829',
internalId:  'atoix0in2u141072e4f61bf',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26533',
internalId:  '',
customField: '20080216-193306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40229',
internalId:  '',
customField: '20070304-224259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21301',
internalId:  '',
customField: '20060403-131721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18780',
internalId:  '',
customField: '20080921-161559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28035',
internalId:  '',
customField: '20051025-204502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18406',
internalId:  '',
customField: '20101130-200817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28829',
internalId:  '',
customField: '20051026-210233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18720',
internalId:  '',
customField: '20041010-220822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18721',
internalId:  '',
customField: '20041010-201305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35729',
internalId:  '',
customField: '20090524-201427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51329',
internalId:  '',
customField: '20100205-192213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55729',
internalId:  '',
customField: '20090318-204431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107629',
internalId:  '',
customField: '20080907-200717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56429',
internalId:  '',
customField: '20070624-171109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88829',
internalId:  '',
customField: '20080907-191952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88729',
internalId:  '',
customField: '20100205-193853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69729',
internalId:  '',
customField: '20080921-154530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115229',
internalId:  '',
customField: '20100206-184102'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2U14';
var companyName   = 'KULTURBEUTEL+e.V.';
var htmlTitle	  = 'Kulturbeutel+eV+Bamberg';
var metaKeywords  = 'Bamberg%2C+Party%2C+Balkan%2C+Balkanbeats%2C+Partzani%2C+aktiv%2C+Freizeit%2C+Freizeitgestaltung%2C+Jugendkultur%2C+Kulturbeutel+e.V.%2C+Lauschangriff%2C+junge+Leute%2C+neue+Projekte+und+Events%2C+SlamJam%2C+BAJUKU%2C+Festival%2C+Alternative+Rock%2C+Pop%2C+Grafitti%2C+Zirkus%2C+Kunst%2C+Kleinkunst%2C+Wollust%2C+Sport%2C+Kultursofa%2C+Sch%C3%BCler%2C+Azubis%2C+Studenten%2C+Spenden%2C+Sponoren%2C+Musik%2C+HipHop%2C+Balkanbeatz%2C+Szene%2C+Club%2C+Musik%2C+Kultur%2C+Osterweiterung%2C+Fenster%2C+Sandstrasse%2C+Domstadt%2C+Theater%2C+Finanzierung%2C+Non+Profit+Organisation%2C+gemeinn%C3%BCtzig%2C+Festival%2C';
var metaContents  = 'Die+Seite+des+Verein+Kulturbeutel+e.V.Bamberg.++Der+sich+um+die+Jugendkultur+in+sorgt+und+gemeinsam+mit+jungen+Leuten+neue+Ideen+und+Projekte+organisieren+und+realisieren+m%C3%B6chte.+Wir+hoffen+auf+zahlreiche+Unterst%C3%BCtzung+von+Seiten+der+Stadt+Bamberg+und+den+ans%C3%A4%C3%9Figen+Unternehmen.';
					                                                                    
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 */					                                                            

