/* [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','43',jdecode('Home'),jdecode(''),'/43.html','true',[],''],
	['PAGE','327',jdecode('About+us'),jdecode(''),'/327.html','true',[],''],
	['PAGE','336',jdecode('Mission'),jdecode(''),'/336.html','true',[],''],
	['PAGE','345',jdecode('Services'),jdecode(''),'/345.html','true',[],''],
	['PAGE','16637',jdecode('Ebay+Store'),jdecode(''),'/16637.html','true',[],''],
	['PAGE','10007',jdecode('Galaxy+Store'),jdecode(''),'/10007/index.html','true',[ 
		['PAGE','354',jdecode('Payment'),jdecode(''),'/10007/354.html','true',[],''],
		['PAGE','363',jdecode('Shipping'),jdecode(''),'/10007/363.html','true',[],''],
		['PAGE','372',jdecode('Insurance'),jdecode(''),'/10007/372.html','true',[],''],
		['PAGE','13178',jdecode('Policies'),jdecode(''),'/10007/13178.html','true',[],'']
	],''],
	['PAGE','9814',jdecode('Gallery'),jdecode(''),'/9814.html','true',[],''],
	['PAGE','19289',jdecode('Fender'),jdecode(''),'/19289/index.html','true',[ 
		['PAGE','390',jdecode('Stratocaster'),jdecode(''),'/19289/390.html','true',[],''],
		['PAGE','19298',jdecode('Telecaster'),jdecode(''),'/19289/19298.html','true',[],''],
		['PAGE','19307',jdecode('Mustang'),jdecode(''),'/19289/19307.html','true',[],''],
		['PAGE','19316',jdecode('Jaguar'),jdecode(''),'/19289/19316.html','true',[],''],
		['PAGE','19325',jdecode('Electric+XII'),jdecode(''),'/19289/19325.html','true',[],''],
		['PAGE','19560',jdecode('Precision+Bass'),jdecode(''),'/19289/19560.html','true',[],''],
		['PAGE','19334',jdecode('Jazz+Bass'),jdecode(''),'/19289/19334.html','true',[],''],
		['PAGE','21580',jdecode('Mustang+Bass'),jdecode(''),'/19289/21580.html','true',[],''],
		['PAGE','19569',jdecode('Music+Master+Bass'),jdecode(''),'/19289/19569.html','true',[],'']
	],''],
	['PAGE','19352',jdecode('Gibson'),jdecode(''),'/19352/index.html','true',[ 
		['PAGE','399',jdecode('Les+Paul'),jdecode(''),'/19352/399.html','true',[],'']
	],''],
	['PAGE','408',jdecode('Acoustic'),jdecode(''),'/408/index.html','true',[ 
		['PAGE','417',jdecode('Classical'),jdecode(''),'/408/417.html','true',[],''],
		['PAGE','426',jdecode('Flamenco'),jdecode(''),'/408/426.html','true',[],'']
	],''],
	['PAGE','435',jdecode('Guitar+Amps'),jdecode(''),'/435.html','true',[],''],
	['PAGE','444',jdecode('Bass+Amps'),jdecode(''),'/444.html','true',[],''],
	['PAGE','453',jdecode('Effects'),jdecode(''),'/453.html','true',[],''],
	['PAGE','462',jdecode('Friends'),jdecode(''),'/462.html','true',[],''],
	['PAGE','10381',jdecode('Feedback'),jdecode(''),'/10381/index.html','true',[ 
		['PAGE','10439',jdecode('Feedback+Forum+%28follow+up+page%29'),jdecode(''),'/10381/10439.html','false',[],'']
	],''],
	['PAGE','10165',jdecode('Forum'),jdecode(''),'/10165.html','true',[],''],
	['PAGE','10110',jdecode('Mandala+Music'),jdecode(''),'/10110/index.html','true',[ 
		['PAGE','13756',jdecode('Bio'),jdecode(''),'/10110/13756.html','true',[],''],
		['PAGE','33136',jdecode('Studio'),jdecode(''),'/10110/33136.html','true',[],''],
		['PAGE','13774',jdecode('New+Projects'),jdecode(''),'/10110/13774.html','true',[],''],
		['PAGE','13783',jdecode('Gallery'),jdecode(''),'/10110/13783.html','true',[],''],
		['PAGE','35892',jdecode('Led+Zep'),jdecode(''),'/10110/35892.html','true',[],''],
		['PAGE','37690',jdecode('Background+Image+1'),jdecode(''),'/10110/37690.html','true',[],''],
		['PAGE','38045',jdecode('Background+Image+2'),jdecode(''),'/10110/38045.html','true',[],'']
	],''],
	['PAGE','381',jdecode('Contact'),jdecode(''),'/381.html','true',[],''],
	['PAGE','18828',jdecode('Site+Map'),jdecode(''),'/18828.html','true',[],'']];
var siteelementCount=43;
theSitetree.topTemplateName='Orbit';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='172';
theSitetree.graphicsetId='206';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Orbit'
,				paletteFamily: 	'000000'
,				keyvisualId: 	'-1'
,				keyvisualName: 	'keyv.jpg'
,				fontsetId: 		'172'
,				graphicsetId: 	'206'
,				contentColor: 	'FFFFFF'
,				contentBGColor: '000000'
,				a_color: 		'000000'
,				b_color: 		'666666'
,				c_color: 		'000000'
,				d_color: 		'000000'
,				e_color: 		'FFFFFF'
,				f_color: 		'FFFFFF'
 			  };					                                                                    
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 */					                                                            

