/* [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','1508',jdecode('Home'),jdecode(''),'/1508.html','true',[],''],
	['PAGE','11501',jdecode('Our+Team'),jdecode(''),'/11501.html','true',[],''],
	['PAGE','11609',jdecode('Services'),jdecode(''),'/11609/index.html','true',[ 
		['PAGE','12501',jdecode('Price+Guide'),jdecode(''),'/11609/12501.html','true',[],'']
	],''],
	['PAGE','92001',jdecode('Probiz+'),jdecode(''),'/92001.html','true',[],''],
	['PAGE','56901',jdecode('Directions'),jdecode(''),'/56901.html','true',[],''],
	['PAGE','11528',jdecode('Contact+Us'),jdecode(''),'/11528.html','true',[],''],
	['PAGE','64401',jdecode('Accounting+Software'),jdecode(''),'/64401/index.html','true',[ 
		['PAGE','66301',jdecode('Login'),jdecode(''),'/64401/66301.html','true',[],''],
		['PAGE','66322',jdecode('Register'),jdecode(''),'/64401/66322.html','true',[],'']
	],''],
	['PAGE','44201',jdecode('Tax+Developments'),jdecode(''),'/44201/index.html','true',[ 
		['PAGE','61101',jdecode('2009+Budget'),jdecode(''),'/44201/61101.html','true',[],''],
		['PAGE','37601',jdecode('Artric+systems'),jdecode(''),'/44201/37601.html','true',[],''],
		['PAGE','52901',jdecode('IR35+The+%26%23x27%3BDragonfly%26%23x27%3B+ruling'),jdecode(''),'/44201/52901.html','true',[],''],
		['PAGE','37201',jdecode('Overseas+Matters'),jdecode(''),'/44201/37201.html','true',[],''],
		['PAGE','35722',jdecode('Property+Income'),jdecode(''),'/44201/35722.html','true',[],''],
		['PAGE','46401',jdecode('Capital+Gains+tax'),jdecode(''),'/44201/46401.html','true',[],'']
	],''],
	['PAGE','11582',jdecode('Information+and+Tips'),jdecode(''),'/11582/index.html','true',[ 
		['PAGE','14601',jdecode('PAYE+%26+CIS'),jdecode(''),'/11582/14601.html','true',[],''],
		['PAGE','41601',jdecode('Childcare+Vouchers'),jdecode(''),'/11582/41601.html','true',[],''],
		['PAGE','41622',jdecode('Business+Assets'),jdecode(''),'/11582/41622.html','true',[],''],
		['PAGE','24701',jdecode('Statutory+holiday+'),jdecode(''),'/11582/24701.html','true',[],''],
		['PAGE','73301',jdecode('Beware+of+scams'),jdecode(''),'/11582/73301.html','true',[],'']
	],''],
	['PAGE','13301',jdecode('Taxsure+Insurance'),jdecode(''),'/13301.html','true',[],''],
	['PAGE','49401',jdecode('Recruitment'),jdecode(''),'/49401.html','true',[],''],
	['PAGE','13001',jdecode('Useful+links'),jdecode(''),'/13001.html','true',[],''],
	['PAGE','18101',jdecode('Our+Clients'),jdecode(''),'/18101.html','true',[],''],
	['PAGE','79101',jdecode('Tax+Forum'),jdecode(''),'/79101.html','true',[],''],
	['PAGE','38801',jdecode('Money+Laundering+Act'),jdecode(''),'/38801.html','true',[],''],
	['PAGE','79506',jdecode('Client+comments'),jdecode(''),'/79506/index.html','true',[ 
		['PAGE','79501',jdecode('Read+comments'),jdecode(''),'/79506/79501.html','true',[],'']
	],''],
	['PAGE','93901',jdecode('Shoreham+by+Sea+Accountants'),jdecode(''),'/93901.html','true',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='Global';
theSitetree.paletteFamily='006600';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='85';
theSitetree.graphicsetId='104';
theSitetree.contentColor='006633';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Global',
				paletteFamily: 	'006600',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'85',
				graphicsetId: 	'104',
				contentColor: 	'006633',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'176B03',
				b_color: 		'669900',
				c_color: 		'000000',
				d_color: 		'E0EEE3',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1508',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1508',
internalId:  '7309436',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1508',
internalId:  '',
customField: '20100314-211724'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11501',
internalId:  '',
customField: '20100706-161049'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11528',
internalId:  '',
customField: '20100706-162526'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11609',
internalId:  '',
customField: '20100314-195722'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20100117-205359'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64401',
internalId:  '',
customField: '20091117-151301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20090618-222520'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11582',
internalId:  '',
customField: '20091028-230423'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14601',
internalId:  '',
customField: '20080303-105831'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13301',
internalId:  '',
customField: '20091028-115658'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20091022-160807'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20100604-105901'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38801',
internalId:  '',
customField: '20100314-205353'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20080229-153502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35722',
internalId:  '',
customField: '20080228-181735'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37201',
internalId:  '',
customField: '20080229-130605'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37601',
internalId:  '',
customField: '20080228-180956'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41622',
internalId:  '',
customField: '20080229-154315'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79101',
internalId:  '',
customField: '20091028-223011'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '79506',
internalId:  '79506aam010in37vx',
customField: 'action=form&icq=false'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44201',
internalId:  '',
customField: '20091028-115601'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46401',
internalId:  '',
customField: '20080304-154956'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49401',
internalId:  '',
customField: '20100305-101620'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52901',
internalId:  '',
customField: '20081117-112653'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66301',
internalId:  '',
customField: '20091028-133841'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '56901',
internalId:  'location',
customField: 'language:en;country:GB;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56901',
internalId:  '',
customField: '20100706-164912'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61101',
internalId:  '',
customField: '20090429-141440'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73301',
internalId:  '',
customField: '20090922-130843'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '79501',
internalId:  '79506aam010in37vx',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66322',
internalId:  '',
customField: '20090619-133605'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79506',
internalId:  '',
customField: '20091028-221542'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '79101',
internalId:  'aam010in37vx1249a7b3050',
customField: 'en:GB:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79501',
internalId:  '',
customField: '20091028-221408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '92001',
internalId:  '',
customField: '20100314-195503'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93901',
internalId:  '',
customField: '20100314-212034'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN37VX';
var companyName   = 'Peter+Jarman+%26+Company+-+Probiz';
var htmlTitle	  = 'PROBIZ+Peter+Jarman+Accountants+-+FREE+QUOTES+-+FIXED+FEES+-TAX+SAVING+-ACCA+qualified+accountant+in+Shoreham+by+sea+-+Brighton+-+Lancing+-+Worthing+-+Sussex';
var metaKeywords  = 'Accountants%2C+Shoreham+by+sea%2C+Shoreham%2C+shoreham%2C+shoreham-by-sea%2C+accounting%2C+ACCOUNTANTS%2C+acountants%2C+accountant%2C+Brighton%2C+brighton%2C+sussex%2C+Worthing%2C+lancing%2C+Hove%2C+hove%2C+tax%2C+accounts%2C+brighton+and+hove%2C+Sussex%2C+SUSSEX%2C+east+sussex%2C+west+sussex%2C+adur%2C+Adur%2C+kayvan+khoroosi%2C+steve+brunt%2C+selda+thorpe%2C+accountant+in%2C+in%2C+in+sussex%2C+in+shoreham%2C+SHOREHAM+BY+SEA%2C+sussex+area%2C+jobs%2C+job%2C+career%2C+vacancy%2C+recruitment%2C+tax%2C+tax+help%2C+financial%2C+accounting+practice%2C+vat%2C+elephant%2C+stilts%2C+tax+saving%2C+tax+strategy%2C+Probiz%2C+feisal%2C+Pro+biz%2C+nahaboo%2C+feisal%2C+Carpenter+Box%2C+Spofforths%2C+';
var metaContents  = 'Peter+Jarman+Accountants+-+accountant%2C+Shoreham+by+sea%2C+Brighton%2C+Worthing%2C+Sussex+area.+ACCA+qualified+professional+and+friendly+service.+Tax+saving%2C+Probiz%2C+Pro+Biz%2C+Accountax%2C+Feisal+Nahaboo+';
					                                                                    
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 */					                                                            
