/* [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+ABST'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41340',jdecode('Achtsamkeit'),jdecode(''),'/41340/home.html','true',[ 
		['PAGE','41915',jdecode('Achtsamkeit+und+Therapie'),jdecode(''),'/41340/41915.html','true',[],''],
		['PAGE','41980',jdecode('Achtsamkeit+und+Spiritualit%C3%A4t'),jdecode(''),'/41340/41980.html','true',[],''],
		['PAGE','42090',jdecode('Achtsamkeit+und+Wohlbefinden'),jdecode(''),'/41340/42090.html','true',[],'']
	],''],
	['PAGE','41349',jdecode('Chronische+Schmerzen'),jdecode(''),'/41349.html','true',[],''],
	['PAGE','41457',jdecode('Meditation'),jdecode(''),'/41457/home.html','true',[ 
		['PAGE','41607',jdecode('Geschichte+der+Meditation'),jdecode(''),'/41457/41607.html','true',[],''],
		['PAGE','58101',jdecode('Systematik+der+Meditation'),jdecode(''),'/41457/58101.html','true',[],''],
		['PAGE','41580',jdecode('Warum+Meditation+in+ABST%3F'),jdecode(''),'/41457/41580.html','true',[],'']
	],''],
	['PAGE','41358',jdecode('ABST'),jdecode(''),'/41358/home.html','true',[ 
		['PAGE','47401',jdecode('Psychoedukation'),jdecode(''),'/41358/47401.html','true',[],''],
		['PAGE','47422',jdecode('Skills'),jdecode(''),'/41358/47422.html','true',[],''],
		['PAGE','47443',jdecode('Achtsamkeit'),jdecode(''),'/41358/47443.html','true',[],'']
	],''],
	['PAGE','41408',jdecode('Was+ist+neu+an+ABST%3F'),jdecode(''),'/41408.html','true',[],''],
	['PAGE','71101',jdecode('Buch-Audio-Video'),jdecode(''),'/71101.html','true',[],''],
	['PAGE','66401',jdecode('Die+Schmerzpraxis'),jdecode(''),'/66401.html','true',[],''],
	['PAGE','41367',jdecode('FAQs'),jdecode(''),'/41367.html','true',[],''],
	['PAGE','64801',jdecode('Kontakt'),jdecode(''),'/64801.html','true',[],''],
	['PAGE','41681',jdecode('Literaturempfehlungen'),jdecode(''),'/41681.html','true',[],''],
	['PAGE','41376',jdecode('Impressum'),jdecode(''),'/41376.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='TOI_Business_2';
theSitetree.paletteFamily='DCDCDD';
theSitetree.keyvisualId='10769';
theSitetree.keyvisualName='kv_10769.jpg';
theSitetree.fontsetId='31826';
theSitetree.graphicsetId='13617';
theSitetree.contentColor='FDFDFC';
theSitetree.contentBGColor='f39154';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Business_2',
				paletteFamily: 	'DCDCDD',
				keyvisualId: 	'10769',
				keyvisualName: 	'kv_10769.jpg',
				fontsetId: 		'31826',
				graphicsetId: 	'13617',
				contentColor: 	'FDFDFC',
				contentBGColor: 'f39154',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				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: '20101202-111020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41340',
internalId:  '',
customField: '20101001-141038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41349',
internalId:  '',
customField: '20101001-135659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41358',
internalId:  '',
customField: '20101202-111051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41408',
internalId:  '',
customField: '20101202-111129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41367',
internalId:  '',
customField: '20101025-065531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41376',
internalId:  '',
customField: '20101106-185027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71101',
internalId:  '',
customField: '20111015-191704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41457',
internalId:  '',
customField: '20101107-092609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64801',
internalId:  '',
customField: '20100321-135953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41607',
internalId:  '',
customField: '20100829-002103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41580',
internalId:  '',
customField: '20100829-002747'
};
webappMappings['1008']=webappMappings['1008-68654552']={
webappId:    '1008',
documentId:  '64801',
internalId:  '68654552',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41681',
internalId:  '',
customField: '20101116-193609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41915',
internalId:  '',
customField: '20100828-235937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41980',
internalId:  '',
customField: '20101001-141159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47401',
internalId:  '',
customField: '20100829-003526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42090',
internalId:  '',
customField: '20100829-001206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47422',
internalId:  '',
customField: '20101001-135513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47443',
internalId:  '',
customField: '20100829-004201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58101',
internalId:  '',
customField: '20100829-002429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66401',
internalId:  '',
customField: '20100829-005424'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRYEJA';
var companyName   = 'Achtsamkeitsbasierte+Schmerztherapie';
var htmlTitle	  = 'Achtsamkeitsbasierte+Schmerztherapie';
var metaKeywords  = 'Achtsamkeitsbasierte+Schmerztherapie%2C+Achtsamkeit%2C+Schmerztherapie%2C+Chronische+Schmerzen%2C+Meditation';
var metaContents  = 'Achtsamkeitsbasierte+Schmerztherapie+ist+ein+psychosologisches+Behandlungskonzept+f%C3%BCr+Schmerzkranke.+Ob+zur+Selbsthilfe%2C+in+der+Einzel-+oder+Gruppentherapie%3A+sie+liefert+ein+griffiges+und+schnell+wirksames+Instrument+zur+Verbesserung+der+Lebensqualit%C3%A4t.++';
					                                                                    
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 */					                                                            

