/* [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','4593',jdecode('Home'),jdecode(''),'/4593.html','true',[],''],
	['PAGE','5082',jdecode('Please+Please+me'),jdecode(''),'/5082/index.html','true',[ 
		['PAGE','10728',jdecode('FAQs+Beatles+Museum+%28follow+up+page%29'),jdecode(''),'/5082/10728.html','false',[],'']
	],''],
	['PAGE','19067',jdecode('Mr.+Postman'),jdecode(''),'/19067.html','true',[],''],
	['PAGE','19094',jdecode('With+a+little+help..'),jdecode(''),'/19094.html','true',[],''],
	['PAGE','4866',jdecode('Love+me+do'),jdecode(''),'/4866.html','true',[],''],
	['PAGE','4920',jdecode('Yesterday'),jdecode(''),'/4920.html','true',[],''],
	['PAGE','4947',jdecode('Anytime+at+all'),jdecode(''),'/4947.html','true',[],''],
	['PAGE','5055',jdecode('I+want+to+hold+your+hand'),jdecode(''),'/5055.html','true',[],''],
	['PAGE','12046',jdecode('You+should+have+known+better'),jdecode(''),'/12046.html','true',[],''],
	['PAGE','11709',jdecode('A+hard+days+night'),jdecode(''),'/11709.html','true',[],''],
	['PAGE','12403',jdecode('Help'),jdecode(''),'/12403.html','true',[],''],
	['PAGE','12703',jdecode('Blackbird'),jdecode(''),'/12703.html','true',[],''],
	['PAGE','12730',jdecode('Penny+Lane'),jdecode(''),'/12730.html','true',[],''],
	['PAGE','13222',jdecode('Strawberry+Fields'),jdecode(''),'/13222.html','true',[],''],
	['PAGE','12757',jdecode('Hey+Jude'),jdecode(''),'/12757.html','true',[],''],
	['PAGE','13928',jdecode('When+I%60m+sixty+four'),jdecode(''),'/13928.html','true',[],''],
	['PAGE','14228',jdecode('Rock+and+Roll+music'),jdecode(''),'/14228.html','true',[],''],
	['PAGE','4677',jdecode('It+won%60t+be+long'),jdecode(''),'/4677.html','true',[],''],
	['PAGE','14255',jdecode('A+taste+of+honey'),jdecode(''),'/14255.html','true',[],''],
	['PAGE','14694',jdecode('Yellow+Submarine'),jdecode(''),'/14694.html','true',[],''],
	['PAGE','15928',jdecode('I%60m+down'),jdecode(''),'/15928.html','true',[],''],
	['PAGE','15955',jdecode('Something'),jdecode(''),'/15955.html','true',[],''],
	['PAGE','15982',jdecode('I+am+the+walrus'),jdecode(''),'/15982.html','true',[],''],
	['PAGE','16009',jdecode('Come+together'),jdecode(''),'/16009.html','true',[],''],
	['PAGE','15228',jdecode('Rain'),jdecode(''),'/15228.html','true',[],''],
	['PAGE','15255',jdecode('Penny+Lane'),jdecode(''),'/15255.html','true',[],''],
	['PAGE','15282',jdecode('Roll+over+Beethoven'),jdecode(''),'/15282.html','true',[],''],
	['PAGE','15309',jdecode('All+you+need+is+love'),jdecode(''),'/15309.html','true',[],''],
	['PAGE','15336',jdecode('Rock%60n+Roll+Music'),jdecode(''),'/15336.html','true',[],''],
	['PAGE','17082',jdecode('Mr.+Moonlight'),jdecode(''),'/17082.html','true',[],''],
	['PAGE','11023',jdecode('A+day+in+life'),jdecode(''),'/11023.html','true',[],''],
	['PAGE','17109',jdecode('Back+in+the+USSR'),jdecode(''),'/17109.html','true',[],''],
	['PAGE','17055',jdecode('Girl'),jdecode(''),'/17055.html','true',[],''],
	['PAGE','18566',jdecode('Maxwell+Silverhammer'),jdecode(''),'/18566.html','true',[],''],
	['PAGE','19628',jdecode('Fun+with+the+Beatles'),jdecode(''),'/19628.html','true',[],''],
	['PAGE','20065',jdecode('My+Bonnie'),jdecode(''),'/20065.html','true',[],''],
	['PAGE','20428',jdecode('Taxman'),jdecode(''),'/20428.html','true',[],''],
	['PAGE','20928',jdecode('Dizzy+Miss+Lizzy'),jdecode(''),'/20928.html','true',[],''],
	['PAGE','21228',jdecode('Old+Brown+Shoe'),jdecode(''),'/21228.html','true',[],''],
	['PAGE','25952',jdecode('Hobbies'),jdecode(''),'/25952.html','true',[],''],
	['PAGE','25979',jdecode('Kontakt'),jdecode(''),'/25979.html','true',[],''],
	['PAGE','26006',jdecode('Links'),jdecode(''),'/26006.html','true',[],'']];
var siteelementCount=43;
theSitetree.topTemplateName='Inspiration';
					                                                                    
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 */					                                                            
