/* [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','12',jdecode('Home+'),jdecode(''),'/12.html','true',[],''],
	['PAGE','1014',jdecode('Practice+Philosophy'),jdecode(''),'/1014.html','true',[],''],
	['PAGE','1023',jdecode('Fields+of+Concentration'),jdecode(''),'/1023/index.html','true',[ 
		['PAGE','15331',jdecode('-+Criminal+Defense'),jdecode(''),'/1023/15331.html','true',[],''],
		['PAGE','15340',jdecode('-+Drunk+Driving'),jdecode(''),'/1023/15340.html','true',[],''],
		['PAGE','15349',jdecode('-+MVA+Hearing'),jdecode(''),'/1023/15349.html','true',[],''],
		['PAGE','15358',jdecode('-+Civil+Litigation'),jdecode(''),'/1023/15358.html','true',[],''],
		['PAGE','15186',jdecode('-+Appeals'),jdecode(''),'/1023/15186.html','true',[],''],
		['PAGE','15367',jdecode('-+Wills%2C+Estates'),jdecode(''),'/1023/15367.html','true',[],''],
		['PAGE','15376',jdecode('-+Probate'),jdecode(''),'/1023/15376.html','true',[],''],
		['PAGE','15385',jdecode('-+Guardianships'),jdecode(''),'/1023/15385.html','true',[],''],
		['PAGE','15394',jdecode('-+Small+Business'),jdecode(''),'/1023/15394.html','true',[],''],
		['PAGE','15403',jdecode('-+Corporate+Law'),jdecode(''),'/1023/15403.html','true',[],'']
	],''],
	['PAGE','1032',jdecode('Attorney+Profile'),jdecode(''),'/1032.html','true',[],''],
	['PAGE','1041',jdecode('How+to+Choose+an+Attorney'),jdecode(''),'/1041.html','true',[],''],
	['PAGE','1050',jdecode('Geographical+Areas+Served+'),jdecode(''),'/1050.html','true',[],''],
	['PAGE','1059',jdecode('Map%2FDirections'),jdecode(''),'/1059.html','true',[],''],
	['PAGE','1068',jdecode('Contact+Us'),jdecode(''),'/1068.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Collage';
theSitetree.paletteFamily='AAA769';
theSitetree.keyvisualId='2464';
theSitetree.keyvisualName='recht.jpg';
theSitetree.fontsetId='404';
theSitetree.graphicsetId='462';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Collage',
				paletteFamily: 	'AAA769',
				keyvisualId: 	'2464',
				keyvisualName: 	'recht.jpg',
				fontsetId: 		'404',
				graphicsetId: 	'462',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'AAA769',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
var canonHostname = 'diy00.oem.mlpsca02.us.diy-servers.net';
var accountId     = 'AVWHN0INXX5J';
var companyName   = 'Walter+S.+Booth+-+Attorney+at+Law+';
var htmlTitle	  = 'Walter+S.+Booth++Attorney+at+Law';
var metaKeywords  = 'Attorney%2C+Lawyer%2C+DWI%2C+DUI%2C+firearms%2C+guns%2C+rifle%2C+Court+Case%2C+Defense+Attorney%2C+Defense+Lawyer%2C+Litigation%2C+Appeals%2C+firearm+license%2C+gin+license%2C+Maryland%2C+Montgomery+county%2C+Bethesda%2C+Wheaton%2C+Silver+Spring%2C+Rockville%2C+Kensington%2C+Chevy+Chase%2C+Potomac%2C+Germantown%2C+Prince+George+County%2C+Anne+Arundel%2C+Howard%2C+Frederick+-+Calvert+County%2CCharles+County%2CCarroll+County%2C+Washington+County%2C+%2CBaltimore+County%2C++Baltimore+City%2C+Cecil+County%2C++Criminal+Defence%2C+Drunk+Driving%2C+MVA+Hearings%2C+Civil+Litigation%2C+Appeals%2C+Wills%2C+Estates%2C+Probate%2C+Guardianships%2C+Small+Business%2C+Corporate+Law++++++++++Criminal+and+Traffic+Defense%2C+Drunk+Driving%2C+Firearms%2C+Firearms+licenses%2C+Forfeiture+and+replevin+actions%2C+Alcohol-related+offenses%2C+Motor+vehicle+administration%2FTraffic+violations%2C+Drug-related+offenses%2C+Other+areas+of+criminal+representation%2C+Civil+Litigation%2C+Contracts%2C+Collections%2C+Appellate+Litigation%2C+Civil+and+Criminal+Appeals%2C+Wills%2C+Estate+and+Probate%2C+Guardianships%2C+MVA+and+Medical+Advisory+Board%2C+Business+and+Corporate+Formation++++';
var metaContents  = 'Walter+S.+Booth+is+a+Bethesda+based+law+firm+that+specializes+in+-+Criminal+Defence%2C+Drunk+Driving%2C+%2CMVA+Hearings%2C+Civil+Litigation%2C+Appeals%2C+Wills%2C+Estates++%2C+Probate%2C+Guardianships%2C+Small+Business%2C+Corporate+Law++++++++++';
					                                                                    
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 */					                                                            

