/* [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','4598',jdecode('Home'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','137769',jdecode('Events'),jdecode(''),'/137769.html','true',[],''],
	['PAGE','71807',jdecode('What%26%23x27%3Bs+New%3F'),jdecode(''),'/71807.html','true',[],''],
	['PAGE','5003',jdecode('Meet+the+Author'),jdecode(''),'/5003.html','true',[],''],
	['PAGE','108234',jdecode('Read+an+Excerpt'),jdecode(''),'/108234/index.html','true',[ 
		['PAGE','16205',jdecode('The+Traveler'),jdecode(''),'/108234/16205.html','true',[],''],
		['PAGE','108261',jdecode('The+High+Priestess'),jdecode(''),'/108234/108261.html','true',[],'']
	],''],
	['PAGE','138876',jdecode('Buy+the+Book'),jdecode(''),'/138876.html','true',[],''],
	['PAGE','103275',jdecode('The+Traveler+Series'),jdecode(''),'/103275/index.html','true',[ 
		['PAGE','102835',jdecode('Endorsements'),jdecode(''),'/103275/102835.html','true',[],''],
		['PAGE','106435',jdecode('Overview'),jdecode(''),'/103275/106435.html','true',[],''],
		['PAGE','92316',jdecode('Structure'),jdecode(''),'/103275/92316.html','true',[],''],
		['PAGE','102889',jdecode('Genesis'),jdecode(''),'/103275/102889.html','true',[],''],
		['PAGE','102916',jdecode('Intentions'),jdecode(''),'/103275/102916.html','true',[],''],
		['PAGE','102943',jdecode('The+Swordmaster'),jdecode(''),'/103275/102943.html','true',[],'']
	],''],
	['PAGE','18532',jdecode('Discover+Piral'),jdecode(''),'/18532.html','true',[],''],
	['PAGE','44207',jdecode('Inhabitants+of+Piral'),jdecode(''),'/44207/index.html','true',[ 
		['PAGE','44234',jdecode('The+Selani'),jdecode(''),'/44207/44234.html','true',[],''],
		['PAGE','44261',jdecode('The+Elinar'),jdecode(''),'/44207/44261.html','true',[],''],
		['PAGE','44288',jdecode('The+Demantar'),jdecode(''),'/44207/44288.html','true',[],''],
		['PAGE','44315',jdecode('The+Tinavar'),jdecode(''),'/44207/44315.html','true',[],''],
		['PAGE','44342',jdecode('The+Ventaren'),jdecode(''),'/44207/44342.html','true',[],'']
	],''],
	['PAGE','79607',jdecode('Excerpts+on+History'),jdecode(''),'/79607/index.html','true',[ 
		['PAGE','80207',jdecode('Paradise'),jdecode(''),'/79607/80207.html','true',[],''],
		['PAGE','80234',jdecode('The+Cataclysm'),jdecode(''),'/79607/80234.html','true',[],''],
		['PAGE','80261',jdecode('The+Millennial+Peace'),jdecode(''),'/79607/80261.html','true',[],''],
		['PAGE','80288',jdecode('The+Swordmasters'),jdecode(''),'/79607/80288.html','true',[],''],
		['PAGE','80315',jdecode('The+Technocrats'),jdecode(''),'/79607/80315.html','true',[],''],
		['PAGE','80342',jdecode('Federalism'),jdecode(''),'/79607/80342.html','true',[],''],
		['PAGE','80369',jdecode('Pluralism'),jdecode(''),'/79607/80369.html','true',[],''],
		['PAGE','80396',jdecode('The+Galactic+Diaspora'),jdecode(''),'/79607/80396.html','true',[],''],
		['PAGE','80423',jdecode('Solitary+Worlds'),jdecode(''),'/79607/80423.html','true',[],''],
		['PAGE','80450',jdecode('Alliance+of+Chyoradan'),jdecode(''),'/79607/80450.html','true',[],''],
		['PAGE','80477',jdecode('The+Colonial+Lords'),jdecode(''),'/79607/80477.html','true',[],''],
		['PAGE','80504',jdecode('Enlightenment'),jdecode(''),'/79607/80504.html','true',[],''],
		['PAGE','80531',jdecode('Modernism'),jdecode(''),'/79607/80531.html','true',[],'']
	],''],
	['PAGE','43407',jdecode('The+Selanian+Culture'),jdecode(''),'/43407/index.html','true',[ 
		['PAGE','28707',jdecode('The+Selanian+Order'),jdecode(''),'/43407/28707.html','true',[],''],
		['PAGE','43707',jdecode('The+Selanian+Brooch'),jdecode(''),'/43407/43707.html','true',[],''],
		['PAGE','108288',jdecode('Sensation+%26+Induction'),jdecode(''),'/43407/108288.html','true',[],''],
		['PAGE','43434',jdecode('The+Three+Races'),jdecode(''),'/43407/43434.html','true',[],''],
		['PAGE','43461',jdecode('The+Great+Houses'),jdecode(''),'/43407/43461.html','true',[],''],
		['PAGE','85507',jdecode('The+Selanian+Calendar'),jdecode(''),'/43407/85507.html','true',[],''],
		['PAGE','85534',jdecode('Units+of+Measure'),jdecode(''),'/43407/85534.html','true',[],''],
		['PAGE','85561',jdecode('Selanian+Currency'),jdecode(''),'/43407/85561.html','true',[],'']
	],''],
	['PAGE','56107',jdecode('The+Selanian+Language'),jdecode(''),'/56107/index.html','true',[ 
		['PAGE','79634',jdecode('Pronunciation'),jdecode(''),'/56107/79634.html','true',[],''],
		['PAGE','79661',jdecode('Numbers'),jdecode(''),'/56107/79661.html','true',[],''],
		['PAGE','79688',jdecode('Cardinality'),jdecode(''),'/56107/79688.html','true',[],''],
		['PAGE','79715',jdecode('Gender+and+Articles'),jdecode(''),'/56107/79715.html','true',[],''],
		['PAGE','79742',jdecode('Pronouns'),jdecode(''),'/56107/79742.html','true',[],''],
		['PAGE','79769',jdecode('Verbs'),jdecode(''),'/56107/79769.html','true',[],'']
	],''],
	['PAGE','45407',jdecode('The+Selanian+Inaren'),jdecode(''),'/45407/index.html','true',[ 
		['PAGE','18505',jdecode('Alphabetic+Characters'),jdecode(''),'/45407/18505.html','true',[],''],
		['PAGE','45434',jdecode('Auxiliary+Characters'),jdecode(''),'/45407/45434.html','true',[],''],
		['PAGE','56134',jdecode('Inaren+Fonts'),jdecode(''),'/45407/56134.html','true',[],''],
		['PAGE','45461',jdecode('Examples'),jdecode(''),'/45407/45461.html','true',[],'']
	],''],
	['PAGE','103741',jdecode('Symbolism'),jdecode(''),'/103741/index.html','true',[ 
		['PAGE','98507',jdecode('The+Rose'),jdecode(''),'/103741/98507.html','true',[],''],
		['PAGE','103768',jdecode('The+Sword+of+Selanae'),jdecode(''),'/103741/103768.html','true',[],'']
	],''],
	['PAGE','46907',jdecode('Artwork'),jdecode(''),'/46907/index.html','true',[ 
		['PAGE','28734',jdecode('The+Artifact'),jdecode(''),'/46907/28734.html','true',[],''],
		['PAGE','46934',jdecode('Gillian+White'),jdecode(''),'/46907/46934.html','true',[],'']
	],''],
	['PAGE','47319',jdecode('Links'),jdecode(''),'/47319.html','true',[],''],
	['PAGE','116961',jdecode('WebRings'),jdecode(''),'/116961.html','true',[],''],
	['PAGE','5111',jdecode('Contact+Us'),jdecode(''),'/5111.html','true',[],''],
	['PAGE','88106',jdecode('Guestbook'),jdecode(''),'/88106/index.html','true',[ 
		['PAGE','88107',jdecode('Entries'),jdecode(''),'/88106/88107.html','true',[],'']
	],'']];
var siteelementCount=68;
theSitetree.topTemplateName='Movement';
					                                                                    
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 */					                                                            
