/* [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','4595',jdecode('Home'),jdecode(''),'/4595.html','true',[],''],
	['PAGE','10790',jdecode('Weddings'),jdecode(''),'/10790/index.html','true',[ 
		['PAGE','10817',jdecode('Special+Occasions'),jdecode(''),'/10790/10817.html','true',[],'']
	],''],
	['PAGE','114701',jdecode('BIG+RON+-+New+Beetle+Limo'),jdecode(''),'/114701.html','true',[],''],
	['PAGE','10844',jdecode('MARK+1+%26+II++-+The+Classic+Beetle+Limos+'),jdecode(''),'/10844.html','true',[],''],
	['PAGE','181082',jdecode('MILO+-+1963+Beetle+Limousine+2+seater+'),jdecode(''),'/181082.html','true',[],''],
	['PAGE','159480',jdecode('Karmann+Cabriolet+Beetles+explained'),jdecode(''),'/159480.html','true',[],''],
	['PAGE','56853',jdecode('LOLA+%26+WILMA++Karmann+Cabriolets+'),jdecode(''),'/56853.html','true',[],''],
	['PAGE','12830',jdecode('DEMIS+-+Karmann+Cabriolet+Beetle'),jdecode(''),'/12830.html','true',[],''],
	['PAGE','93201',jdecode('JIMMY+%26+HEIDI+-+Cabriolet+Beetles+'),jdecode(''),'/93201.html','true',[],''],
	['PAGE','91801',jdecode('HERBIE+-+The+love+Bug'),jdecode(''),'/91801.html','true',[],''],
	['PAGE','96201',jdecode('PEPI+-+Saloon+Beetle+1965+'),jdecode(''),'/96201.html','true',[],''],
	['PAGE','144986',jdecode('CASPER+-+21+Window+Samba+Bus'),jdecode(''),'/144986.html','true',[],''],
	['PAGE','56822',jdecode('OTIS+-+VW+Bay+Camper+'),jdecode(''),'/56822.html','true',[],''],
	['PAGE','63801',jdecode('New+Beetle+Cabriolets'),jdecode(''),'/63801.html','true',[],''],
	['PAGE','111201',jdecode('VW%26%23x27%3Bs+in+other+areas'),jdecode(''),'/111201.html','true',[],''],
	['PAGE','51803',jdecode('Jewellery'),jdecode(''),'/51803.html','true',[],''],
	['PAGE','161281',jdecode('VW+Towels+-+GIFTS'),jdecode(''),'/161281.html','true',[],''],
	['PAGE','44230',jdecode('Recent+Show+photos'),jdecode(''),'/44230.html','true',[],''],
	['PAGE','101401',jdecode('Charity+-+Days+out'),jdecode(''),'/101401.html','true',[],''],
	['PAGE','10871',jdecode('MEDIA'),jdecode(''),'/10871/index.html','true',[ 
		['PAGE','109001',jdecode('Our+Lets+Talk+Business+interview'),jdecode(''),'/10871/109001.html','true',[],'']
	],''],
	['PAGE','20203',jdecode('Some+unusual+Vee+Dubs'),jdecode(''),'/20203/index.html','true',[ 
		['PAGE','21703',jdecode('More+unusual+Vee+Dubs'),jdecode(''),'/20203/21703.html','true',[],'']
	],''],
	['PAGE','22502',jdecode('Guestbook'),jdecode(''),'/22502.html','true',[],''],
	['PAGE','22503',jdecode('Read+Guestbook'),jdecode(''),'/22503.html','true',[],''],
	['PAGE','59302',jdecode('Hall+of+fame+-+Recent+photos'),jdecode(''),'/59302/index.html','true',[ 
		['PAGE','119350',jdecode('Hall+of+fame+continued'),jdecode(''),'/59302/119350.html','true',[],'']
	],''],
	['PAGE','121301',jdecode('New+Hall+of+Fame'),jdecode(''),'/121301.html','true',[],''],
	['PAGE','133702',jdecode('FAQ%26%23x27%3Bs+Questions+%26+Answers'),jdecode(''),'/133702.html','true',[],''],
	['PAGE','117701',jdecode('Testimonials'),jdecode(''),'/117701.html','true',[],''],
	['PAGE','126150',jdecode('Our+Team'),jdecode(''),'/126150.html','true',[],''],
	['PAGE','124666',jdecode('Show+us+your+cakes%21'),jdecode(''),'/124666.html','true',[],''],
	['PAGE','66701',jdecode('Other+related+businesses+-++%26+LINKS'),jdecode(''),'/66701.html','true',[],''],
	['PAGE','143379',jdecode('VW+FUNERALS'),jdecode(''),'/143379.html','true',[],''],
	['PAGE','143079',jdecode('IMPORTANT+NOTICES'),jdecode(''),'/143079.html','true',[],''],
	['PAGE','10898',jdecode('Terms+and+Conditions'),jdecode(''),'/10898.html','true',[],''],
	['PAGE','22203',jdecode('2010+Tariff+guide'),jdecode(''),'/22203/index.html','true',[ 
		['PAGE','10925',jdecode('Payment+Terms'),jdecode(''),'/22203/10925.html','true',[],'']
	],''],
	['PAGE','182533',jdecode('Late+availability+and+offers+page'),jdecode(''),'/182533.html','true',[],''],
	['PAGE','145546',jdecode('Areas+we+cover'),jdecode(''),'/145546.html','true',[],''],
	['PAGE','169833',jdecode('Enquiries'),jdecode(''),'/169833.html','true',[],''],
	['PAGE','162979',jdecode('Wedding+car+hire-+what+you+should+know'),jdecode(''),'/162979.html','true',[],''],
	['PAGE','10952',jdecode('Contact+Us'),jdecode(''),'/10952.html','true',[],''],
	['PAGE','108001',jdecode('HOW+TO+BOOK'),jdecode(''),'/108001.html','true',[],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Stylus';
					                                                                    
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 */					                                                            
