/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','15618',jdecode('Leitung'),jdecode(''),'/15618/home.html','true',[ 
		['PAGE','13728',jdecode('Detail+und+Selbstverst%C3%A4ndnis'),jdecode(''),'/15618/13728.html','true',[],'']
	],''],
	['PAGE','13755',jdecode('Diagnose'),jdecode(''),'/13755.html','true',[],''],
	['PAGE','13917',jdecode('Behandlung+u.+Hausbesuch'),jdecode(''),'/13917/home.html','true',[ 
		['PAGE','13944',jdecode('Hom%C3%B6opathie'),jdecode(''),'/13917/13944.html','true',[],''],
		['PAGE','13998',jdecode('K%C3%B6rper'),jdecode(''),'/13917/13998.html','true',[],''],
		['PAGE','13971',jdecode('Seele'),jdecode(''),'/13917/13971.html','true',[],''],
		['PAGE','14025',jdecode('Geist'),jdecode(''),'/13917/14025.html','true',[],'']
	],''],
	['PAGE','14052',jdecode('Kurse+und+Seminare'),jdecode(''),'/14052/home.html','true',[ 
		['PAGE','14079',jdecode('Autogenes+Training'),jdecode(''),'/14052/14079.html','true',[],''],
		['PAGE','14106',jdecode('Meditation'),jdecode(''),'/14052/14106.html','true',[],'']
	],''],
	['PAGE','14133',jdecode('IFAPSY%C2%A9+'),jdecode(''),'/14133/home.html','true',[ 
		['PAGE','15336',jdecode('f%C3%BCr+Fachkreis+%28gesch%C3%BCtzt%29'),jdecode(''),'/14133/15336.html','true',[],'']
	],''],
	['PAGE','14330',jdecode('Kontakt'),jdecode(''),'/14330/home.html','true',[ 
		['PAGE','14366',jdecode('Ihre+Meinung+%28Folgeseite%29'),jdecode(''),'/14330/14366.html','false',[],'']
	],''],
	['PAGE','34529',jdecode('Umfrage'),jdecode(''),'/34529.html','true',[],''],
	['PAGE','14385',jdecode('G%C3%A4stebuch'),jdecode(''),'/14385/home.html','true',[ 
		['PAGE','14386',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14385/14386.html','true',[],'']
	],''],
	['PAGE','34396',jdecode('Hier+finden+Sie+uns'),jdecode(''),'/34396.html','true',[],''],
	['PAGE','14160',jdecode('Impressum%2C+Copyright...'),jdecode(''),'/14160.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='455339';
theSitetree.keyvisualId='2022';
theSitetree.keyvisualName='apotheke.jpg';
theSitetree.fontsetId='337';
theSitetree.graphicsetId='392';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='455339';
var theTemplate={
				name: 			'Activate',
				paletteFamily: 	'455339',
				keyvisualId: 	'2022',
				keyvisualName: 	'apotheke.jpg',
				fontsetId: 		'337',
				graphicsetId: 	'392',
				contentColor: 	'FFFFFF',
				contentBGColor: '455339',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'455339',
				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['1501']={
webappId:    '1501',
documentId:  '4579',
internalId:  '646169',
customField: '1501'
};
webappMappings['3001']={
webappId:    '3001',
documentId:  '15336',
internalId:  '',
customField: ''
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '14385',
internalId:  '14385ATOIX0INVKSA',
customField: 'action=form&icq=false'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '34529',
internalId:  '10de19eb025.bcff7d94',
customField: 'de:DE:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '14386',
internalId:  '14385ATOIX0INVKSA',
customField: 'action=list'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '14330',
internalId:  '19665594',
customField: 'de:DE:'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '34396',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0INVKSA';
var companyName   = 'Naturheilpraxis+Schaal%2BIFAPSY%C2%A9';
var htmlTitle	  = 'Schaal%2C+Uwe+Helmut%2C+Heilpraktiker+-+Naturheilpraxis+und+IFAPSY%C2%A9';
var metaKeywords  = 'Schaal%2C+Uwe+Helmut%2C+Heilpraktiker%2C+Praxisschild%2C+Naturheilpraxis%2C+K%C3%B6rper%2C+Seele%2C+Geist%2C+IFAPSY%C2%A9%2C+Institut+f%C3%BCr+Angewandte+Psychotherapie%2C+Kurse%2C+Seminare%2C+Vortr%C3%A4ge%2C+Autogenes+Training%2C+Meditation%2C+Homoeopathie%2C+Heil-Hypnose%2C+Heil.Gebete%2C+Geist-Heilung%2C+Transzendente+EnergieArbeit%2C+Transpersonale+Psychologie%2C+Katathym-Imaginative+Psychotherapie%2C+Hellinger%2C+Scharl%2C+Leuner%2C+Pr%C3%A4kognition%2C+Retrokognition';
var metaContents  = 'Schaal%2C+Uwe+Helmut.+Heilpraktiker.+Praxisschild+der+Naturheilpraxis+fuer+Koerper%2C+Seele+und+Geist.+IFAPSY%C2%A9+Institut+fuer+Angewandte+Psychotherapie.+Kurse+Seminare+Vortr%C3%A4ge+Autogenes+Training+Meditation.+Homoeopathie+Heil-Hypnose+Heil-Gebete+Geist-Heilung.+Transzendente+EnergieArbeit.+Transpersonale+Psychologie.+Katathym-Imaginative+Psychotherapie.+Systemisches+Familienstellen+Organisationsstellen+Hellinger+Scharl+Leuner.+Pr%C3%A4kognition.+Retrokognition.';
					                                                                    
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 */					                                                            

