/* [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','40239',jdecode('Startseite'),jdecode(''),'/40239.html','true',[],''],
	['PAGE','40973',jdecode('Videos'),jdecode(''),'/40973.html','true',[],''],
	['PAGE','48001',jdecode('Referenzen'),jdecode(''),'/48001.html','true',[],''],
	['PAGE','40259',jdecode('Bauchredner'),jdecode(''),'/40259.html','true',[],''],
	['PAGE','50001',jdecode('Privatfeier'),jdecode(''),'/50001.html','true',[],''],
	['PAGE','48064',jdecode('Firmenfeier'),jdecode(''),'/48064.html','true',[],''],
	['PAGE','54301',jdecode('Stage+Illusion++%22B%C3%BChne%22'),jdecode(''),'/54301.html','true',[],''],
	['PAGE','67501',jdecode('Kinderunterhaltung'),jdecode(''),'/67501/home.html','true',[ 
		['PAGE','67522',jdecode('Comedy+Kindershow'),jdecode(''),'/67501/67522.html','true',[],''],
		['PAGE','67543',jdecode('Abenteuerseefahrt'),jdecode(''),'/67501/67543.html','true',[],''],
		['PAGE','67564',jdecode('Dinozauber'),jdecode(''),'/67501/67564.html','true',[],''],
		['PAGE','78701',jdecode('Luftballonzauber'),jdecode(''),'/67501/78701.html','true',[],'']
	],''],
	['PAGE','77801',jdecode('Flohzirkus'),jdecode(''),'/77801.html','true',[],''],
	['PAGE','61701',jdecode('Au%C3%9Fergew%C3%B6hnlich%3F'),jdecode(''),'/61701.html','true',[],''],
	['PAGE','55801',jdecode('Spektakulum'),jdecode(''),'/55801.html','true',[],''],
	['PAGE','40955',jdecode('Link+Partner'),jdecode(''),'/40955.html','true',[],''],
	['PAGE','40286',jdecode('Impressum'),jdecode(''),'/40286.html','true',[],''],
	['PAGE','78501',jdecode('Fotoalbum'),jdecode(''),'/78501.html','true',[],''],
	['PAGE','42061',jdecode('Besetzdaten'),jdecode(''),'/42061.html','true',[],''],
	['PAGE','40277',jdecode('Kontakt'),jdecode(''),'/40277.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='1E3A6F';
theSitetree.keyvisualId='2026';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='338';
theSitetree.graphicsetId='396';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='1E3A6F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Activate',
				paletteFamily: 	'1E3A6F',
				keyvisualId: 	'2026',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'338',
				graphicsetId: 	'396',
				contentColor: 	'FFFFFF',
				contentBGColor: '1E3A6F',
				a_color: 		'1E3A6F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40239',
internalId:  '',
customField: '20100224-101331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40286',
internalId:  '',
customField: '20100224-112255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40259',
internalId:  '',
customField: '20100224-104431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67543',
internalId:  '',
customField: '20100125-121917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40277',
internalId:  '',
customField: '20100224-102536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67501',
internalId:  '',
customField: '20100224-112539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48064',
internalId:  '',
customField: '20100224-104751'
};
webappMappings['1008']=webappMappings['1008-34396579']={
webappId:    '1008',
documentId:  '40277',
internalId:  '34396579',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77801',
internalId:  '',
customField: '20100224-111359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55801',
internalId:  '',
customField: '20100125-135416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61701',
internalId:  '',
customField: '20100224-111817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42061',
internalId:  '',
customField: '20100224-120547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67564',
internalId:  '',
customField: '20100125-122822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78501',
internalId:  '',
customField: '20100125-140242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48001',
internalId:  '',
customField: '20100224-103622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78701',
internalId:  '',
customField: '20100224-110611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50001',
internalId:  '',
customField: '20100224-104709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40955',
internalId:  '',
customField: '20100224-112056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40973',
internalId:  '',
customField: '20100125-140056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67522',
internalId:  '',
customField: '20100224-105952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54301',
internalId:  '',
customField: '20100224-145056'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7EN7U';
var companyName   = 'Herzk%C3%B6nig+%26+Lara+-+Magic-Affair';
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 */					                                                            
