/* [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','43073',jdecode('Aktuelles'),jdecode(''),'/43073.html','true',[],''],
	['PAGE','40199',jdecode('Willkommen'),jdecode(''),'/40199.html','true',[],''],
	['PAGE','43181',jdecode('Spielplan'),jdecode(''),'/43181.html','true',[],''],
	['PAGE','43163',jdecode('Dr.+Jekyll+%26+Mr.+Hyde'),jdecode(''),'/43163.html','true',[],''],
	['PAGE','53822',jdecode('Was+beliebt%2C+ist+auch+erlaubt.'),jdecode(''),'/53822.html','true',[],''],
	['PAGE','43172',jdecode('Buchbare+St%C3%BCcke'),jdecode(''),'/43172.html','false',[],''],
	['PAGE','43190',jdecode('Junge+B%C3%BChnenst%C3%BCrmer'),jdecode(''),'/43190.html','true',[],''],
	['PAGE','93101',jdecode('Ela+und+Frank+%282012%29'),jdecode(''),'/93101.html','true',[],''],
	['PAGE','88501',jdecode('Nelly+Trent+%282011%29'),jdecode(''),'/88501.html','true',[],''],
	['PAGE','85501',jdecode('Jedermann+%282011%29'),jdecode(''),'/85501.html','true',[],''],
	['PAGE','43118',jdecode('Sagen-haft+%282010%29'),jdecode(''),'/43118.html','true',[],''],
	['PAGE','72401',jdecode('Ein+Sommerm%C3%A4rchen+%282010%29'),jdecode(''),'/72401.html','true',[],''],
	['PAGE','43154',jdecode('8+Frauen+%282009-2010%29'),jdecode(''),'/43154.html','true',[],''],
	['PAGE','43145',jdecode('Der+Teufel...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%282008-2009%29'),jdecode(''),'/43145.html','true',[],''],
	['PAGE','43136',jdecode('Three+Cheers...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%282008%29'),jdecode(''),'/43136.html','true',[],''],
	['PAGE','43127',jdecode('Der+kleine+Zwerg...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%282008%29'),jdecode(''),'/43127.html','false',[],''],
	['PAGE','43109',jdecode('Dracula+%282007%29'),jdecode(''),'/43109.html','true',[],''],
	['PAGE','43100',jdecode('Figaros+Hochzeit+%282006%29'),jdecode(''),'/43100.html','true',[],''],
	['PAGE','43091',jdecode('Faust+%282005%29'),jdecode(''),'/43091.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='FF6D25';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33359';
theSitetree.graphicsetId='14225';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A32402';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'FF6D25',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33359',
				graphicsetId: 	'14225',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A32402',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Palatino Linotype, Book Antiqua, Palatino, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '43073',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40199',
internalId:  '',
customField: '20110425-130734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43118',
internalId:  '',
customField: '20101221-180512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93101',
internalId:  '',
customField: '20120209-132828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43073',
internalId:  '',
customField: '20120210-112858'
};
webappMappings['7091']=webappMappings['7091-42048']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42048',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43154',
internalId:  '',
customField: '20100220-170815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43091',
internalId:  '',
customField: '20100220-170210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43163',
internalId:  '',
customField: '20120207-152707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43172',
internalId:  '',
customField: '20100114-142727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43100',
internalId:  '',
customField: '20100220-170322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43109',
internalId:  '',
customField: '20100220-170417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43127',
internalId:  '',
customField: '20091113-142808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43136',
internalId:  '',
customField: '20110426-152251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43145',
internalId:  '',
customField: '20100220-170657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43181',
internalId:  '',
customField: '20120209-114015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43190',
internalId:  '',
customField: '20110711-141811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85501',
internalId:  '',
customField: '20111030-120105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53822',
internalId:  '',
customField: '20101221-184056'
};
webappMappings['7091']=webappMappings['7091-42041']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42041',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72401',
internalId:  '',
customField: '20100726-093727'
};
webappMappings['7091']=webappMappings['7091-42043']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42043',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-42049']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42049',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-42047']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42047',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-42480']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42480',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-42479']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42479',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-42478']={
webappId:    '7091',
documentId:  '53822',
internalId:  '42478',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1501']=webappMappings['1501-39540616']={
webappId:    '1501',
documentId:  '43073',
internalId:  '39540616',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88501',
internalId:  '',
customField: '20120207-142752'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I737VF';
var companyName   = 'Theater+%22Die+B%C3%BChnenst%C3%BCrmer%22+e.V.++8.+Spielzeit';
var htmlTitle	  = 'Theater+%22Die+B%C3%BChnenst%C3%BCrmer%22+e.V.';
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 */					                                                            

