/* [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('Home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','44327',jdecode('natura+magica'),jdecode(''),'/44327/home.html','true',[ 
		['PAGE','45173',jdecode('auf+der+Suche'),jdecode(''),'/44327/45173.html','true',[],''],
		['PAGE','44647',jdecode('Magie+des+Augenblicks'),jdecode(''),'/44327/44647.html','true',[],''],
		['PAGE','44228',jdecode('Kinder+der+Erde'),jdecode(''),'/44327/44228.html','true',[],''],
		['PAGE','44662',jdecode('Bewusstsein'),jdecode(''),'/44327/44662.html','true',[],'']
	],''],
	['PAGE','45053',jdecode('Selbstheilung'),jdecode(''),'/45053.html','true',[],''],
	['PAGE','42963',jdecode('Praxis'),jdecode(''),'/42963/home.html','true',[ 
		['PAGE','44575',jdecode('%C3%9Cber+mich'),jdecode(''),'/42963/44575.html','true',[],''],
		['PAGE','42972',jdecode('Kontakt'),jdecode(''),'/42963/42972.html','true',[],''],
		['PAGE','44313',jdecode('Anfahrt'),jdecode(''),'/42963/44313.html','true',[],''],
		['PAGE','44452',jdecode('FAQ'),jdecode(''),'/42963/44452.html','true',[],'']
	],''],
	['PAGE','44852',jdecode('Seminare'),jdecode(''),'/44852/home.html','true',[ 
		['PAGE','53901',jdecode('Heilkreis'),jdecode(''),'/44852/53901.html','true',[],'']
	],''],
	['PAGE','44713',jdecode('Links'),jdecode(''),'/44713.html','true',[],''],
	['PAGE','44918',jdecode('Impressum'),jdecode(''),'/44918.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='TOI_Wellness_1';
theSitetree.paletteFamily='F9F8F0';
theSitetree.keyvisualId='10622';
theSitetree.keyvisualName='kv_10622.jpg';
theSitetree.fontsetId='31758';
theSitetree.graphicsetId='13530';
theSitetree.contentColor='656363';
theSitetree.contentBGColor='F3F3DF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Wellness_1',
				paletteFamily: 	'F9F8F0',
				keyvisualId: 	'10622',
				keyvisualName: 	'kv_10622.jpg',
				fontsetId: 		'31758',
				graphicsetId: 	'13530',
				contentColor: 	'656363',
				contentBGColor: 'F3F3DF',
				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:     '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: '20110330-154224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42963',
internalId:  '',
customField: '20110517-105053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42972',
internalId:  '',
customField: '20101028-154131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44713',
internalId:  '',
customField: '20111129-135815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44228',
internalId:  '',
customField: '20110317-223631'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '44313',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44662',
internalId:  '',
customField: '20110317-224544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44313',
internalId:  '',
customField: '20090929-162858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44327',
internalId:  '',
customField: '20110319-103918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44452',
internalId:  '',
customField: '20110317-225751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44647',
internalId:  '',
customField: '20110317-214607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44575',
internalId:  '',
customField: '20110506-110532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44852',
internalId:  '',
customField: '20120213-172035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44918',
internalId:  '',
customField: '20101130-151944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45053',
internalId:  '',
customField: '20110316-121517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45173',
internalId:  '',
customField: '20110317-195511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53901',
internalId:  '',
customField: '20111129-140036'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IR84H2';
var companyName   = 'natura+magica';
var htmlTitle	  = 'Welle+der+Erneuerung+-+Praxis+f%C3%BCr+Humanenergetik';
var metaKeywords  = 'Matrix+Healing%2C+ThetaHealing%2C+Matrix+energetics%2C+Quantenheilung%2C+Heilerpraxis+';
var metaContents  = 'Praxis+f%C3%BCr+Humanenergetik+-+ganzheitliche+Behandlungsmethoden+f%C3%BCr+K%C3%B6rper%2C+Geist+und+Seele';
					                                                                    
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 */					                                                            

