/* [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','76',jdecode('Home'),jdecode(''),'/76.html','true',[],''],
	['PAGE','97',jdecode('Instructor'),jdecode(''),'/97.html','true',[],''],
	['PAGE','106',jdecode('System'),jdecode(''),'/106.html','true',[],''],
	['PAGE','115',jdecode('Areas+of+Instruction'),jdecode(''),'/115.html','true',[],''],
	['PAGE','124',jdecode('Guitar'),jdecode(''),'/124.html','true',[],''],
	['PAGE','133',jdecode('Electric+Bass'),jdecode(''),'/133.html','true',[],''],
	['PAGE','142',jdecode('Bluegrass+Banjo'),jdecode(''),'/142.html','true',[],''],
	['PAGE','5101',jdecode('Bluegrass+Mandolin'),jdecode(''),'/5101.html','true',[],''],
	['PAGE','5122',jdecode('Pedal+Steel'),jdecode(''),'/5122.html','true',[],''],
	['PAGE','5143',jdecode('Keyboard'),jdecode(''),'/5143.html','true',[],''],
	['PAGE','5164',jdecode('Voice'),jdecode(''),'/5164.html','true',[],''],
	['PAGE','5185',jdecode('Music+Theory'),jdecode(''),'/5185.html','true',[],''],
	['PAGE','5206',jdecode('Songwriting'),jdecode(''),'/5206.html','true',[],''],
	['PAGE','52276',jdecode('Improvising+Skills'),jdecode(''),'/5227.html','true',[],''],
	['PAGE','15701',jdecode('Mini-Lessons'),jdecode(''),'/15701.html','true',[],''],
	['PAGE','15722',jdecode('Finding+the+Right+Teacher'),jdecode(''),'/15722.html','true',[],''],
	['PAGE','15743',jdecode('Why You Cant Tune+A+Guitar'),jdecode(''),'/15743.html','true',[],''],
	['PAGE','16401',jdecode('What Is A Key, Anyway?'),jdecode(''),'/16401.html','true',[],''],
	['PAGE','151',jdecode('Essentials'),jdecode(''),'/151.html','true',[],''],
	['PAGE','160',jdecode('Accolades'),jdecode(''),'/160.html','true',[],''],
	['PAGE','18601',jdecode('Links'),jdecode(''),'/18601.html','true',[],''],
	['PAGE','169',jdecode('Contact+Information'),jdecode(''),'/169.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='306';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'306',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '76',
internalId:  '1006',
customField: '1006'
};
webappMappings['5003']={
webappId:    '5003',
documentId:  '76',
internalId:  'tid:1;pid:WSCSYSSSSLYTC24G',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '169',
internalId:  '2793108',
customField: 'en:US:'
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050IN310L';
var companyName   = 'The+Art+%26+Science+of+Music+Instruction';
var htmlTitle	  = 'Total+Control+Music+Systems';
var metaKeywords  = 'Guitar%2CElectric%2CAcoustic%2CBass%2CBanjo%2CMandolin%2CKeyboard%2CTheory%2CVoice%2CSongwriting%2CImprovising%2CInstruction%2CLesson%2CTeac%2CLearn%2CPlay%2CMusic%2CBlues%2CRock%2CCountry%2CPop%2CCeltic%2CBluegrass%2CFolk%2CTravis%2CScruggs%2CKeith%2CReno%2CNYC%2C+New+York%2C+Manhattan%2C+Brooklyn%2C+Williamsburg';
var metaContents  = 'The+Art++Science+of+Music+Instruction%21++Private+instruction+in+guitar%2C+bass%2C+banjo%2C+pedal+steel%2C+keyboards%2C+voice%2C+theory%2C+songwriting%2C++improvisation+with+master+teacher+Michael+P.+Wolfsohn.++Over+the+past+20+years%2C+Michael%2C+%28bestselling+author+of+over+a+dozen+Hal+Leonard+instructional+books%29+has+developed++the+Total+Control+Music+System%2C+a+unique+instructional+approach%28with+modules+for+individual+specialty+areas%29+that+helps+players+of+ANY+level%2C+from+complete+beginners+to+truly+advanced+players%2C+gain+total+musical+mastery+in+the+shortest+time+possible.++Beginners+--+Dont+do+it+twice+--+get+it+right+the+FIRST+time.++Advanced+players+--+break+through+the+wall+that+has+kept+your+playing+at+the+same+level+for+so+long%21%21++You+will+find+Michael+to+be+a+patient%2C+dedicated%2C+highly+focused+instructor%2C+who+will+zero+in+on+your+personal+areas+of+need+to+help+you+play+better+than+you+ever+dreamed%2C+faster+than+you+ever+though+possible.+All+ages%2C+all+levels+--+beginners+encouraged.++';
					                                                                    
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 */					                                                            
