/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','4599',jdecode('Home'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','4656',jdecode('Facial-Harmony'),jdecode(''),'/4656.html','true',[],''],
	['PAGE','4683',jdecode('Massagen'),jdecode(''),'/4683.html','true',[],''],
	['PAGE','4710',jdecode('Haarentfernung+mit+Zuckergel'),jdecode(''),'/4710.html','true',[],''],
	['PAGE','5403',jdecode('Kosmetik+%28Mila+d%26%23x27%3BOpiz%29'),jdecode(''),'/5403/index.html','true',[ 
		['PAGE','26101',jdecode('Pflegelinien'),jdecode(''),'/5403/26101.html','true',[],''],
		['PAGE','26122',jdecode('Spezialprodukte'),jdecode(''),'/5403/26122.html','true',[],''],
		['PAGE','26143',jdecode('Antiaging'),jdecode(''),'/5403/26143.html','true',[],'']
	],''],
	['PAGE','4737',jdecode('Ohrkerzen+und+andere+Produkte'),jdecode(''),'/4737.html','true',[],''],
	['PAGE','16711',jdecode('Sonderaktionen'),jdecode(''),'/16711.html','true',[],''],
	['PAGE','16585',jdecode('Philosophie'),jdecode(''),'/16585.html','true',[],''],
	['PAGE','16753',jdecode('Aktuelles'),jdecode(''),'/16753.html','true',[],''],
	['PAGE','4764',jdecode('Gut+zu+wissen'),jdecode(''),'/4764.html','true',[],''],
	['PAGE','16837',jdecode('Tipps+%26+Tricks'),jdecode(''),'/16837.html','true',[],''],
	['PAGE','16543',jdecode('%C3%9Cber+mich'),jdecode(''),'/16543.html','true',[],''],
	['PAGE','16774',jdecode('Termine'),jdecode(''),'/16774.html','true',[],''],
	['PAGE','4818',jdecode('Kontakt'),jdecode(''),'/4818/index.html','true',[ 
		['PAGE','16501',jdecode('Adresse%2C+Telefon'),jdecode(''),'/4818/16501.html','true',[],'']
	],''],
	['PAGE','26164',jdecode('Wichtige+Adressen'),jdecode(''),'/26164.html','true',[],''],
	['PAGE','16732',jdecode('Flohmarkt'),jdecode(''),'/16732.html','true',[],''],
	['PAGE','16816',jdecode('Jobs'),jdecode(''),'/16816.html','true',[],''],
	['PAGE','21301',jdecode('Anfahrt'),jdecode(''),'/21301.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='b0cbd6';
theSitetree.keyvisualId='1979';
theSitetree.keyvisualName='masage.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='383';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'b0cbd6',
				keyvisualId: 	'1979',
				keyvisualName: 	'masage.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'383',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'b0cbd6',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '21301',
internalId:  'location',
customField: 'language:de;country:CH;isIncluded:false;'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4599',
internalId:  '3468473',
customField: '1501'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '4818',
internalId:  '5518178',
customField: 'de:CH:'
};
var canonHostname = 'support.hptworkderdb01a.bluewin.ch';
var accountId     = 'ABW0X0IN2KPZ';
var companyName   = 'Denise+Ehrbar%2C+8868+Oberurnen';
var htmlTitle	  = '';
var metaKeywords  = 'Celltox+statt+Botox%2C+Antiaging%2C+Falten%2C+Lifting%2C+Face+Lifting%2C+Facial+Harmony%2C+sanfte+Gesichtsmassage%2C+Therapie%2C+Entspannung%2C+Ohrkerzen%2C+Enthaarung%2C+Haarentfernung%2C+Hair%2C+Haar+ex%2C+Kosmetik%2C+Cosmetik%2C+Mila+d+Opiz%2C+Schweizer+Produkt%2C+Kraft+tanken%2C+Ferien%2C+Meridian%2C+Massage%2C+Kopfreflexzonenmassage%2C+Reflexzonen%2C+Facial%2C+A%2C+B%2C+C%2C+D%2C+E%2C+F%2C+G%2C+H%2C+I%2C+J%2C+K%2C+L%2C+M%2C+N%2C+O%2C+P%2C+Q%2C+R%2C+S%2C+T%2C+U%2C+V%2C+W%2C+X%2C+Y%2C+Z%2C+a%2C+b%2C+c%2C+d%2C+e%2C+f%2C+g%2C+h%2C+i%2C+j%2C+k%2C+l%2C+m%2C+n%2C+o%2C+p%2C+q%2C+r%2C+s%2C+t%2C+u%2C+v%2C+w%2C+x%2C+y%2C+z+.+Nat%C3%BCrlich%2C+Bio%2C+Erholung%2C+Rehabilitation%2C+Extra%2C+Lebenshilfe%2C+';
var metaContents  = 'Brauchen+Sie+Entspannung%2C+Faltenlifting%2C+Antiaging%2C+Freier+Energiefluss%2C+Facial+Harmony%2C+sanfte+Gesichtsmassage%2C+Meridianmassage%2C+Kopfreflexzonenmassage%2C+Energiemassage%2C+Haarentfernung+mit+nat%C3%BCrlichem+Zuckergel%2C+Enthaarung%2C+Hopi+Ohrkerzen%2C+Wohlf%C3%BChlen%2C+Oase+der+Entspannung%2C+Kraft+tanken%2C+Ferien%2C+Celltox+statt+Botox%3F+Dann+sind+Sie+richtig+hier...schauen+Sie+rein%2C+Sie+k%C3%B6nnen+nichts+verlieren%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;                                                                     
	};                                                                               
/* EOF */					                                                            

