/* [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('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','10297',jdecode('Biographie'),jdecode(''),'/10297.html','true',[],''],
	['PAGE','11422',jdecode('+Programm'),jdecode(''),'/11422.html','true',[],''],
	['PAGE','18501',jdecode('Pressestimmen+'),jdecode(''),'/18501.html','true',[],''],
	['PAGE','11437',jdecode('Termine'),jdecode(''),'/11437.html','true',[],''],
	['PAGE','23301',jdecode('Bildergalerie'),jdecode(''),'/23301.html','true',[],''],
	['PAGE','17501',jdecode('Videos'),jdecode(''),'/17501.html','true',[],''],
	['PAGE','19001',jdecode('KiCK'),jdecode(''),'/19001/home.html','true',[ 
		['PAGE','25601',jdecode('Bilder'),jdecode(''),'/19001/25601.html','true',[],''],
		['PAGE','22001',jdecode('Pressespiegel'),jdecode(''),'/19001/22001.html','true',[],'']
	],''],
	['PAGE','22101',jdecode('Der+Lachende+Morio'),jdecode(''),'/22101/home.html','true',[ 
		['PAGE','27901',jdecode('Ausschreibung+2011'),jdecode(''),'/22101/27901.html','true',[],'']
	],''],
	['PAGE','11706',jdecode('G%C3%A4stebuch'),jdecode(''),'/11706/home.html','true',[ 
		['PAGE','11701',jdecode('Eintr%C3%A4ge'),jdecode(''),'/11706/11701.html','true',[],'']
	],''],
	['PAGE','10324',jdecode('Kontakt%2F+Buchung'),jdecode(''),'/10324.html','true',[],''],
	['PAGE','19701',jdecode('Links'),jdecode(''),'/19701.html','true',[],''],
	['PAGE','33401',jdecode('Impressum'),jdecode(''),'/33401.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='291';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'291',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100110-105826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11422',
internalId:  '',
customField: '20111031-125939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10297',
internalId:  '',
customField: '20111013-163207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11437',
internalId:  '',
customField: '20111126-211541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10324',
internalId:  '',
customField: '20070204-194606'
};
webappMappings['1002']=webappMappings['1002-11706atoix0inzdrm']={
webappId:    '1002',
documentId:  '11706',
internalId:  '11706atoix0inzdrm',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-11706atoix0inzdrm']={
webappId:    '1002',
documentId:  '11701',
internalId:  '11706atoix0inzdrm',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11706',
internalId:  '',
customField: '20090223-202939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11701',
internalId:  '',
customField: '20070204-192030'
};
webappMappings['1008']=webappMappings['1008-29632543']={
webappId:    '1008',
documentId:  '10324',
internalId:  '29632543',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20100822-111708'
};
webappMappings['7060']=webappMappings['7060-79ba602ead42bd6a1c80a4f226742b59']={
webappId:    '7060',
documentId:  '17501',
internalId:  '79ba602ead42bd6a1c80a4f226742b59',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17501',
internalId:  '',
customField: '20100210-150032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18501',
internalId:  '',
customField: '20110327-220850'
};
webappMappings['1007']=webappMappings['1007-1261866bc89']={
webappId:    '1007',
documentId:  '25601',
internalId:  '1261866bc89',
customField: 'g.14oc2ft3f.41vqc6gue86.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22101',
internalId:  '',
customField: '20110522-221906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19701',
internalId:  '',
customField: '20111005-094545'
};
webappMappings['1007']=webappMappings['1007-12617c2ebe0']={
webappId:    '1007',
documentId:  '23301',
internalId:  '12617c2ebe0',
customField: 'g.14obrp0rt.e4fdg40hvq.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22001',
internalId:  '',
customField: '20100813-194716'
};
webappMappings['1501']=webappMappings['1501-2178568']={
webappId:    '1501',
documentId:  '4579',
internalId:  '2178568',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27901',
internalId:  '',
customField: '20110414-102325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23301',
internalId:  '',
customField: '20100110-164642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25601',
internalId:  '',
customField: '20100110-184525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33401',
internalId:  '',
customField: '20100217-192145'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INZDRM';
var companyName   = 'M+A+N+F+R+E+D+++T+A+M+M+';
var htmlTitle	  = 'Manfred+Tamm+-+Kabarettist+und+Comedian';
var metaKeywords  = 'Kabarett%2C+Comedy%2C+Lehrer+in+Deutschland%2C+Jugendliche%2C+Eltern%2C+P%C3%A4dagogen%2C+Politiker%2C+Beh%C3%B6rden%2C+%C3%96ffentlichkeit%2C+M%C3%A4nner+und+Frauen%2C+aufh%C3%B6ren+zu+altern%2C+Opa%2C+wo+es+ein+Bisschen+weh+tut%2C+Sozialsatire%2C+deutscher+Comedian%2C+Comedy+Clubs+in+England%2Cschwarzer+Humor+';
var metaContents  = 'Willkommen+bei+Manfred+Tamm%2C+dem+Kabarettisten+und+Comedian.+Seine+Themen+sind+die+Realsatire+des+deutschen+Schulalltags%2C+der+Non-Aging-Wahn+und+der+dekadente+Geschlechterkampf.+';
					                                                                    
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 */					                                                            

