/* [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','4597',jdecode('Home'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','4789',jdecode('Evening+Classes+2010%2F11'),jdecode(''),'/4789/index.html','true',[ 
		['PAGE','66922',jdecode('Group+Tuition'),jdecode(''),'/4789/66922.html','true',[],''],
		['PAGE','68801',jdecode('Theory'),jdecode(''),'/4789/68801.html','true',[],''],
		['PAGE','59022',jdecode('Ensembles'),jdecode(''),'/4789/59022.html','true',[],''],
		['PAGE','59043',jdecode('Individual+Tuition'),jdecode(''),'/4789/59043.html','true',[],''],
		['PAGE','5401',jdecode('Calendar'),jdecode(''),'/4789/5401.html','true',[],''],
		['PAGE','5428',jdecode('Fees'),jdecode(''),'/4789/5428.html','true',[],''],
		['PAGE','57601',jdecode('Additional+Info'),jdecode(''),'/4789/57601.html','true',[],'']
	],''],
	['PAGE','4843',jdecode('Workshops+%26+Events'),jdecode(''),'/4843.html','true',[],''],
	['PAGE','57622',jdecode('Schools%26%23x27%3B+Services'),jdecode(''),'/57622.html','true',[],''],
	['PAGE','4951',jdecode('Music+Publishing'),jdecode(''),'/4951.html','true',[],''],
	['PAGE','48203',jdecode('Links'),jdecode(''),'/48203/index.html','true',[ 
		['PAGE','48402',jdecode('Email+Messenger+%28follow+up+page%29'),jdecode(''),'/48203/48402.html','false',[],'']
	],''],
	['PAGE','4978',jdecode('Vacancies'),jdecode(''),'/4978.html','true',[],''],
	['PAGE','5005',jdecode('Contact+Us'),jdecode(''),'/5005/index.html','true',[ 
		['PAGE','49402',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/5005/49402.html','false',[],''],
		['PAGE','49302',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/5005/49302.html','false',[],''],
		['PAGE','47502',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/5005/47502.html','false',[],'']
	],'']];
var siteelementCount=19;
theSitetree.topTemplateName='NewYork';
theSitetree.paletteFamily='FFCC33';
theSitetree.keyvisualId='935';
theSitetree.keyvisualName='haengematte.jpg';
theSitetree.fontsetId='166';
theSitetree.graphicsetId='199';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'NewYork',
				paletteFamily: 	'FFCC33',
				keyvisualId: 	'935',
				keyvisualName: 	'haengematte.jpg',
				fontsetId: 		'166',
				graphicsetId: 	'199',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000066',
				b_color: 		'FFCC33',
				c_color: 		'000000',
				d_color: 		'406BC0',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5005',
internalId:  '11922903',
customField: 'en:GB:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68801',
internalId:  '',
customField: '20100708-165854'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20100708-165744'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66922',
internalId:  '',
customField: '20100706-112147'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4789',
internalId:  '',
customField: '20100708-165909'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4843',
internalId:  '',
customField: '20100426-232957'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59043',
internalId:  '',
customField: '20100705-181309'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4978',
internalId:  '',
customField: '20080527-171415'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48203',
internalId:  '',
customField: '20070626-213324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5005',
internalId:  '',
customField: '20090606-172513'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5401',
internalId:  '',
customField: '20100706-112244'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5428',
internalId:  '',
customField: '20100708-170103'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4951',
internalId:  '',
customField: '20080527-171227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48402',
internalId:  '',
customField: '20070529-233657'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49402',
internalId:  '',
customField: '20070530-001322'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49302',
internalId:  '',
customField: '20070530-001201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47502',
internalId:  '',
customField: '20070529-232129'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59022',
internalId:  '',
customField: '20100705-181324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '57622',
internalId:  '',
customField: '20080530-212551'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '57601',
internalId:  '',
customField: '20100705-181213'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLCUG';
var companyName   = 'Chevin+Music';
var htmlTitle	  = 'Chevin+Music';
var metaKeywords  = 'Music%2C+Tuition%2C+Lessons%2C+Leeds%2C+Bramhope%2C+Alison+Major%2C+Classes%2C+Orchestra%2C+Evening+Classes%2C+Chevin+Music%2C+Instrumental%2C+Theory%2C+Music+Appreciation%2C+Wednesdays%2C+Workshops%2C+Music+Publishing%2C+Ensembles%2C+Bands%2C+Strings%2C+Brass%2C+Music+Centre%2C+Alcuin+School%2C+Bramhope+Primary+School%2C+Violin%2C+Viola%2C+Keyboard%2C+Guitar%2C+Drum+Kit%2C+Woodwind%2C+Recorders%2C+Flute%2C+Oboe%2C+Clarinet%2C+Saxophone%2C+Bassoon%2C+Otley%2C+Horsforth%2C+Adel%2C+Yorkshire%2C+music+evening+class%2C+music+tuition%2C';
var metaContents  = 'Chevin+Music%2C+under+the+directorship+of+Alison+Major+is+primarily+a+provider+of+instrumental+tuition+in+North+Leeds.+We+hold+music+evening+classes+on+a+Wednesday+evening+at+Bramhope+Primary+School+as+well+as+workshops+at+Bramhope+and+at+The+Alcuin+School+in+Chapel+Allerton.+We+also+publish+a+range+of+ensemble+music%2C+which+is+available+to+purchase+from+us.+';
					                                                                    
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 */					                                                            
