/* [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','42060',jdecode('Metabolic+Typing'),jdecode(''),'/42060.html','false',[],''],
	['PAGE','40581',jdecode('Kinesiologie'),jdecode(''),'/40581.html','true',[],''],
	['PAGE','40590',jdecode('HNC'),jdecode(''),'/40590.html','true',[],''],
	['PAGE','40599',jdecode('R%C3%BCckentherapie'),jdecode(''),'/40599.html','true',[],''],
	['PAGE','41834',jdecode('%3A%3A+Links'),jdecode(''),'/41834.html','true',[],''],
	['PAGE','41777',jdecode('%3A%3A+Meine+Praxis+und+ich'),jdecode(''),'/41777.html','true',[],''],
	['PAGE','40608',jdecode('%3A%3A+Kontakt+%26+Anfahrt'),jdecode(''),'/40608.html','true',[],''],
	['PAGE','40617',jdecode('%3A%3A+Impressum'),jdecode(''),'/40617.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='TOI_Welle_1';
theSitetree.paletteFamily='3777B1';
theSitetree.keyvisualId='10667';
theSitetree.keyvisualName='kv_10667.jpg';
theSitetree.fontsetId='31776';
theSitetree.graphicsetId='13555';
theSitetree.contentColor='084175';
theSitetree.contentBGColor='F5F6F8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Welle_1',
				paletteFamily: 	'3777B1',
				keyvisualId: 	'10667',
				keyvisualName: 	'kv_10667.jpg',
				fontsetId: 		'31776',
				graphicsetId: 	'13555',
				contentColor: 	'084175',
				contentBGColor: 'F5F6F8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				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: '20111102-065118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40581',
internalId:  '',
customField: '20071014-152610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40608',
internalId:  '',
customField: '20100920-213347'
};
webappMappings['1008']=webappMappings['1008-40554321']={
webappId:    '1008',
documentId:  '40608',
internalId:  '40554321',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40617',
internalId:  '',
customField: '20110717-150010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40590',
internalId:  '',
customField: '20100905-200816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40599',
internalId:  '',
customField: '20071005-210226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41777',
internalId:  '',
customField: '20111102-065339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41834',
internalId:  '',
customField: '20100913-192202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42060',
internalId:  '',
customField: '20100903-170838'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7F2YN';
var companyName   = 'Naturheilpraxis+Petra+Schopp-Mack';
var htmlTitle	  = 'Naturheilpraxis+Petra+Schopp-Mack%2C+Weil+am+Rhein-Haltingen';
var metaKeywords  = 'Naturheilpraxis%2C+Heilpraktikerin%2C+Kinesiologie%2C+Klinghardt%2C+R%C3%BCckenmassage%2C+Human+Neuro+Cybrainetics%2C+HNC%2C+R%C3%BCckentherapie%2C+Dorn-Breu%C3%9F%2C+Weil+am+Rhein-Haltingen%2C+Dreil%C3%A4ndereck%2C+Weil+am+Rhein%2C+L%C3%B6rrach%2C+Basel%2C+Petra+Schopp-Mack';
var metaContents  = 'Die+Naturheilpraxis+in+Weil+am+Rhein-Haltingen+bietet+Ihnen+Heilung+und+Vorbeugung+mit+nat%C3%BCrlichen+Methoden+der+modernen+alternativen+Medizin%3A+Kinesiologie+nach+Dr.+med.+Klinghardt%2C+Human+Neuro+Cybrainetics+HNC%2C+R%C3%BCckenmassage+und+-therapie+nach+Dorn-Breu%C3%9F.';
					                                                                    
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 */					                                                            

