/* [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','46366',jdecode('Angst%2C+Zweifel+und+Co.'),jdecode(''),'/46366.html','true',[],''],
	['PAGE','41323',jdecode('ACT'),jdecode(''),'/41323/home.html','true',[ 
		['PAGE','41332',jdecode('Materialien'),jdecode(''),'/41323/41332.html','true',[],''],
		['PAGE','45578',jdecode('Lebensphilosophie'),jdecode(''),'/41323/45578.html','true',[],''],
		['PAGE','46505',jdecode('ACT+f%C3%BCr+Profis'),jdecode(''),'/41323/46505.html','true',[],''],
		['PAGE','46537',jdecode('Aktuelles'),jdecode(''),'/41323/46537.html','true',[],''],
		['PAGE','46341',jdecode('Das+Buch'),jdecode(''),'/41323/46341.html','false',[],''],
		['PAGE','43395',jdecode('Zum+Weiterlesen'),jdecode(''),'/41323/43395.html','true',[],'']
	],''],
	['PAGE','41341',jdecode('Wer+bin+ich'),jdecode(''),'/41341.html','true',[],''],
	['PAGE','41376',jdecode('Impressum'),jdecode(''),'/41376.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Flat';
theSitetree.paletteFamily='669999';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16702';
theSitetree.graphicsetId='12238';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='9ABABA';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Flat',
				paletteFamily: 	'669999',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16702',
				graphicsetId: 	'12238',
				contentColor: 	'FFFFFF',
				contentBGColor: '9ABABA',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'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: '20100210-104801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41323',
internalId:  '',
customField: '20100210-105327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41332',
internalId:  '',
customField: '20100209-215641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41341',
internalId:  '',
customField: '20090320-110743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41376',
internalId:  '',
customField: '20080425-130250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46366',
internalId:  '',
customField: '20080425-131538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43395',
internalId:  '',
customField: '20100209-200106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45578',
internalId:  '',
customField: '20100209-221059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46341',
internalId:  '',
customField: '20080823-114205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46505',
internalId:  '',
customField: '20090712-102029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46537',
internalId:  '',
customField: '20100210-111358'
};
var canonHostname = 'cfawrk11.aul.t-online.de';
var accountId     = 'ATOIX0IR1ERI';
var companyName   = 'Das+Leben+annehmen';
var htmlTitle	  = 'Die+Akzeptanz-+und+Commitmenttherapie+%28ACT%29';
var metaKeywords  = 'Psychologe%2C+Psychotherapeut%2C+Solingen%2C+Matthias+Wengenroth%2C+Psychotherapie%2C+Akzeptanz-+und+Commitmenttherapie%2C+ACT%2C+Achtsamkeit%2C+Verhaltenstherapie%2C+psychische+St%C3%B6rungen%2C+Depressionen%2C+Angst%2C+Zw%C3%A4nge%2C+Steven+Hayes%2C+Das+Leben+annehmen%2C+acceptance%2C+commitment%2C+therapy%2C+Lars+und+die+Frauen';
var metaContents  = 'Diese+Seite+informiert+%C3%BCber+die+neue+Akzeptanz-+und+Commitmenttherapie+%28ACT%29%2C+die+in+den+USA+entwickelt+wurde%2C+sich+als+sehr+effektiv+erwiesen+hat+und+nun+auch+in+Europa+vermehrt+zum+Einsatz+kommt.+';
					                                                                    
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 */					                                                            
