/* [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','40564',jdecode('Philosophie'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','40555',jdecode('News'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40573',jdecode('Qualifikationen'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','40631',jdecode('5+Super+Tipps+'),jdecode(''),'/40631.html','true',[],''],
	['PAGE','39994',jdecode('Warum+Les+Mills%3F'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41208',jdecode('Sh%26%23x27%3Bbam'),jdecode(''),'/41208.html','true',[],''],
	['PAGE','42960',jdecode('Body+Balance'),jdecode(''),'/42960.html','true',[],''],
	['PAGE','40960',jdecode('Body+Pump'),jdecode(''),'/40960.html','true',[],''],
	['PAGE','42972',jdecode('Body+Jam'),jdecode(''),'/42972.html','false',[],''],
	['PAGE','41026',jdecode('Yoga+Im+Balance+House'),jdecode(''),'/41026.html','true',[],''],
	['PAGE','41239',jdecode('Krankenkassen'),jdecode(''),'/41239.html','false',[],''],
	['PAGE','40582',jdecode('Kursplan+%26+Preise'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','40882',jdecode('Personal+Training+'),jdecode(''),'/40882/home.html','true',[ 
		['PAGE','40851',jdecode('Ern%C3%A4hrungsberatung+und+Trainingsplan'),jdecode(''),'/40882/40851.html','true',[],'']
	],''],
	['PAGE','40609',jdecode('FitLine+%26+BeautyLine'),jdecode(''),'/40609.html','true',[],''],
	['PAGE','41081',jdecode('Presse'),jdecode(''),'/41081.html','true',[],''],
	['PAGE','41118',jdecode('Transalp+Challenge+'),jdecode(''),'/41118.html','true',[],''],
	['PAGE','40600',jdecode('Kontakt+%26+Impressum'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','41708',jdecode('Anfahrt'),jdecode(''),'/41708.html','true',[],''],
	['PAGE','65301',jdecode('FORUM'),jdecode(''),'/65301.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='AC2323';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='294';
theSitetree.graphicsetId='356';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='AC2323';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'AC2323',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'294',
				graphicsetId: 	'356',
				contentColor: 	'FFFFFF',
				contentBGColor: 'AC2323',
				a_color: 		'AC2323',
				b_color: 		'480F0F',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40564',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110727-144647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20120209-112655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20111007-143806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20120116-143640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40882',
internalId:  '',
customField: '20101223-091927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20111204-124723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40631',
internalId:  '',
customField: '20100211-143226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20111216-135503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20110803-154406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42960',
internalId:  '',
customField: '20110129-180711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40851',
internalId:  '',
customField: '20100131-171826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40960',
internalId:  '',
customField: '20110129-180446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41026',
internalId:  '',
customField: '20111204-130158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41081',
internalId:  '',
customField: '20100505-124143'
};
webappMappings['1007']=webappMappings['1007-1295a791488']={
webappId:    '1007',
documentId:  '41118',
internalId:  '1295a791488',
customField: 'g.155d6gflu.5bgsesnhc1.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41118',
internalId:  '',
customField: '20100622-103420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41208',
internalId:  '',
customField: '20111206-092944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42972',
internalId:  '',
customField: '20110129-180314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41239',
internalId:  '',
customField: '20101223-091513'
};
webappMappings['7091']=webappMappings['7091-59757']={
webappId:    '7091',
documentId:  '39994',
internalId:  '59757',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41708',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41708',
internalId:  '',
customField: '20110429-162804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65301',
internalId:  '',
customField: '20120210-131528'
};
webappMappings['1003']=webappMappings['1003-atoix0irbgpt13561a51c7d']={
webappId:    '1003',
documentId:  '65301',
internalId:  'atoix0irbgpt13561a51c7d',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRBGPT';
var companyName   = 'Balance+House';
var htmlTitle	  = 'Balance+House';
var metaKeywords  = 'Carina+Simm%2C+Balance+House%2C+Body+Pump+Yoga%2C+Pilates%2C+Abnehmen%2C+Gesund%2C+ausgeglichen%2C+Schlank%2C+Sch%C3%B6n%2C+Fit%2C+Gluecklich%2C+Spa%C3%9F%2C+Team%2C+Erfolg%2C+Ziele+erreichen%2C+Krafttraining%2C+Wellness%2C+Wohlbefinden%2C+Wohlgefuehl%2C+Fitness%2C+Gesundheit%2C+Zufriedenheit%2C++Wellnesstipps%2C+Wellness-ABC+++';
var metaContents  = 'Carina+Simm.+Balancehouse%2C+Yoga%2C+Pilates%2C+Body+Pump%2C+Personal+Training%2C++Balance+your+Life%21+Fit+werden+und+dabei+Spa%C3%9F+haben.+Fitness+f%C3%BCr+Body++Mind+in+pers%C3%B6nlichem+Ambiente.+Mit+Spa%C3%9F+zum+Erfolg%21';
					                                                                    
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 */					                                                            

