/* [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','901',jdecode('Home'),jdecode(''),'/901.html','true',[],''],
	['PAGE','5401',jdecode('Our+Attorneys'),jdecode(''),'/5401.html','true',[],''],
	['PAGE','5422',jdecode('Automobile+Accidents'),jdecode(''),'/5422.html','true',[],''],
	['PAGE','36501',jdecode('Medical+Malpractice'),jdecode(''),'/36501.html','true',[],''],
	['PAGE','5485',jdecode('Product+Liability'),jdecode(''),'/5485.html','true',[],''],
	['PAGE','36522',jdecode('Hurt+by+a+Drunk+Driver'),jdecode(''),'/36522.html','true',[],''],
	['PAGE','36543',jdecode('Slip+%26+Fall'),jdecode(''),'/36543.html','true',[],''],
	['PAGE','5443',jdecode('Crime+Victim'),jdecode(''),'/5443.html','true',[],''],
	['PAGE','15122',jdecode('Sexual+Harassment'),jdecode(''),'/15122.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Dots';
theSitetree.paletteFamily='CCCC99';
theSitetree.keyvisualId='407';
theSitetree.keyvisualName='handschlag1.jpg';
theSitetree.fontsetId='44';
theSitetree.graphicsetId='47';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCC99';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dots',
				paletteFamily: 	'CCCC99',
				keyvisualId: 	'407',
				keyvisualName: 	'handschlag1.jpg',
				fontsetId: 		'44',
				graphicsetId: 	'47',
				contentColor: 	'000000',
				contentBGColor: 'CCCC99',
				a_color: 		'CCCC99',
				b_color: 		'CCCCCC',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1008']={
webappId:    '1008',
documentId:  '901',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '36543',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '36501',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5401',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5485',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '36522',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5443',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '15122',
internalId:  '11724379',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5422',
internalId:  '11724379',
customField: 'en:US:'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INPKYQ';
var companyName   = 'Buccino+Law+Office';
var htmlTitle	  = 'Buccino+Law+Office+%E2%80%93+Philadelphia+Lawyers+for+Automobile+Accidents+and+Personal+Injury';
var metaKeywords  = 'philadelphia+lawyer%2C+automobile+accidents%2C+personal+injury';
var metaContents  = 'philadelphia+lawyer';
					                                                                    
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 */					                                                            
