/* [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('Kontakt+'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','19622',jdecode('%C3%9Cber+mich+'),jdecode(''),'/19622.html','true',[],''],
	['PAGE','45401',jdecode('Lebenslauf'),jdecode(''),'/45401.html','true',[],''],
	['PAGE','35105',jdecode('Termine+%26+Kurse'),jdecode(''),'/35105.html','true',[],''],
	['PAGE','23962',jdecode('Die+Band+f%C3%BCr+Ihr+Event%21'),jdecode(''),'/23962.html','true',[],''],
	['PAGE','47101',jdecode('Presseartikel'),jdecode(''),'/47101.html','true',[],''],
	['PAGE','19703',jdecode('Show+und+Event'),jdecode(''),'/19703.html','true',[],''],
	['PAGE','19676',jdecode('P%C3%A4dagogische+Angebote+'),jdecode(''),'/19676.html','true',[],''],
	['PAGE','59101',jdecode('Trommeln+in+der+Schule'),jdecode(''),'/59101.html','true',[],''],
	['PAGE','61701',jdecode('+K%C3%B6rperbehindertenschule+OG'),jdecode(''),'/61701.html','true',[],''],
	['PAGE','24930',jdecode('Trommelbauprojekte'),jdecode(''),'/24930.html','true',[],''],
	['PAGE','25436',jdecode('Der+verwandelte+Kapit%C3%A4n'),jdecode(''),'/25436.html','true',[],''],
	['PAGE','23963',jdecode('Fotos'),jdecode(''),'/23963.html','true',[],''],
	['PAGE','42762',jdecode('%22ZIELE%22+das+Musical'),jdecode(''),'/42762.html','true',[],''],
	['PAGE','43449',jdecode('Impressum'),jdecode(''),'/43449/home.html','true',[ 
		['PAGE','23555',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/43449/23555.html','false',[],'']
	],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Desert';
theSitetree.paletteFamily='9D3F2B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10617';
theSitetree.graphicsetId='11008';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Desert',
				paletteFamily: 	'9D3F2B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10617',
				graphicsetId: 	'11008',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'9D3F2B',
				e_color: 		'9D3F2B',
				f_color: 		'9D3F2B',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-fe3a94149b']={
webappId:    '1007',
documentId:  '24930',
internalId:  'fe3a94149b',
customField: 'g.vot8bqdm.7r39p37as89.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20101019-094113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23963',
internalId:  '',
customField: '20100502-001831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23555',
internalId:  '',
customField: '20040908-174851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45401',
internalId:  '',
customField: '20110501-181226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19622',
internalId:  '',
customField: '20110501-180132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61701',
internalId:  '',
customField: '20100513-144134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35105',
internalId:  '',
customField: '20100120-133919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19676',
internalId:  '',
customField: '20091012-234011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24930',
internalId:  '',
customField: '20100629-164206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25436',
internalId:  '',
customField: '20100127-215339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59101',
internalId:  '',
customField: '20110915-233656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47101',
internalId:  '',
customField: '20110501-181538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19703',
internalId:  '',
customField: '20100127-213419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23962',
internalId:  '',
customField: '20110915-233911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42762',
internalId:  '',
customField: '20060627-125901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43449',
internalId:  '',
customField: '20071009-120409'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INVKNP';
var companyName   = 'Music-Show-Event';
var htmlTitle	  = 'Music-Show-Event';
var metaKeywords  = 'Arbeit+mit+Kindern+und+Erwachsenen%2C+Gestaltung+von+Schul-Projekttagen%2C+Trommel-Workshops%2C+Seminare%2C+Auff%C3%BChrungen%2C+';
var metaContents  = 'Arbeit+mit+Kindern+und+Erwachsenen%2C+Gestaltung+von+Schul-Projekttagen%2C+Trommel-Workshops%2C+Seminare%2C+Auff%C3%BChrungen%2C+';
					                                                                    
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 */					                                                            

