/* [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','52',jdecode('HOME'),jdecode(''),'/52/index.html','true',[ 
		['PAGE','2376',jdecode('Home+%28follow+up+page%29'),jdecode(''),'/52/2376.html','false',[],'']
	],''],
	['PAGE','73',jdecode('ABOUT+US'),jdecode(''),'/73/index.html','true',[ 
		['PAGE','3194',jdecode('Do+You+Need+A+Coach%3F'),jdecode(''),'/73/3194.html','true',[],''],
		['PAGE','82',jdecode('Reasons+to+Hire+a+Coach'),jdecode(''),'/73/82.html','true',[],'']
	],''],
	['PAGE','118',jdecode('SERViCES'),jdecode(''),'/118/index.html','true',[ 
		['PAGE','2731',jdecode('What+Is+Coaching%3F'),jdecode(''),'/118/2731.html','true',[],''],
		['PAGE','2740',jdecode('Coaching+vs.+Therapy'),jdecode(''),'/118/2740.html','true',[],''],
		['PAGE','3493',jdecode('Associate+Partners'),jdecode(''),'/118/3493.html','true',[],'']
	],''],
	['PAGE','3502',jdecode('OPPORTUNiTiES'),jdecode(''),'/3502.html','true',[],''],
	['PAGE','100',jdecode('ASSESSMENTS'),jdecode(''),'/100.html','true',[],''],
	['PAGE','2502',jdecode('CLiENTS+SAY'),jdecode(''),'/2502/index.html','true',[ 
		['PAGE','2511',jdecode('Media+on+Coaching'),jdecode(''),'/2502/2511.html','true',[],'']
	],''],
	['PAGE','2520',jdecode('ARTiCLES'),jdecode(''),'/2520.html','true',[],''],
	['PAGE','136',jdecode('LAW+OF+ATTRACTiON'),jdecode(''),'/136/index.html','true',[ 
		['PAGE','154',jdecode('Your+Perfect+Life'),jdecode(''),'/136/154.html','true',[],''],
		['PAGE','145',jdecode('Attraction+Marketing'),jdecode(''),'/136/145.html','true',[],''],
		['PAGE','163',jdecode('Perfect+Life-Partner'),jdecode(''),'/136/163.html','true',[],'']
	],''],
	['PAGE','3137',jdecode('AFFiRMATiONs'),jdecode(''),'/3137.html','true',[],''],
	['PAGE','91',jdecode('BLOG'),jdecode(''),'/91.html','true',[],''],
	['PAGE','3074',jdecode('LiNKS'),jdecode(''),'/3074.html','true',[],''],
	['PAGE','3426',jdecode('NEWS+YOU+CAN+USE'),jdecode(''),'/3426/index.html','true',[ 
		['PAGE','3486',jdecode('News+You+Can+Use+%28follow+up+page%29'),jdecode(''),'/3426/3486.html','false',[],'']
	],''],
	['PAGE','3955',jdecode('GUESTBOOK'),jdecode(''),'/3955/index.html','true',[ 
		['PAGE','3954',jdecode('Read+Guestbook'),jdecode(''),'/3955/3954.html','true',[],'']
	],''],
	['PAGE','109',jdecode('BOOKS+-+DVD%26%23x27%3Bs+-+GOODiES'),jdecode(''),'/109/index.html','true',[ 
		['PAGE','3397',jdecode('STORE+%28follow+up+page%29'),jdecode(''),'/109/3397.html','false',[],'']
	],''],
	['PAGE','172',jdecode('CONTACT'),jdecode(''),'/172/index.html','true',[ 
		['PAGE','3924',jdecode('Contact+%28follow+up+page%29'),jdecode(''),'/172/3924.html','false',[],'']
	],'']];
var siteelementCount=29;
theSitetree.topTemplateName='Padma';
theSitetree.paletteFamily='999999';
theSitetree.keyvisualId='1059';
theSitetree.keyvisualName='sektflasche.jpg';
theSitetree.fontsetId='178';
theSitetree.graphicsetId='212';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='666666';
var theTemplate={
				name: 			'Padma'
,				paletteFamily: 	'999999'
,				keyvisualId: 	'1059'
,				keyvisualName: 	'sektflasche.jpg'
,				fontsetId: 		'178'
,				graphicsetId: 	'212'
,				contentColor: 	'FFFFFF'
,				contentBGColor: '666666'
,				a_color: 		'999999'
,				b_color: 		'000000'
,				c_color: 		'000000'
,				d_color: 		'FFFFFF'
,				e_color: 		'FFFFFF'
,				f_color: 		'FFFFFF'
 			  };					                                                                    
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 */					                                                            
