/* [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','4436',jdecode('HOME'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','11349',jdecode('LATEST+NEWS'),jdecode(''),'/11349/index.html','true',[ 
		['PAGE','11380',jdecode('ZEP+REUNION+GIG+2007'),jdecode(''),'/11349/11380.html','true',[],'']
	],''],
	['PAGE','108766',jdecode('TOUR+DATES'),jdecode(''),'/108766.html','true',[],''],
	['PAGE','11473',jdecode('MESSAGE+BOARD'),jdecode(''),'/11473.html','true',[],''],
	['PAGE','28826',jdecode('GUESTBOOK'),jdecode(''),'/28826.html','true',[],''],
	['PAGE','29030',jdecode('PHOTOS'),jdecode(''),'/29030/index.html','true',[ 
		['PAGE','62203',jdecode('Fan+Photos'),jdecode(''),'/29030/62203.html','true',[],''],
		['PAGE','62440',jdecode('Psychadelic+Shots'),jdecode(''),'/29030/62440.html','true',[],''],
		['PAGE','98505',jdecode('Zep+Reunion+2007'),jdecode(''),'/29030/98505.html','true',[],''],
		['PAGE','102658',jdecode('Foo%26%23x27%3Bs+Gig+2008'),jdecode(''),'/29030/102658.html','true',[],'']
	],''],
	['PAGE','11318',jdecode('BIOGRAPHY'),jdecode(''),'/11318/index.html','true',[ 
		['PAGE','42558',jdecode('YARDBIRDS'),jdecode(''),'/11318/42558.html','true',[],''],
		['PAGE','42826',jdecode('LED+ZEPPELIN'),jdecode(''),'/11318/42826.html','true',[],''],
		['PAGE','44226',jdecode('THE+FIRM'),jdecode(''),'/11318/44226.html','true',[],'']
	],''],
	['PAGE','35626',jdecode('DISCOGRAPHY'),jdecode(''),'/35626/index.html','true',[ 
		['PAGE','35731',jdecode('LED+ZEPPELIN+%28I%29'),jdecode(''),'/35626/35731.html','true',[],''],
		['PAGE','35762',jdecode('LED+ZEPPELIN+II'),jdecode(''),'/35626/35762.html','true',[],''],
		['PAGE','35793',jdecode('LED+ZEPPELIN+III'),jdecode(''),'/35626/35793.html','true',[],''],
		['PAGE','35826',jdecode('FOUR+SYMBOLS'),jdecode(''),'/35626/35826.html','true',[],''],
		['PAGE','35857',jdecode('HOUSES+OF+THE+HOLY'),jdecode(''),'/35626/35857.html','true',[],''],
		['PAGE','35888',jdecode('PHYSICAL+GRAFFITI'),jdecode(''),'/35626/35888.html','true',[],''],
		['PAGE','35950',jdecode('PRESENCE'),jdecode(''),'/35626/35950.html','true',[],''],
		['PAGE','35919',jdecode('SONG+REMAINS+THE+SAME'),jdecode(''),'/35626/35919.html','true',[],''],
		['PAGE','35981',jdecode('IN+THRU+THE+OUT+DOOR'),jdecode(''),'/35626/35981.html','true',[],''],
		['PAGE','36012',jdecode('CODA'),jdecode(''),'/35626/36012.html','true',[],''],
		['PAGE','38726',jdecode('DEATH+WISH+II'),jdecode(''),'/35626/38726.html','true',[],''],
		['PAGE','38926',jdecode('THE+FIRM'),jdecode(''),'/35626/38926.html','true',[],''],
		['PAGE','38957',jdecode('MEAN+BUSINESS'),jdecode(''),'/35626/38957.html','true',[],''],
		['PAGE','39326',jdecode('OUTRIDER'),jdecode(''),'/35626/39326.html','true',[],''],
		['PAGE','39726',jdecode('COVERDALE+PAGE'),jdecode(''),'/35626/39726.html','true',[],''],
		['PAGE','40026',jdecode('NO+QUARTER'),jdecode(''),'/35626/40026.html','true',[],''],
		['PAGE','55026',jdecode('BBC+SESSIONS'),jdecode(''),'/35626/55026.html','true',[],''],
		['PAGE','40057',jdecode('WALKING+INTO+CLARKSDALE'),jdecode(''),'/35626/40057.html','true',[],''],
		['PAGE','40088',jdecode('LIVE+AT+THE+GREEK'),jdecode(''),'/35626/40088.html','true',[],''],
		['PAGE','41626',jdecode('HOW+THE+WEST+WAS+WON'),jdecode(''),'/35626/41626.html','true',[],''],
		['PAGE','41657',jdecode('UNLEDDED'),jdecode(''),'/35626/41657.html','true',[],''],
		['PAGE','85932',jdecode('MOTHERSHIP'),jdecode(''),'/35626/85932.html','true',[],'']
	],''],
	['PAGE','29426',jdecode('CONTACT'),jdecode(''),'/29426.html','true',[],''],
	['PAGE','11628',jdecode('+LINKS'),jdecode(''),'/11628.html','true',[],''],
	['PAGE','95690',jdecode('DOWNLOADS'),jdecode(''),'/95690.html','true',[],''],
	['PAGE','11597',jdecode('ONLINE+STORE'),jdecode(''),'/11597/index.html','true',[ 
		['PAGE','71826',jdecode('COOL+COLLECTABLES'),jdecode(''),'/11597/71826.html','true',[],''],
		['PAGE','31726',jdecode('APPAREL'),jdecode(''),'/11597/31726.html','true',[],''],
		['PAGE','31326',jdecode('BOOKS'),jdecode(''),'/11597/31326.html','true',[],''],
		['PAGE','32426',jdecode('DVD%26%23x27%3Bs'),jdecode(''),'/11597/32426.html','true',[],''],
		['PAGE','31126',jdecode('POSTERS'),jdecode(''),'/11597/31126.html','true',[],'']
	],'']];
var siteelementCount=47;
theSitetree.topTemplateName='Logg';
					                                                                    
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 */					                                                            
