/* [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','32',jdecode('Home'),jdecode(''),'/32.html','true',[],''],
	['PAGE','53',jdecode('About+us'),jdecode(''),'/53/index.html','true',[ 
		['PAGE','62',jdecode('The+team'),jdecode(''),'/53/62.html','true',[],'']
	],''],
	['PAGE','71',jdecode('Products'),jdecode(''),'/insurance-products.html','true',[],''],
	['PAGE','107',jdecode('Contact+us'),jdecode(''),'/107/index.html','true',[ 
		['PAGE','2709',jdecode('Quote-Contact+Form'),jdecode(''),'/107/online/index.html','true',[ 
			['PAGE','2771',jdecode('Contact+Form+%28follow+up+page%29'),jdecode(''),'/107/online/2771.html','false',[],'']
		],''],
		['PAGE','6262',jdecode('Phone+Quote'),jdecode(''),'/107/phone-quote.html','true',[],'']
	],''],
	['PAGE','125',jdecode('How+to+find+us'),jdecode(''),'/125/index.html','true',[ 
		['PAGE','1604',jdecode('Map'),jdecode(''),'/125/whiteplains-ny.html','true',[],'']
	],''],
	['PAGE','3865',jdecode('Our+Companies'),jdecode(''),'/3865.html','true',[],''],
	['PAGE','2070',jdecode('Forums+%26+Mailings'),jdecode(''),'/2070/index.html','true',[ 
		['PAGE','4208',jdecode('Spam+%26+Privacy+Policies'),jdecode(''),'/2070/4208.html','true',[],''],
		['PAGE','4288',jdecode('Forum+Statement+of+use'),jdecode(''),'/2070/4288.html','true',[],''],
		['PAGE','5548',jdecode('Insurance+Terminology'),jdecode(''),'/2070/insurance-terms.html','true',[],'']
	],''],
	['PAGE','3375',jdecode('Splash+Pages'),jdecode(''),'/online-quotes/index.html','true',[ 
		['PAGE','3612',jdecode('Ad+General'),jdecode(''),'/online-quotes/insurance-agent.html','true',[],''],
		['PAGE','3393',jdecode('Ad+Construction'),jdecode(''),'/online-quotes/construction-bonds.html','true',[],''],
		['PAGE','7370',jdecode('Ad+Contractor'),jdecode(''),'/online-quotes/newyork-contractor-bonds.html','true',[],''],
		['PAGE','3402',jdecode('Ad+Building+Owners'),jdecode(''),'/online-quotes/landlord-insurance.html','true',[],''],
		['PAGE','3384',jdecode('Ad+Business'),jdecode(''),'/online-quotes/business-insurance.html','true',[],''],
		['PAGE','3667',jdecode('Ad+Our+Companies'),jdecode(''),'/online-quotes/insurance-companies.html','true',[],''],
		['PAGE','3668',jdecode('Ad+Auto'),jdecode(''),'/online-quotes/auto-insurance.html','true',[],''],
		['PAGE','7476',jdecode('Ad+Homeower'),jdecode(''),'/online-quotes/westchester-homeowner-insurance.html','true',[],'']
	],'']];
var siteelementCount=24;
theSitetree.topTemplateName='Amaze';
theSitetree.paletteFamily='0A2447';
theSitetree.keyvisualId='2415';
theSitetree.keyvisualName='computer.jpg';
theSitetree.fontsetId='394';
theSitetree.graphicsetId='444';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='0A2447';
var theTemplate={
				name: 			'Amaze'
,				paletteFamily: 	'0A2447'
,				keyvisualId: 	'2415'
,				keyvisualName: 	'computer.jpg'
,				fontsetId: 		'394'
,				graphicsetId: 	'444'
,				contentColor: 	'FFFFFF'
,				contentBGColor: '0A2447'
,				a_color: 		'0A2447'
,				b_color: 		'081B35'
,				c_color: 		'3268E2'
,				d_color: 		'FFFFFF'
,				e_color: 		'FFFFFF'
,				f_color: 		'FFFFFF'
 			  };					                                                                    
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 */					                                                            
