/* [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('OVERTURE'),jdecode(''),'/4595.html','true',[],''],
	['PAGE','9252',jdecode('Pop%2FUp-Tempo'),jdecode(''),'/9252/index.html','true',[ 
		['PAGE','74485',jdecode('DETAILS'),jdecode(''),'/9252/74485.html','true',[],'']
	],''],
	['PAGE','27007',jdecode('Light+Entertainment'),jdecode(''),'/27007/index.html','true',[ 
		['PAGE','74516',jdecode('DETAILS'),jdecode(''),'/27007/74516.html','true',[],'']
	],''],
	['PAGE','65708',jdecode('Original'),jdecode(''),'/65708/index.html','true',[ 
		['PAGE','74547',jdecode('DETAILS'),jdecode(''),'/65708/74547.html','true',[],'']
	],''],
	['PAGE','65739',jdecode('Classical+Editions'),jdecode(''),'/65739/index.html','true',[ 
		['PAGE','74578',jdecode('DETAILS'),jdecode(''),'/65739/74578.html','true',[],'']
	],''],
	['PAGE','75171',jdecode('Band+with+vocals'),jdecode(''),'/75171/index.html','true',[ 
		['PAGE','75202',jdecode('DETAILS'),jdecode(''),'/75171/75202.html','true',[],'']
	],''],
	['PAGE','43307',jdecode('Seasonal'),jdecode(''),'/43307/index.html','true',[ 
		['PAGE','76478',jdecode('DETAILS'),jdecode(''),'/43307/76478.html','true',[],'']
	],''],
	['PAGE','80371',jdecode('Eric+Delaney'),jdecode(''),'/80371.html','true',[],''],
	['PAGE','44907',jdecode('Tim+Paton'),jdecode(''),'/44907.html','true',[],''],
	['PAGE','63107',jdecode('Little+Welsh+Home'),jdecode(''),'/63107.html','true',[],''],
	['PAGE','74971',jdecode('Articles'),jdecode(''),'/74971/index.html','true',[ 
		['PAGE','74609',jdecode('Computer+Music'),jdecode(''),'/74971/74609.html','true',[],''],
		['PAGE','74640',jdecode('An+Arrangement%3F'),jdecode(''),'/74971/74640.html','true',[],''],
		['PAGE','77471',jdecode('My+Music'),jdecode(''),'/74971/77471.html','true',[],''],
		['PAGE','80077',jdecode('Entertainment'),jdecode(''),'/74971/80077.html','true',[],'']
	],'']];
var siteelementCount=21;
theSitetree.topTemplateName='echo';
					                                                                    
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 */					                                                            
