/* [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','61569',jdecode('HELP+US+IDENTIFY+PICS'),jdecode(''),'/61569.html','true',[],''],
	['PAGE','84771',jdecode('ISDT+1913+Basic+Page'),jdecode(''),'/84771.html','true',[],''],
	['PAGE','11103',jdecode('ISDT+1913+On+inc+39'),jdecode(''),'/11103.html','true',[],''],
	['PAGE','38797',jdecode('Extra+ISDT+Progs'),jdecode(''),'/38797.html','true',[],''],
	['PAGE','82421',jdecode('1920+ISDT'),jdecode(''),'/82421.html','true',[],''],
	['PAGE','79711',jdecode('ISDT+1921'),jdecode(''),'/79711.html','true',[],''],
	['PAGE','81620',jdecode('1923+ISDT'),jdecode(''),'/81620.html','true',[],''],
	['PAGE','81920',jdecode('1925+ISDT'),jdecode(''),'/81920.html','true',[],''],
	['PAGE','59369',jdecode('ISDT+1926'),jdecode(''),'/59369.html','true',[],''],
	['PAGE','60169',jdecode('1920%26%23x27%3Bs+ISDT+ADS'),jdecode(''),'/60169.html','true',[],''],
	['PAGE','83921',jdecode('ISDT+1927'),jdecode(''),'/83921.html','true',[],''],
	['PAGE','61944',jdecode('ISDT+1932'),jdecode(''),'/61944.html','true',[],''],
	['PAGE','47232',jdecode('ISDT+1933'),jdecode(''),'/47232.html','true',[],''],
	['PAGE','83952',jdecode('ISDT+1935'),jdecode(''),'/83952.html','true',[],''],
	['PAGE','85121',jdecode('ISDT+1936'),jdecode(''),'/85121.html','true',[],''],
	['PAGE','6803',jdecode('ISDT+1937'),jdecode(''),'/6803.html','true',[],''],
	['PAGE','66269',jdecode('Scholte+BMW+1937'),jdecode(''),'/66269.html','true',[],''],
	['PAGE','11130',jdecode('ISDT+1938'),jdecode(''),'/11130.html','true',[],''],
	['PAGE','44706',jdecode('ISDT+1938++Extra'),jdecode(''),'/44706.html','true',[],''],
	['PAGE','44800',jdecode('1938+Donnington+Speed+Trial+Day'),jdecode(''),'/44800.html','true',[],''],
	['PAGE','61976',jdecode('ISDT+1939+Salzburg'),jdecode(''),'/61976.html','true',[],''],
	['PAGE','85821',jdecode('ISDT+1947'),jdecode(''),'/85821.html','true',[],''],
	['PAGE','65369',jdecode('ISDT+1948'),jdecode(''),'/65369.html','true',[],''],
	['PAGE','53808',jdecode('INC+1948'),jdecode(''),'/53808.html','true',[],''],
	['PAGE','6830',jdecode('ISDT+1949'),jdecode(''),'/6830.html','true',[],''],
	['PAGE','6857',jdecode('ISDT+1950'),jdecode(''),'/6857.html','true',[],''],
	['PAGE','76047',jdecode('Additional+1950+ISDT'),jdecode(''),'/76047.html','true',[],''],
	['PAGE','42758',jdecode('ISDT+1952'),jdecode(''),'/42758.html','true',[],''],
	['PAGE','48332',jdecode('ISDT+1953'),jdecode(''),'/48332.html','true',[],''],
	['PAGE','6884',jdecode('ISDT+1954'),jdecode(''),'/6884.html','true',[],''],
	['PAGE','76078',jdecode('Added+1954+ISDT+Page'),jdecode(''),'/76078.html','true',[],''],
	['PAGE','51532',jdecode('ISDT+1958'),jdecode(''),'/51532.html','true',[],''],
	['PAGE','34572',jdecode('ISDT+1961'),jdecode(''),'/34572.html','true',[],''],
	['PAGE','57669',jdecode('G+Collins+ISDT+1961'),jdecode(''),'/57669.html','true',[],''],
	['PAGE','78911',jdecode('ISDT+1962'),jdecode(''),'/78911.html','true',[],''],
	['PAGE','58169',jdecode('ISDT+1963'),jdecode(''),'/58169.html','true',[],''],
	['PAGE','56269',jdecode('ISDT+1964'),jdecode(''),'/56269.html','true',[],''],
	['PAGE','67969',jdecode('ISDT+1965'),jdecode(''),'/67969.html','true',[],''],
	['PAGE','73547',jdecode('ISDT+1966'),jdecode(''),'/73547.html','true',[],''],
	['PAGE','72447',jdecode('ISDT+1967'),jdecode(''),'/72447.html','true',[],''],
	['PAGE','86121',jdecode('Scott+Ellis+60%26%23x27%3Bs+70%26%23x27%3Bs'),jdecode(''),'/86121.html','true',[],''],
	['PAGE','63469',jdecode('ISDT+1968'),jdecode(''),'/63469.html','true',[],''],
	['PAGE','70769',jdecode('ISDT+1969'),jdecode(''),'/70769.html','true',[],''],
	['PAGE','70831',jdecode('ISDT+1970'),jdecode(''),'/70831.html','true',[],''],
	['PAGE','68000',jdecode('ISDT+1971'),jdecode(''),'/68000.html','true',[],''],
	['PAGE','70893',jdecode('ISDT+1972'),jdecode(''),'/70893.html','true',[],''],
	['PAGE','68031',jdecode('ISDT+1973'),jdecode(''),'/68031.html','true',[],''],
	['PAGE','77811',jdecode('ISDT+1974'),jdecode(''),'/77811.html','true',[],''],
	['PAGE','70800',jdecode('ISDT+1975'),jdecode(''),'/70800.html','true',[],''],
	['PAGE','78136',jdecode('ISDT+1976'),jdecode(''),'/78136.html','true',[],''],
	['PAGE','70862',jdecode('ISDT+1978'),jdecode(''),'/70862.html','true',[],''],
	['PAGE','28402',jdecode('New+photo+album'),jdecode(''),'/28402.html','true',[],''],
	['PAGE','41797',jdecode('Assorted+ISDT+'),jdecode(''),'/41797.html','true',[],''],
	['PAGE','69344',jdecode('Makes+Page'),jdecode(''),'/69344.html','true',[],''],
	['PAGE','73447',jdecode('Makes+PageA'),jdecode(''),'/73447.html','true',[],''],
	['PAGE','38829',jdecode('Past+Maestros+'),jdecode(''),'/38829.html','true',[],''],
	['PAGE','27301',jdecode('LINKS'),jdecode(''),'/27301.html','true',[],''],
	['PAGE','26575',jdecode('Guestbook'),jdecode(''),'/26575/index.html','true',[ 
		['PAGE','26576',jdecode('Read+Guestbook'),jdecode(''),'/26575/26576.html','true',[],'']
	],''],
	['PAGE','86421',jdecode('Help+Identify+Page'),jdecode(''),'/86421.html','true',[],''],
	['PAGE','86452',jdecode('New+page'),jdecode(''),'/86452.html','true',[],'']];
var siteelementCount=62;
theSitetree.topTemplateName='Zoe';
					                                                                    
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 */					                                                            
