/* [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','40031',jdecode('Startseite'),jdecode(''),'/40031.html','true',[],''],
	['PAGE','41111',jdecode('Praxisspektrum'),jdecode(''),'/41111/home.html','true',[ 
		['PAGE','41129',jdecode('Diagnose'),jdecode(''),'/41111/41129.html','true',[],''],
		['PAGE','41120',jdecode('Moderne+Naturheilkunde'),jdecode(''),'/41111/41120.html','false',[],''],
		['PAGE','67501',jdecode('Access+To+Innate'),jdecode(''),'/41111/67501.html','true',[],''],
		['PAGE','48478',jdecode('Airnergy'),jdecode(''),'/41111/48478.html','true',[],''],
		['PAGE','48431',jdecode('Akupunktur'),jdecode(''),'/41111/48431.html','true',[],''],
		['PAGE','46267',jdecode('Bioresonanz'),jdecode(''),'/41111/46267.html','true',[],''],
		['PAGE','48453',jdecode('Cranio+Sacral'),jdecode(''),'/41111/48453.html','true',[],''],
		['PAGE','46285',jdecode('Dunkelfeld'),jdecode(''),'/41111/46285.html','true',[],''],
		['PAGE','51701',jdecode('Dorn-Wirbeltherapie'),jdecode(''),'/41111/51701.html','false',[],''],
		['PAGE','48442',jdecode('Eigenblut'),jdecode(''),'/41111/48442.html','true',[],''],
		['PAGE','51401',jdecode('Hom%C3%B6opathie'),jdecode(''),'/41111/51401.html','true',[],''],
		['PAGE','46414',jdecode('Infusionen'),jdecode(''),'/41111/46414.html','true',[],''],
		['PAGE','56001',jdecode('Infrarot+Lichttherapie'),jdecode(''),'/41111/56001.html','false',[],''],
		['PAGE','48516',jdecode('Metabolic+Balance'),jdecode(''),'/41111/48516.html','true',[],''],
		['PAGE','56401',jdecode('Orthomolekulare+Medizin'),jdecode(''),'/41111/56401.html','true',[],''],
		['PAGE','46276',jdecode('Oxyvenierung'),jdecode(''),'/41111/46276.html','true',[],''],
		['PAGE','74201',jdecode('Osteopathie+%26+Chiropraktik'),jdecode(''),'/41111/74201.html','true',[],''],
		['PAGE','48464',jdecode('Phytotherapie'),jdecode(''),'/41111/48464.html','true',[],''],
		['PAGE','48494',jdecode('Powertube'),jdecode(''),'/41111/48494.html','false',[],''],
		['PAGE','41200',jdecode('Kosten'),jdecode(''),'/41111/41200.html','true',[],'']
	],''],
	['PAGE','41138',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41138/home.html','true',[ 
		['PAGE','41165',jdecode('Praxis'),jdecode(''),'/41138/41165.html','true',[],''],
		['PAGE','41174',jdecode('Zur+Person'),jdecode(''),'/41138/41174.html','true',[],'']
	],''],
	['PAGE','57801',jdecode('Presse'),jdecode(''),'/57801.html','true',[],''],
	['PAGE','41183',jdecode('Sprechzeiten'),jdecode(''),'/41183.html','true',[],''],
	['PAGE','40094',jdecode('Kontakt'),jdecode(''),'/40094.html','true',[],''],
	['PAGE','40103',jdecode('Impressum'),jdecode(''),'/40103.html','true',[],''],
	['PAGE','64501',jdecode('Glossar'),jdecode(''),'/64501.html','true',[],'']];
var siteelementCount=30;
theSitetree.topTemplateName='Circles';
theSitetree.paletteFamily='D2D2D2';
theSitetree.keyvisualId='10971';
theSitetree.keyvisualName='kv_10971.jpg';
theSitetree.fontsetId='31913';
theSitetree.graphicsetId='13728';
theSitetree.contentColor='424242';
theSitetree.contentBGColor='D2D2D2';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circles',
				paletteFamily: 	'D2D2D2',
				keyvisualId: 	'10971',
				keyvisualName: 	'kv_10971.jpg',
				fontsetId: 		'31913',
				graphicsetId: 	'13728',
				contentColor: 	'424242',
				contentBGColor: 'D2D2D2',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48442',
internalId:  '',
customField: '20100419-213315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40031',
internalId:  '',
customField: '20120119-212426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46276',
internalId:  '',
customField: '20101020-213205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41111',
internalId:  '',
customField: '20110629-212822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41138',
internalId:  '',
customField: '20110629-213623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41120',
internalId:  '',
customField: '20100419-182054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41129',
internalId:  '',
customField: '20100419-181908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41200',
internalId:  '',
customField: '20100226-191202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40103',
internalId:  '',
customField: '20110125-132539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41165',
internalId:  '',
customField: '20110823-195929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48431',
internalId:  '',
customField: '20100420-135053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41183',
internalId:  '',
customField: '20120119-212943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40094',
internalId:  '',
customField: '20120119-212202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41174',
internalId:  '',
customField: '20120128-230157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46267',
internalId:  '',
customField: '20100604-212543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46285',
internalId:  '',
customField: '20100419-220106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46414',
internalId:  '',
customField: '20100419-184549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67501',
internalId:  '',
customField: '20100521-131351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48453',
internalId:  '',
customField: '20100521-130311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48464',
internalId:  '',
customField: '20100419-221748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48478',
internalId:  '',
customField: '20111225-174536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48494',
internalId:  '',
customField: '20100419-202831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48516',
internalId:  '',
customField: '20100419-201109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74201',
internalId:  '',
customField: '20110630-125625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51401',
internalId:  '',
customField: '20100419-184412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51701',
internalId:  '',
customField: '20100419-200254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20100419-220318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56401',
internalId:  '',
customField: '20100419-201306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57801',
internalId:  '',
customField: '20100319-132711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64501',
internalId:  '',
customField: '20100521-130956'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I78TDE';
var companyName   = 'Naturheilpraxis+Homma';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

