/* [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('Willkommen'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40376',jdecode('Therapie'),jdecode(''),'/40376.html','true',[],''],
	['PAGE','44147',jdecode('L%C3%B6sungsorientierung'),jdecode(''),'/44147.html','true',[],''],
	['PAGE','44156',jdecode('Traumatherapie'),jdecode(''),'/44156.html','true',[],''],
	['PAGE','42522',jdecode('Aufstellungen'),jdecode(''),'/42522.html','true',[],''],
	['PAGE','42195',jdecode('Ausbildung'),jdecode(''),'/42195.html','true',[],''],
	['PAGE','40385',jdecode('Kontakt'),jdecode(''),'/40385.html','true',[],''],
	['PAGE','42204',jdecode('Links'),jdecode(''),'/42204.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Dynamic';
theSitetree.paletteFamily='951B1B';
theSitetree.keyvisualId='7583';
theSitetree.keyvisualName='kv_7583.jpg';
theSitetree.fontsetId='16688';
theSitetree.graphicsetId='12232';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dynamic',
				paletteFamily: 	'951B1B',
				keyvisualId: 	'7583',
				keyvisualName: 	'kv_7583.jpg',
				fontsetId: 		'16688',
				graphicsetId: 	'12232',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				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:     'true'
			  };
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: '20120203-160357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40376',
internalId:  '',
customField: '20120203-152222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40385',
internalId:  '',
customField: '20110613-092009'
};
webappMappings['1501']=webappMappings['1501-38721047']={
webappId:    '1501',
documentId:  '39994',
internalId:  '38721047',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42195',
internalId:  '',
customField: '20111128-223658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42204',
internalId:  '',
customField: '20110217-060351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42522',
internalId:  '',
customField: '20111128-225423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44147',
internalId:  '',
customField: '20120203-153648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44156',
internalId:  '',
customField: '20120203-160103'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7LNJH';
var companyName   = 'Familie%2C+Beruf%2C+Freizeit+neu+aufstellen';
var htmlTitle	  = 'Systeme+sehen+-++Wer+denken+kann%2C+ist+frei.+Wer+handeln+kann%2C+ist+reich.+Wer+lieben+kann%2C+ist+gl%C3%BCcklich.';
var metaKeywords  = 'Dr.rer.nat.+Kai+Matthias+Pinnow%2C+Heilpraktiker%2C+Psychotherapie%2C+Stuttgart%2C+Heilbronn%2C+Ludwigsburg%2C+Schorndorf%2C+Praxis+Hessigheim%2C+psychotherapeutische+Heilpraktiker%2C+Beratung%2C+Coaching%2C+Schulung%2C+Gesundheitsamt%2C+Pr%C3%BCfung%2C+Lernen%2C+Ausbildung%2C+Pr%C3%BCfungsvorbereitung%2C+Aufstellung%2C+Traumabehandlung%2C+l%C3%B6sungsorientiert%2C+Gespr%C3%A4chstherapie%2C+Systemaufstellungen%2C+Hellinger%2C+DGfS%2C+Moreno%2C+Satir%2C+Kurztherapie%2C+Intervention%2C+L%C3%B6sung%2C+HP+Psychotherapie%2C+BW%2C+HP%2C+Online%2C+Coaching%2C+eMail%2C+Messenger%2C+Trauma%2C+Depression%2C+Angst%2C+Unfall%2C+Gewalt%2C+Verbrechen%2C+Sucht%2C+Therapie%2C+HIlfe%2C+Unterst%C3%BCtzung%2C+Begleitung%2C+Heilpraktikerschule%2C+Topas-Seminar';
var metaContents  = 'Heilpraktiker+%28Psychotherapie%29+Dr.rer.nat.+Kai+Pinnow+-+Praxis+Hessigheim%2C+HPP-Unterricht+Heilpraktikerschule+HPP-OK+Ludwigsburg+-+Systemaufstellungen%2C+l%C3%B6sungsorientierte+Gespr%C3%A4chstherapie%2C+Pr%C3%BCfungsvorbereitung%2C+Lernen%2C+Vortr%C3%A4ge.';
					                                                                    
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 */					                                                            

