/* [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','1153',jdecode('Home+Page'),jdecode(''),'/1153.html','true',[],''],
	['PAGE','49513',jdecode('Latest+News%2C+FEBRUARY'),jdecode(''),'/49513.html','true',[],''],
	['PAGE','81525',jdecode('Courses%2FRetreats+in+2012'),jdecode(''),'/81525/index.html','true',[ 
		['PAGE','81809',jdecode('Reiki+Retreat'),jdecode(''),'/81525/81809.html','true',[],''],
		['PAGE','82009',jdecode('Reiki+Master+Training'),jdecode(''),'/81525/82009.html','true',[],''],
		['PAGE','81894',jdecode('Shinpiden+Course'),jdecode(''),'/81525/81894.html','true',[],''],
		['PAGE','82086',jdecode('Venue+-+Stanton+Guildhouse'),jdecode(''),'/81525/82086.html','true',[],'']
	],''],
	['PAGE','1495',jdecode('About+Penelope+Quest'),jdecode(''),'/1495.html','true',[],''],
	['PAGE','3795',jdecode('Books+by+Penelope+Quest'),jdecode(''),'/3795/index.html','true',[ 
		['PAGE','75334',jdecode('The+Reiki+Manual'),jdecode(''),'/3795/75334.html','true',[],''],
		['PAGE','31579',jdecode('Reiki+For+Life'),jdecode(''),'/3795/31579.html','true',[],''],
		['PAGE','64909',jdecode('Living+the+Reiki+Way'),jdecode(''),'/3795/64909.html','true',[],''],
		['PAGE','31552',jdecode('Self+Healing+With+Reiki'),jdecode(''),'/3795/31552.html','true',[],''],
		['PAGE','57609',jdecode('The+Basics+of+Reiki'),jdecode(''),'/3795/57609.html','true',[],''],
		['PAGE','31606',jdecode('An+Introduction+To+Reiki'),jdecode(''),'/3795/31606.html','true',[],'']
	],''],
	['PAGE','82809',jdecode('Newsletter+Autumn%2FWinter+2011'),jdecode(''),'/82809/index.html','true',[ 
		['PAGE','75990',jdecode('Newsletter%2C+Autumn%2FWinter+2010'),jdecode(''),'/82809/75990.html','true',[],''],
		['PAGE','73409',jdecode('Newsletter+Spring%2FSummer+2010'),jdecode(''),'/82809/73409.html','true',[],''],
		['PAGE','70609',jdecode('Newsletter+Autumn%2FWinter+2009'),jdecode(''),'/82809/70609.html','true',[],''],
		['PAGE','68457',jdecode('Newsletter+Spring+2009'),jdecode(''),'/82809/68457.html','true',[],''],
		['PAGE','67009',jdecode('Winter+2008%2F2009+Newsletter'),jdecode(''),'/82809/67009.html','true',[],''],
		['PAGE','64384',jdecode('Autumn+2008+Newsletter'),jdecode(''),'/82809/64384.html','true',[],''],
		['PAGE','63022',jdecode('Winter+2007%2F8+Newsletter'),jdecode(''),'/82809/63022.html','true',[],'']
	],''],
	['PAGE','1518',jdecode('About+Reiki+and+Healing'),jdecode(''),'/1518/index.html','true',[ 
		['PAGE','1895',jdecode('How+Do+You+Learn+Reiki%3F'),jdecode(''),'/1518/1895.html','true',[],''],
		['PAGE','43685',jdecode('What+Is+Healing%3F'),jdecode(''),'/1518/43685.html','true',[],''],
		['PAGE','44044',jdecode('3+Views+On+Health+%26+Healing'),jdecode(''),'/1518/44044.html','true',[],''],
		['PAGE','44293',jdecode('Body+Wisdom'),jdecode(''),'/1518/44293.html','true',[],''],
		['PAGE','43712',jdecode('What+Is+Energy%3F'),jdecode(''),'/1518/43712.html','true',[],''],
		['PAGE','43739',jdecode('The+Human+Energy+Field'),jdecode(''),'/1518/43739.html','true',[],'']
	],''],
	['PAGE','76609',jdecode('F.A.Q.s'),jdecode(''),'/76609/index.html','true',[ 
		['PAGE','76640',jdecode('Reiki+and+Relationships'),jdecode(''),'/76609/76640.html','true',[],''],
		['PAGE','77359',jdecode('Pregnancy+and+Childbirth'),jdecode(''),'/76609/77359.html','true',[],''],
		['PAGE','77909',jdecode('Reiki+and+Sensations%2FFeelings'),jdecode(''),'/76609/77909.html','true',[],''],
		['PAGE','77940',jdecode('Reiki+and+Expectations'),jdecode(''),'/76609/77940.html','true',[],'']
	],''],
	['PAGE','78316',jdecode('Other+Reiki+Masters'),jdecode(''),'/78316.html','true',[],''],
	['PAGE','78347',jdecode('Scotland'),jdecode(''),'/78347.html','true',[],''],
	['PAGE','78409',jdecode('Wales'),jdecode(''),'/78409.html','true',[],''],
	['PAGE','78378',jdecode('Northern+Ireland'),jdecode(''),'/78378.html','true',[],''],
	['PAGE','78913',jdecode('England'),jdecode(''),'/78913/index.html','true',[ 
		['PAGE','78759',jdecode('North+West'),jdecode(''),'/78913/78759.html','true',[],''],
		['PAGE','78471',jdecode('North+East'),jdecode(''),'/78913/78471.html','true',[],''],
		['PAGE','78502',jdecode('Midlands'),jdecode(''),'/78913/78502.html','true',[],''],
		['PAGE','78533',jdecode('Eastern+England'),jdecode(''),'/78913/78533.html','true',[],''],
		['PAGE','78564',jdecode('South+West+'),jdecode(''),'/78913/78564.html','true',[],''],
		['PAGE','78595',jdecode('South+East'),jdecode(''),'/78913/78595.html','true',[],''],
		['PAGE','78626',jdecode('London'),jdecode(''),'/78913/78626.html','true',[],'']
	],''],
	['PAGE','78657',jdecode('Other+Countries'),jdecode(''),'/78657.html','true',[],''],
	['PAGE','71626',jdecode('2011+Book+of+the+Month'),jdecode(''),'/71626/index.html','true',[ 
		['PAGE','71657',jdecode('Book+for+January'),jdecode(''),'/71626/71657.html','true',[],''],
		['PAGE','71956',jdecode('Book+for+February'),jdecode(''),'/71626/71956.html','true',[],''],
		['PAGE','72409',jdecode('Book+for+March'),jdecode(''),'/71626/72409.html','true',[],''],
		['PAGE','73952',jdecode('Book+for+April'),jdecode(''),'/71626/73952.html','true',[],''],
		['PAGE','73983',jdecode('Book+for+May'),jdecode(''),'/71626/73983.html','true',[],''],
		['PAGE','74014',jdecode('Book+for+June'),jdecode(''),'/71626/74014.html','true',[],''],
		['PAGE','75129',jdecode('Book+for+July'),jdecode(''),'/71626/75129.html','true',[],''],
		['PAGE','75160',jdecode('Book+for+August'),jdecode(''),'/71626/75160.html','true',[],''],
		['PAGE','75191',jdecode('Book+for+September'),jdecode(''),'/71626/75191.html','true',[],''],
		['PAGE','76241',jdecode('Book+for+October'),jdecode(''),'/71626/76241.html','true',[],''],
		['PAGE','76272',jdecode('Book+for+November'),jdecode(''),'/71626/76272.html','true',[],''],
		['PAGE','76303',jdecode('Book+for+December'),jdecode(''),'/71626/76303.html','true',[],'']
	],''],
	['PAGE','63727',jdecode('Previous+Recommendations'),jdecode(''),'/63727/index.html','true',[ 
		['PAGE','67199',jdecode('Book+for+January'),jdecode(''),'/63727/67199.html','true',[],''],
		['PAGE','67230',jdecode('Book+for++February'),jdecode(''),'/63727/67230.html','true',[],''],
		['PAGE','64216',jdecode('Book+for+March'),jdecode(''),'/63727/64216.html','true',[],''],
		['PAGE','64247',jdecode('Book+for+April+'),jdecode(''),'/63727/64247.html','true',[],''],
		['PAGE','64322',jdecode('Book+for+May'),jdecode(''),'/63727/64322.html','true',[],''],
		['PAGE','64353',jdecode('Book+for+June'),jdecode(''),'/63727/64353.html','true',[],''],
		['PAGE','64940',jdecode('Book+for+July'),jdecode(''),'/63727/64940.html','true',[],''],
		['PAGE','64971',jdecode('Book+for+August+'),jdecode(''),'/63727/64971.html','true',[],''],
		['PAGE','66009',jdecode('Book+for+September+'),jdecode(''),'/63727/66009.html','true',[],''],
		['PAGE','66040',jdecode('Book+for+October'),jdecode(''),'/63727/66040.html','true',[],''],
		['PAGE','66071',jdecode('Book+for+November+'),jdecode(''),'/63727/66071.html','true',[],''],
		['PAGE','66102',jdecode('Book+for+December+'),jdecode(''),'/63727/66102.html','true',[],'']
	],''],
	['PAGE','41397',jdecode('Articles+by+Penelope+Quest'),jdecode(''),'/41397/index.html','true',[ 
		['PAGE','48052',jdecode('Self-Healing'),jdecode(''),'/41397/48052.html','true',[],''],
		['PAGE','52842',jdecode('Articles+in+%22Reiki+News%22'),jdecode(''),'/41397/52842.html','true',[],''],
		['PAGE','53809',jdecode('Reiki+With+Animals'),jdecode(''),'/41397/53809.html','true',[],''],
		['PAGE','53909',jdecode('Energetic+Cleansing+And+Protection'),jdecode(''),'/41397/53909.html','true',[],''],
		['PAGE','74918',jdecode('Dowsing+for+Energies'),jdecode(''),'/41397/74918.html','true',[],'']
	],'']];
var siteelementCount=80;
theSitetree.topTemplateName='Business';
					                                                                    
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 */					                                                            

