/* [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','4617',jdecode('Home'),jdecode(''),'/4617.html','true',[],''],
	['PAGE','4701',jdecode('Einzelberatung'),jdecode(''),'/4701/index.html','true',[ 
		['PAGE','23801',jdecode('Laufbahnberatung'),jdecode(''),'/4701/23801.html','true',[],''],
		['PAGE','23822',jdecode('Assessment-Training'),jdecode(''),'/4701/23822.html','true',[],''],
		['PAGE','23843',jdecode('F%C3%BChrungscoaching'),jdecode(''),'/4701/23843.html','true',[],'']
	],''],
	['PAGE','9953',jdecode('Teams+%2F+Gruppen'),jdecode(''),'/9953.html','true',[],''],
	['PAGE','4755',jdecode('Organisationsberatung'),jdecode(''),'/4755.html','true',[],''],
	['PAGE','4782',jdecode('Portrait'),jdecode(''),'/4782.html','true',[],''],
	['PAGE','6601',jdecode('Kontakt'),jdecode(''),'/6601.html','true',[],''],
	['PAGE','19901',jdecode('Praxisadresse'),jdecode(''),'/19901.html','true',[],''],
	['PAGE','4890',jdecode('Links'),jdecode(''),'/4890.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Meeting';
theSitetree.paletteFamily='BDBDBD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10347';
theSitetree.graphicsetId='10462';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='F9F9F9';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Meeting',
				paletteFamily: 	'BDBDBD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10347',
				graphicsetId: 	'10462',
				contentColor: 	'666666',
				contentBGColor: 'F9F9F9',
				a_color: 		'F9F9F9',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'10'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4617',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXL1N';
var companyName   = 'Beratung.Training.Entwicklung.';
var htmlTitle	  = 'Beratung+f%C3%BCr+Einzelpersonen%2C+Teams+und+Organisationen.';
var metaKeywords  = 'Laufbahnberatung%3B+Teamentwicklung%3B+Organisationsentwicklung%3B+Organisationsberatung%3B+Konfliktl%C3%B6sung%3B+Kooperation%3B+Training%3B+F%C3%BChrungscoaching%3B+Moderation%3B+F%C3%BChrungstraining%3B+Bewerber-Training%3B+IAP%3B+SIB%3B+SBAP%3B+SGFB%3B+HAP%3B+Daniel+Kistler%3B+Angelika+Ramer%3B';
var metaContents  = 'Laufbahnberatung.+Assessment-Training.+F%C3%BChrungscoaching.+Team-+und+Organisationsentwicklung.';
					                                                                    
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 */					                                                            

