/* [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','1701',jdecode('Home'),jdecode(''),'/1701.html','true',[],''],
	['PAGE','1773',jdecode('Personal-Coaching'),jdecode(''),'/1773.html','true',[],''],
	['PAGE','1794',jdecode('Berufs-Coaching'),jdecode(''),'/1794.html','true',[],''],
	['PAGE','1815',jdecode('Power-Coaching'),jdecode(''),'/1815.html','true',[],''],
	['PAGE','3801',jdecode('Karten-Coaching'),jdecode(''),'/3801.html','true',[],''],
	['PAGE','3822',jdecode('Sexual-Coaching'),jdecode(''),'/3822.html','true',[],''],
	['PAGE','1836',jdecode('%C3%9Cber+Auraline'),jdecode(''),'/1836/index.html','true',[ 
		['PAGE','1878',jdecode('Impressum'),jdecode(''),'/1836/1878.html','true',[],'']
	],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Angkor';
theSitetree.paletteFamily='879ED6';
theSitetree.keyvisualId='6884';
theSitetree.keyvisualName='kv_6884.jpg';
theSitetree.fontsetId='11212';
theSitetree.graphicsetId='12030';
theSitetree.contentColor='354B86';
theSitetree.contentBGColor='94AAE1';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Angkor',
				paletteFamily: 	'879ED6',
				keyvisualId: 	'6884',
				keyvisualName: 	'kv_6884.jpg',
				fontsetId: 		'11212',
				graphicsetId: 	'12030',
				contentColor: 	'354B86',
				contentBGColor: '94AAE1',
				a_color: 		'94AAE1',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
var canonHostname = 'webomat';
var accountId     = 'Ahp010INECUM';
var companyName   = 'Ganzheitliche+Coachings+und+Seminare';
var htmlTitle	  = 'auraline+-+Ganzheitliche+Coachings+und+Seminare';
var metaKeywords  = 'Lust%2C+Leben%2C+Lieben%2C+Einzelcoaching%2C+Personal%2C+Pers%C3%B6nlichkeit%2C+Beruf%2C+Power%2C+Coaching%2C+Erlebnisworkshop%2C+Seminar%2C+Workshop%2C+Kartenlegung%2C+Kartenlegen%2C+Kartencoaching%2C+Tarotkarten%2C+Tarot%2C+Einzelberatung%2C+Beratung%2C+Spiritualit%C3%A4t%2C+Sexualit%C3%A4t%2C+Sex%2C+Sexual%2C+sexuell%2C+spirituell%2C+Lenormand%2C+Mystik%2C+NLP%2C+Positiv%2C+Factory%2C+sei%2C+s.e.i.%2C+G%C3%B6ttlichkeit%2C+Holistik%2C+Mobbing%2C+Burn+out%2C+Supervision';
var metaContents  = 'Ganzheitliche+Coachings+und+Seminare%2C+Coaching+f%C3%BCr+Privat+und+Beruf%2C+Coaching+mit+Karten%2C+Pers%C3%B6nlichkeitstraining%2C+Sexual-Coaching%2C+Sexualbewusstsein%2C+Lust-am-Lieben-Seminare';
					                                                                    
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 */					                                                            
