/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','45839',jdecode('Aktuelles'),jdecode(''),'/45839.html','true',[],''],
	['PAGE','41492',jdecode('Philosophisches+Caf%C3%A9+aktuell'),jdecode(''),'/41492.html','true',[],''],
	['PAGE','44711',jdecode('Philosophisches+Caf%C3%A9+bisher'),jdecode(''),'/44711/home.html','true',[ 
		['PAGE','47254',jdecode('Themen+in+2011'),jdecode(''),'/44711/47254.html','true',[],''],
		['PAGE','46416',jdecode('Themen+in+2010'),jdecode(''),'/44711/46416.html','true',[],''],
		['PAGE','45568',jdecode('Themen+in+2009'),jdecode(''),'/44711/45568.html','true',[],''],
		['PAGE','44720',jdecode('Themen+in+2008'),jdecode(''),'/44711/44720.html','true',[],''],
		['PAGE','44729',jdecode('Themen+in+2007'),jdecode(''),'/44711/44729.html','true',[],''],
		['PAGE','44738',jdecode('Themen+in+2006'),jdecode(''),'/44711/44738.html','true',[],''],
		['PAGE','44747',jdecode('Themen+in+2005'),jdecode(''),'/44711/44747.html','true',[],''],
		['PAGE','44756',jdecode('Themen+in+2004'),jdecode(''),'/44711/44756.html','true',[],'']
	],''],
	['PAGE','45351',jdecode('Coaching+mit+Sinn'),jdecode(''),'/45351.html','true',[],''],
	['PAGE','45341',jdecode('F%C3%BChren+lernen+durchs+Kino'),jdecode(''),'/45341.html','true',[],''],
	['PAGE','41518',jdecode('Weitere+Angebote'),jdecode(''),'/41518.html','true',[],''],
	['PAGE','45053',jdecode('Akademie+der+Heiterkeit'),jdecode(''),'/45053/home.html','true',[ 
		['PAGE','45173',jdecode('Literatur+zum+Thema'),jdecode(''),'/45053/45173.html','true',[],'']
	],''],
	['PAGE','45556',jdecode('Humorkonzept'),jdecode(''),'/45556.html','true',[],''],
	['PAGE','41509',jdecode('Termine'),jdecode(''),'/41509.html','true',[],''],
	['PAGE','40377',jdecode('Wer+bin+ich'),jdecode(''),'/40377.html','true',[],''],
	['PAGE','41474',jdecode('Ver%C3%B6ffentlichungen'),jdecode(''),'/41474.html','true',[],''],
	['PAGE','41483',jdecode('Pilgern'),jdecode(''),'/41483.html','true',[],''],
	['PAGE','40386',jdecode('Kontakt'),jdecode(''),'/40386.html','true',[],''],
	['PAGE','40395',jdecode('Impressum'),jdecode(''),'/40395.html','true',[],'']];
var siteelementCount=24;
theSitetree.topTemplateName='Intense';
theSitetree.paletteFamily='B7622A';
theSitetree.keyvisualId='3496';
theSitetree.keyvisualName='kv_3496.jpg';
theSitetree.fontsetId='10654';
theSitetree.graphicsetId='10799';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D58856';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Intense',
				paletteFamily: 	'B7622A',
				keyvisualId: 	'3496',
				keyvisualName: 	'kv_3496.jpg',
				fontsetId: 		'10654',
				graphicsetId: 	'10799',
				contentColor: 	'000000',
				contentBGColor: 'D58856',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'AD401A',
				e_color: 		'727171',
				f_color: 		'3F3F3F',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100202-105317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40386',
internalId:  '',
customField: '20091205-205247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41518',
internalId:  '',
customField: '20091112-213322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41483',
internalId:  '',
customField: '20090910-120534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41474',
internalId:  '',
customField: '20120122-125715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40377',
internalId:  '',
customField: '20091112-222213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40395',
internalId:  '',
customField: '20110528-094202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41492',
internalId:  '',
customField: '20120131-212325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41509',
internalId:  '',
customField: '20120108-221704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44711',
internalId:  '',
customField: '20111203-114252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44720',
internalId:  '',
customField: '20091108-131921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44729',
internalId:  '',
customField: '20091108-130551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44738',
internalId:  '',
customField: '20091108-125404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44747',
internalId:  '',
customField: '20091108-124150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44756',
internalId:  '',
customField: '20091005-182715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45053',
internalId:  '',
customField: '20091112-232424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45173',
internalId:  '',
customField: '20100520-221530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45341',
internalId:  '',
customField: '20091112-213007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45351',
internalId:  '',
customField: '20091112-213404'
};
webappMappings['1501']=webappMappings['1501-63717357']={
webappId:    '1501',
documentId:  '39994',
internalId:  '63717357',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45556',
internalId:  '',
customField: '20091128-172912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45568',
internalId:  '',
customField: '20091205-203530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45839',
internalId:  '',
customField: '20101016-144016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46416',
internalId:  '',
customField: '20101229-184302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47254',
internalId:  '',
customField: '20120102-102707'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IR8ESE';
var companyName   = 'Mit+heiterem+Sinn';
var htmlTitle	  = 'Mit+heiterem+Sinn';
var metaKeywords  = 'Humorkonzept%2C+Christoph+Emmelmann%2C+Alfred+Gerhards%2C+Philosophisches+Cafe+DenkMal%2C+Heiterkeit%2C+Thomas+Holtbernd%2C+Akademie+der+Heiterkeit%2C+Coaching%2C+Pilgern%2CCoaching%2C+Sinn%2C+Marcus+Minten%2C+Filmarbeit+und+F%C3%BChren%2C+Wenn+Coaching+Sinn+macht%2C+Macht+glauben+gl%C3%BCcklich%3F+';
var metaContents  = 'Der+Weg+zur+Lebenskunst+und+Heiterkeit';
					                                                                    
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 */					                                                            

