/* [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','40020',jdecode('Startseite'),jdecode(''),'/40020.html','true',[],''],
	['PAGE','40091',jdecode('Zu+meiner+Person'),jdecode(''),'/40091.html','true',[],''],
	['PAGE','40100',jdecode('Therapieangebote'),jdecode(''),'/40100.html','true',[],''],
	['PAGE','41743',jdecode('Therapieformen'),jdecode(''),'/41743.html','true',[],''],
	['PAGE','49701',jdecode('T%C3%BCr%C3%B6ffner+zu+Gef%C3%BChlen'),jdecode(''),'/49701/home.html','true',[ 
		['PAGE','49722',jdecode('D%C3%BCfte'),jdecode(''),'/49701/49722.html','true',[],''],
		['PAGE','49743',jdecode('Musik'),jdecode(''),'/49701/49743.html','true',[],''],
		['PAGE','49764',jdecode('Gedanken'),jdecode(''),'/49701/49764.html','true',[],''],
		['PAGE','49785',jdecode('Innere+Bilder'),jdecode(''),'/49701/49785.html','true',[],''],
		['PAGE','53201',jdecode('Ber%C3%BChrung'),jdecode(''),'/49701/53201.html','true',[],''],
		['PAGE','53222',jdecode('Bewegung'),jdecode(''),'/49701/53222.html','true',[],'']
	],''],
	['PAGE','41912',jdecode('Umgang+mit+Demenz'),jdecode(''),'/41912.html','true',[],''],
	['PAGE','43701',jdecode('Wohlf%C3%BChlzeiten'),jdecode(''),'/43701.html','true',[],''],
	['PAGE','40109',jdecode('Honorar'),jdecode(''),'/40109.html','true',[],''],
	['PAGE','40156',jdecode('Vortr%C3%A4ge+%2F+Seminare'),jdecode(''),'/40156.html','true',[],''],
	['PAGE','40077',jdecode('Kontakt+%2F+Anfahrt'),jdecode(''),'/40077.html','true',[],''],
	['PAGE','41622',jdecode('Fotos%2C+Videos+u.v.m.'),jdecode(''),'/41622.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='1685';
theSitetree.keyvisualName='abendstimmung.jpg';
theSitetree.fontsetId='280';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'1685',
				keyvisualName: 	'abendstimmung.jpg',
				fontsetId: 		'280',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40020',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40020',
internalId:  '',
customField: '20110927-190847'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40077',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40077',
internalId:  '',
customField: '20110927-190947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49743',
internalId:  '',
customField: '20120130-205008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49764',
internalId:  '',
customField: '20120130-201638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49701',
internalId:  '',
customField: '20120126-120317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49722',
internalId:  '',
customField: '20120130-214743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40091',
internalId:  '',
customField: '20101217-173408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40100',
internalId:  '',
customField: '20101217-174802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40109',
internalId:  '',
customField: '20120211-111159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40156',
internalId:  '',
customField: '20120212-100335'
};
webappMappings['1501']=webappMappings['1501-34739687']={
webappId:    '1501',
documentId:  '40020',
internalId:  '34739687',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53222',
internalId:  '',
customField: '20120204-171239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49785',
internalId:  '',
customField: '20120130-203002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53201',
internalId:  '',
customField: '20120204-171617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41743',
internalId:  '',
customField: '20101228-220046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41912',
internalId:  '',
customField: '20110312-112136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43701',
internalId:  '',
customField: '20110928-102234'
};
webappMappings['7060']=webappMappings['7060-acbdac5e0b615b8bc8a713750a2ccce9']={
webappId:    '7060',
documentId:  '41622',
internalId:  'acbdac5e0b615b8bc8a713750a2ccce9',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41622',
internalId:  '',
customField: '20100806-214125'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7E2NY';
var companyName   = 'Praxis+f%C3%BCr+Psychotherapie+%28HPG%29';
var htmlTitle	  = 'Praxis+f%C3%BCr+Psychotherapie+%28HPG%29';
var metaKeywords  = 'Praxis+Psychotherapie+Martina+Bergbauer+Bad+Aibling+Therapie+katathym+imaginative+Psychotherapie+aromatherapeutisch+Psychoanalytikerin+Fachtherapeutin+Psychologie+HPG+Heilhypnose+Psychokinesiologie+Dorn+Methode+R%C3%BCckenmassage+Breu%C3%9F+Alzheimer+Hospiz++Aroma+Aromatherapie';
var metaContents  = 'Praxis+f%C3%BCr+Psychotherapie+%28HPG%29';
					                                                                    
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 */					                                                            

