/* [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','4554',jdecode('Home'),jdecode(''),'/4554.html','true',[],''],
	['PAGE','4773',jdecode('About+us'),jdecode(''),'/4773/index.html','true',[ 
		['PAGE','25367',jdecode('How+to+Join'),jdecode(''),'/4773/25367/index.html','true',[ 
			['PAGE','25473',jdecode('How+to+Join+%28follow+up+page%29'),jdecode(''),'/4773/25367/25473.html','false',[],'']
		],''],
		['PAGE','14501',jdecode('The+Committee'),jdecode(''),'/4773/14501.html','true',[],''],
		['PAGE','4800',jdecode('How+to+find+us'),jdecode(''),'/4773/4800.html','true',[],''],
		['PAGE','30001',jdecode('Chairman%26%23x27%3Bs+Cup'),jdecode(''),'/4773/30001.html','true',[],''],
		['PAGE','11699',jdecode('Join+Us+%28follow+up+page%29'),jdecode(''),'/4773/11699.html','false',[],''],
		['PAGE','89315',jdecode('Ken+Howard+Cup'),jdecode(''),'/4773/89315.html','true',[],''],
		['PAGE','34033',jdecode('CAST+Oscars+2001'),jdecode(''),'/4773/34033.html','true',[],''],
		['PAGE','66195',jdecode('CAST+Oscars+2005'),jdecode(''),'/4773/66195.html','true',[],'']
	],''],
	['PAGE','102723',jdecode('Boogie+Nights'),jdecode(''),'/102723/index.html','true',[ 
		['PAGE','105324',jdecode('Backing+Tracks'),jdecode(''),'/102723/105324.html','true',[],'']
	],''],
	['PAGE','7560',jdecode('Box+Office'),jdecode(''),'/7560/index.html','true',[ 
		['PAGE','104793',jdecode('Box+Office+%28follow+up+page%29'),jdecode(''),'/7560/104793.html','false',[],''],
		['PAGE','8016',jdecode('Box+Office+%28follow+up+page%29'),jdecode(''),'/7560/8016.html','false',[],'']
	],''],
	['PAGE','13640',jdecode('Future+Productions'),jdecode(''),'/13640/index.html','true',[ 
		['PAGE','102754',jdecode('Robin+Hood+%26+Babes+in+Wood'),jdecode(''),'/13640/102754.html','true',[],'']
	],''],
	['PAGE','67058',jdecode('Diary+Dates'),jdecode(''),'/67058.html','true',[],''],
	['PAGE','4719',jdecode('Social+Events'),jdecode(''),'/4719/index.html','true',[ 
		['PAGE','37133',jdecode('15th+Year+Gala+Dinner'),jdecode(''),'/4719/37133.html','true',[],''],
		['PAGE','19915',jdecode('Live+Music+Night'),jdecode(''),'/4719/19915.html','true',[],''],
		['PAGE','7452',jdecode('Quiz+Night'),jdecode(''),'/4719/7452.html','true',[],''],
		['PAGE','7533',jdecode('%28Back+to%29+Skool+Disco'),jdecode(''),'/4719/7533.html','true',[],''],
		['PAGE','17102',jdecode('CAST+Weddings'),jdecode(''),'/4719/17102.html','true',[],'']
	],''],
	['PAGE','84217',jdecode('News%21'),jdecode(''),'/84217.html','true',[],''],
	['PAGE','4746',jdecode('Past+Productions'),jdecode(''),'/4746/index.html','true',[ 
		['PAGE','102692',jdecode('No+Sex+Please+We%26%23x27%3Bre+British'),jdecode(''),'/4746/102692.html','true',[],''],
		['PAGE','97314',jdecode('Christmas+Carol'),jdecode(''),'/4746/97314.html','true',[],''],
		['PAGE','97283',jdecode('Eurovisual+Song+Contest'),jdecode(''),'/4746/97283.html','true',[],''],
		['PAGE','97252',jdecode('Pride+%26+Prejudice'),jdecode(''),'/4746/97252.html','true',[],''],
		['PAGE','89179',jdecode('Cinderella'),jdecode(''),'/4746/89179.html','true',[],''],
		['PAGE','89148',jdecode('Back+to+the+80%26%23x27%3Bs'),jdecode(''),'/4746/89148.html','true',[],''],
		['PAGE','89117',jdecode('Tale+of+Two+Cities'),jdecode(''),'/4746/89117.html','true',[],''],
		['PAGE','71235',jdecode('Sleeping+Beauty'),jdecode(''),'/4746/71235.html','true',[],''],
		['PAGE','71204',jdecode('Witches+%26+Demons'),jdecode(''),'/4746/71204.html','true',[],''],
		['PAGE','71173',jdecode('Mort'),jdecode(''),'/4746/71173.html','true',[],''],
		['PAGE','64326',jdecode('Dick+Whittington'),jdecode(''),'/4746/64326.html','true',[],''],
		['PAGE','64295',jdecode('Forum'),jdecode(''),'/4746/64295.html','true',[],''],
		['PAGE','64264',jdecode('Stranded'),jdecode(''),'/4746/64264.html','true',[],''],
		['PAGE','64233',jdecode('%26%23x27%3BSongbook%26%23x27%3B+Charity+Gala'),jdecode(''),'/4746/64233.html','true',[],''],
		['PAGE','45633',jdecode('Treasure+Island'),jdecode(''),'/4746/45633.html','true',[],''],
		['PAGE','71833',jdecode('TI+Portsmouth+Trip'),jdecode(''),'/4746/71833.html','true',[],''],
		['PAGE','41533',jdecode('Moby+Dick+the+Musical'),jdecode(''),'/4746/41533.html','true',[],''],
		['PAGE','44333',jdecode('Moby+Dick+Dress+Rehearsal'),jdecode(''),'/4746/44333.html','true',[],''],
		['PAGE','42433',jdecode('Moby+Dick+School+Trip'),jdecode(''),'/4746/42433.html','true',[],''],
		['PAGE','40637',jdecode('Outside+Edge'),jdecode(''),'/4746/40637.html','true',[],''],
		['PAGE','30701',jdecode('Snow+White'),jdecode(''),'/4746/30701.html','true',[],''],
		['PAGE','23601',jdecode('Company'),jdecode(''),'/4746/23601.html','true',[],''],
		['PAGE','20801',jdecode('Stags+and+Hens'),jdecode(''),'/4746/20801.html','true',[],''],
		['PAGE','13613',jdecode('Jack+and+the+Beanstalk'),jdecode(''),'/4746/13613.html','true',[],''],
		['PAGE','4638',jdecode('Honk%21+'),jdecode(''),'/4746/4638.html','true',[],''],
		['PAGE','4611',jdecode('Dangerous+Liaisons'),jdecode(''),'/4746/4611.html','true',[],''],
		['PAGE','7182',jdecode('Aladdin'),jdecode(''),'/4746/7182.html','true',[],''],
		['PAGE','7209',jdecode('Nightlife+%26+Limelight'),jdecode(''),'/4746/7209.html','true',[],''],
		['PAGE','7236',jdecode('Puss+in+Boots'),jdecode(''),'/4746/7236.html','true',[],''],
		['PAGE','7263',jdecode('Sweet+Charity'),jdecode(''),'/4746/7263.html','true',[],''],
		['PAGE','7290',jdecode('Boeing+Boeing'),jdecode(''),'/4746/7290.html','true',[],''],
		['PAGE','7317',jdecode('Cinderella'),jdecode(''),'/4746/7317.html','true',[],''],
		['PAGE','7344',jdecode('Class+Act+2000'),jdecode(''),'/4746/7344.html','true',[],''],
		['PAGE','7371',jdecode('Godspell'),jdecode(''),'/4746/7371.html','true',[],''],
		['PAGE','26828',jdecode('Calamity+Jane'),jdecode(''),'/4746/26828.html','true',[],''],
		['PAGE','36574',jdecode('Wyrd+Sisters'),jdecode(''),'/4746/36574.html','true',[],''],
		['PAGE','36543',jdecode('Melodies'),jdecode(''),'/4746/36543.html','true',[],''],
		['PAGE','26801',jdecode('Rock+Nativity'),jdecode(''),'/4746/26801.html','true',[],''],
		['PAGE','36481',jdecode('Slice+of+Saturday+Night'),jdecode(''),'/4746/36481.html','true',[],''],
		['PAGE','36450',jdecode('My+Fair+Lady'),jdecode(''),'/4746/36450.html','true',[],''],
		['PAGE','36419',jdecode('Bouncers+%26+Shakers'),jdecode(''),'/4746/36419.html','true',[],''],
		['PAGE','36388',jdecode('Reflections'),jdecode(''),'/4746/36388.html','true',[],''],
		['PAGE','36357',jdecode('Murder+on+the+Colnbrook+Express'),jdecode(''),'/4746/36357.html','true',[],''],
		['PAGE','36326',jdecode('South+Pacific'),jdecode(''),'/4746/36326.html','true',[],''],
		['PAGE','36295',jdecode('A+Class+Act'),jdecode(''),'/4746/36295.html','true',[],''],
		['PAGE','36264',jdecode('The+Bandwagon'),jdecode(''),'/4746/36264.html','true',[],''],
		['PAGE','34964',jdecode('Dazzle'),jdecode(''),'/4746/34964.html','true',[],''],
		['PAGE','36233',jdecode('CAST+in+Gold'),jdecode(''),'/4746/36233.html','true',[],''],
		['PAGE','34933',jdecode('A+Spanish+Imposition'),jdecode(''),'/4746/34933.html','true',[],''],
		['PAGE','34833',jdecode('Grease'),jdecode(''),'/4746/34833.html','true',[],''],
		['PAGE','34733',jdecode('Yet+Another+French+Connection'),jdecode(''),'/4746/34733.html','true',[],'']
	],''],
	['PAGE','35033',jdecode('CAST+Aways'),jdecode(''),'/35033/index.html','true',[ 
		['PAGE','35833',jdecode('Murder+at+the+Panto+'),jdecode(''),'/35033/35833.html','true',[],''],
		['PAGE','35764',jdecode('Mike+Long+Memorial'),jdecode(''),'/35033/35764.html','true',[],''],
		['PAGE','35733',jdecode('Bricks+and+Barges'),jdecode(''),'/35033/35733.html','true',[],''],
		['PAGE','35626',jdecode('Cancer+Research+Gala'),jdecode(''),'/35033/35626.html','true',[],''],
		['PAGE','35595',jdecode('Reflections+at+the+MGM'),jdecode(''),'/35033/35595.html','true',[],''],
		['PAGE','35564',jdecode('Festival+of+Unity'),jdecode(''),'/35033/35564.html','true',[],''],
		['PAGE','35533',jdecode('Class+Act+at+the+MGM'),jdecode(''),'/35033/35533.html','true',[],'']
	],''],
	['PAGE','16701',jdecode('CAST+Academy'),jdecode(''),'/16701/index.html','true',[ 
		['PAGE','84579',jdecode('Academy+Productions'),jdecode(''),'/16701/84579.html','true',[],'']
	],''],
	['PAGE','38133',jdecode('Sponsorship+%26+Charities'),jdecode(''),'/38133/index.html','true',[ 
		['PAGE','102794',jdecode('2009%2F2010'),jdecode(''),'/38133/102794.html','true',[],''],
		['PAGE','99292',jdecode('2008%2F2009'),jdecode(''),'/38133/99292.html','true',[],''],
		['PAGE','91817',jdecode('2007%2F2008'),jdecode(''),'/38133/91817.html','true',[],''],
		['PAGE','73617',jdecode('2006%2F2007'),jdecode(''),'/38133/73617.html','true',[],''],
		['PAGE','69717',jdecode('2005%2F2006'),jdecode(''),'/38133/69717.html','true',[],''],
		['PAGE','38226',jdecode('2004%2F2005'),jdecode(''),'/38133/38226.html','true',[],''],
		['PAGE','38195',jdecode('2003%2F2004'),jdecode(''),'/38133/38195.html','true',[],''],
		['PAGE','38164',jdecode('2002%2F2003'),jdecode(''),'/38133/38164.html','true',[],'']
	],''],
	['PAGE','39433',jdecode('Hiring+from+CAST'),jdecode(''),'/39433/index.html','true',[ 
		['PAGE','69948',jdecode('Costume+Hire'),jdecode(''),'/39433/69948.html','true',[],''],
		['PAGE','69979',jdecode('Props+Hire'),jdecode(''),'/39433/69979.html','true',[],''],
		['PAGE','46465',jdecode('Sound%2C+Light%2C+SFX+Hire'),jdecode(''),'/39433/46465.html','true',[],'']
	],''],
	['PAGE','5369',jdecode('Guestbook'),jdecode(''),'/5369/index.html','true',[ 
		['PAGE','5368',jdecode('Sign+Guestbook'),jdecode(''),'/5369/5368.html','true',[],'']
	],''],
	['PAGE','4854',jdecode('Members'),jdecode(''),'/4854/index.html','true',[ 
		['PAGE','37933',jdecode('Member+Contacts'),jdecode(''),'/4854/37933.html','true',[],''],
		['PAGE','68717',jdecode('Chat+Room'),jdecode(''),'/4854/68717.html','true',[],'']
	],''],
	['PAGE','64033',jdecode('Members+Compositions'),jdecode(''),'/64033/index.html','true',[ 
		['PAGE','64064',jdecode('Twas+the+Night+of+Panto'),jdecode(''),'/64033/64064.html','true',[],''],
		['PAGE','64095',jdecode('This+Place'),jdecode(''),'/64033/64095.html','true',[],''],
		['PAGE','67536',jdecode('The+%26%23x27%3BVeteran+Luvvie%26%23x27%3B'),jdecode(''),'/64033/67536.html','true',[],''],
		['PAGE','67195',jdecode('The+Auditions'),jdecode(''),'/64033/67195.html','true',[],''],
		['PAGE','67226',jdecode('The+Director'),jdecode(''),'/64033/67226.html','true',[],''],
		['PAGE','67257',jdecode('The+Stage+Manager'),jdecode(''),'/64033/67257.html','true',[],''],
		['PAGE','67288',jdecode('The+Costume+Mistress'),jdecode(''),'/64033/67288.html','true',[],''],
		['PAGE','67319',jdecode('The+Musical+Director'),jdecode(''),'/64033/67319.html','true',[],''],
		['PAGE','67350',jdecode('The+Chorus'),jdecode(''),'/64033/67350.html','true',[],''],
		['PAGE','67381',jdecode('The+Scenic+Artist'),jdecode(''),'/64033/67381.html','true',[],''],
		['PAGE','67412',jdecode('Light+%26+Sound'),jdecode(''),'/64033/67412.html','true',[],''],
		['PAGE','67443',jdecode('Box+Office'),jdecode(''),'/64033/67443.html','true',[],''],
		['PAGE','67474',jdecode('The+Rehearsal+Assistant'),jdecode(''),'/64033/67474.html','true',[],''],
		['PAGE','67505',jdecode('The+Stage+Crew'),jdecode(''),'/64033/67505.html','true',[],'']
	],''],
	['PAGE','4827',jdecode('Links'),jdecode(''),'/4827.html','true',[],''],
	['PAGE','82904',jdecode('CAST+Classifieds'),jdecode(''),'/82904/index.html','true',[ 
		['PAGE','87650',jdecode('CAST+Merchandise'),jdecode(''),'/82904/87650.html','true',[],''],
		['PAGE','87681',jdecode('Buy.at%2Fcast'),jdecode(''),'/82904/87681.html','true',[],'']
	],''],
	['PAGE','97917',jdecode('Committee+Area'),jdecode(''),'/97917/index.html','true',[ 
		['PAGE','98017',jdecode('Minutes'),jdecode(''),'/97917/98017.html','true',[],'']
	],'']];
var siteelementCount=127;
theSitetree.topTemplateName='Easy';
					                                                                    
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 */					                                                            
