/* [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('Herzlich+Willkommen%21'),jdecode(''),'/39994/home.html','true',[ 
		['PAGE','40555',jdecode('Cornelia+Heider-M%C3%BCller'),jdecode(''),'/39994/40555.html','true',[],''],
		['PAGE','40564',jdecode('Praxis+-+Highlights'),jdecode(''),'/39994/40564.html','true',[],'']
	],''],
	['PAGE','41928',jdecode('Kosmetik+'),jdecode(''),'/41928/home.html','true',[ 
		['PAGE','40573',jdecode('Kosmetik+Basic'),jdecode(''),'/41928/40573.html','true',[],''],
		['PAGE','40582',jdecode('Kosmetik+Intensiv'),jdecode(''),'/41928/40582.html','true',[],''],
		['PAGE','40618',jdecode('Anti+Aging'),jdecode(''),'/41928/40618.html','true',[],''],
		['PAGE','40591',jdecode('Mikrodermabrasion'),jdecode(''),'/41928/40591.html','true',[],''],
		['PAGE','41179',jdecode('Medical+Kosmetik'),jdecode(''),'/41928/41179.html','true',[],''],
		['PAGE','40627',jdecode('Herrenkosmetik'),jdecode(''),'/41928/40627.html','true',[],''],
		['PAGE','40636',jdecode('Wellbeeing+-+Entspannung'),jdecode(''),'/41928/40636.html','true',[],'']
	],''],
	['PAGE','40645',jdecode('Fu%C3%9Fpflege'),jdecode(''),'/40645.html','true',[],''],
	['PAGE','40654',jdecode('Farb-Typberatung'),jdecode(''),'/40654.html','true',[],''],
	['PAGE','40663',jdecode('Entspannungsverfahren'),jdecode(''),'/40663.html','true',[],''],
	['PAGE','40672',jdecode('Angebot+des+Monats'),jdecode(''),'/40672.html','true',[],''],
	['PAGE','40681',jdecode('Gutscheine+%2F+Service'),jdecode(''),'/40681.html','true',[],''],
	['PAGE','40690',jdecode('Kontakt+%2F+Termine'),jdecode(''),'/40690.html','true',[],''],
	['PAGE','40881',jdecode('Anfahrt'),jdecode(''),'/40881.html','true',[],''],
	['PAGE','40708',jdecode('Herzlichen+Dank%21'),jdecode(''),'/40708.html','true',[],''],
	['PAGE','40699',jdecode('Impressum+%2F+AGBs'),jdecode(''),'/40699.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Freetime_1';
theSitetree.paletteFamily='FBF1FC';
theSitetree.keyvisualId='10579';
theSitetree.keyvisualName='kv_10579.jpg';
theSitetree.fontsetId='31740';
theSitetree.graphicsetId='13511';
theSitetree.contentColor='552771';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Freetime_1',
				paletteFamily: 	'FBF1FC',
				keyvisualId: 	'10579',
				keyvisualName: 	'kv_10579.jpg',
				fontsetId: 		'31740',
				graphicsetId: 	'13511',
				contentColor: 	'552771',
				contentBGColor: 'FFFFFF',
				a_color: 		'FBF1FC',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'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: '20100711-164955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20100616-182556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100711-170220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20100614-171818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40636',
internalId:  '',
customField: '20100615-173924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40663',
internalId:  '',
customField: '20100711-170845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20100711-094106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40654',
internalId:  '',
customField: '20100710-194131'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40881',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40881',
internalId:  '',
customField: '20100601-212336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40708',
internalId:  '',
customField: '20100614-173416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40690',
internalId:  '',
customField: '20100711-170024'
};
webappMappings['1008']=webappMappings['1008-70838579']={
webappId:    '1008',
documentId:  '40690',
internalId:  '70838579',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20100711-170324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20100711-170434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41179',
internalId:  '',
customField: '20100613-133656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40645',
internalId:  '',
customField: '20100710-194010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20100614-164938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40699',
internalId:  '',
customField: '20100601-170950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40681',
internalId:  '',
customField: '20100619-143629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40672',
internalId:  '',
customField: '20100711-093747'
};
webappMappings['1501']=webappMappings['1501-70937197']={
webappId:    '1501',
documentId:  '39994',
internalId:  '70937197',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41928',
internalId:  '',
customField: '20100711-170143'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRSI9H';
var companyName   = 'Sch%C3%B6nheit+entfalten...++++++++++++++++++++++++CHM+KOSMETIK++++++++';
var htmlTitle	  = 'Kosmetik+Fu%C3%9Fpflege+Entspannung+Farb-+und+Typberatung';
var metaKeywords  = 'CHM%2C+Cornelia+Heider-M%C3%BCller%2C+Kosmetik%2C+Landshut%2C+Mikrodermabrasion%2C+Anti+Aging%2C++Wellbeeing%2C+Medizinische+Fu%C3%9Fpflege%2C+Ultraschall%2C+Hydroabrasion%2C+Farb-Typberatung%2C+Neovita%2C+Koko%2C+Dermaviduals%2C+Klapp%2C+Dr.+Rimpler%2C+Isabelle+Lancray%2C+Entspannungsverfahren%2C+Autogenes+Training%2C+Progressive+Muskelentspannung%2C+Mindmanagement%2C+Landshut%2C';
var metaContents  = 'Gesunde%2C+sch%C3%B6ne+Haut%3A+Zeichen+der+Ausgeglichenheit++und+Entspannung+und+richtigen+Pflege%3A+Kosmetik+und+Entspannung+in+Landshut';
					                                                                    
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 */					                                                            
