/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','40991',jdecode('Angebot'),jdecode(''),'/40991.html','true',[],''],
	['PAGE','42073',jdecode('Personal-Training'),jdecode(''),'/42073.html','true',[],''],
	['PAGE','43236',jdecode('Ern%C3%A4hrung'),jdecode(''),'/43236.html','true',[],''],
	['PAGE','42085',jdecode('Kontakt'),jdecode(''),'/42085.html','true',[],''],
	['PAGE','42094',jdecode('Links'),jdecode(''),'/42094.html','true',[],''],
	['PAGE','42103',jdecode('Impressum%2FAGB'),jdecode(''),'/42103.html','true',[],''],
	['PAGE','42488',jdecode('Anfahrt'),jdecode(''),'/42488.html','true',[],''],
	['PAGE','42603',jdecode('G%C3%A4stebuch'),jdecode(''),'/42603/home.html','true',[ 
		['PAGE','42602',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42603/42602.html','true',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='93A6CC';
theSitetree.keyvisualId='2232';
theSitetree.keyvisualName='hotels3.jpg';
theSitetree.fontsetId='365';
theSitetree.graphicsetId='415';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='93A6CC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'93A6CC',
				keyvisualId: 	'2232',
				keyvisualName: 	'hotels3.jpg',
				fontsetId: 		'365',
				graphicsetId: 	'415',
				contentColor: 	'000000',
				contentBGColor: '93A6CC',
				a_color: 		'93A6CC',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10810e527d9']={
webappId:    '1007',
documentId:  '42073',
internalId:  '10810e527d9',
customField: 'g.1108bmpg9.lhkt7tql1a.1s'
};
webappMappings['1002']=webappMappings['1002-42603atoix0inz3a1']={
webappId:    '1002',
documentId:  '42603',
internalId:  '42603atoix0inz3a1',
customField: 'action=form&icq=false'
};
webappMappings['1501']=webappMappings['1501-11488349']={
webappId:    '1501',
documentId:  '44',
internalId:  '11488349',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42488',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1002']=webappMappings['1002-42603atoix0inz3a1']={
webappId:    '1002',
documentId:  '42602',
internalId:  '42603atoix0inz3a1',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20091120-120345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42603',
internalId:  '',
customField: '20060509-165032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42602',
internalId:  '',
customField: '20060509-165032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42085',
internalId:  '',
customField: '20080620-102604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40991',
internalId:  '',
customField: '20091120-115026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42073',
internalId:  '',
customField: '20091120-115633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42094',
internalId:  '',
customField: '20091120-115851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42103',
internalId:  '',
customField: '20071107-193918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42488',
internalId:  '',
customField: '20060509-162146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43236',
internalId:  '',
customField: '20080620-102258'
};
webappMappings['1008']=webappMappings['1008-28408842']={
webappId:    '1008',
documentId:  '42085',
internalId:  '28408842',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0INZ3A1';
var companyName   = 'Leben+ist+Bewegung';
var htmlTitle	  = 'kmbodyline';
var metaKeywords  = 'kmbodyline%2C+Karin+Matysiak%2C+Nordic-Walking%2C+Fresh-up-Massage%2C+Pilates%2C+Indoor-%2C+Outdoortraining%2C+Trainingsbetreuung%2C+Trainingsplanerstellung%2C+Anamnese%2C+Gesundheitsanalyse%2C+Fitnesstests%2C+Lifestyleberatung%2C+Gewichtsreduktion%2C+bewusste+Ern%C3%A4hrung%2C+Leben+ist+Bewegung';
var metaContents  = 'Karin+Matysiak+pr%C3%A4sentiert+unter+www.+kmbodyline.de+vielf%C3%A4ltige+Angebote+zur+Anamnese%2C+Gesundheitsanalyse+und+der+gezielten+Bewegung.+Ob+Gewichtsreduktion+oder+Stressmanagement%2FEntspannung%2C+ihre+Ziele+sind+in+der+Eins-zu-Eins-Betreuung+auch+meine.+';
					                                                                    
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 */					                                                            
