/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','2401',jdecode('Home'),jdecode(''),'/2401.html','true',[],''],
	['PAGE','2452',jdecode('Services'),jdecode(''),'/2452/index.html','true',[ 
		['PAGE','2473',jdecode('Environmental'),jdecode(''),'/2452/2473.html','true',[],''],
		['PAGE','2494',jdecode('Landscape'),jdecode(''),'/2452/2494.html','true',[],''],
		['PAGE','2515',jdecode('Concrete+'),jdecode(''),'/2452/2515.html','true',[],''],
		['PAGE','29843',jdecode('Thermal+Imaging'),jdecode(''),'/2452/29843.html','true',[],'']
	],''],
	['PAGE','29852',jdecode('Photo+Gallery'),jdecode(''),'/29852/index.html','true',[ 
		['PAGE','26401',jdecode('Concrete+'),jdecode(''),'/29852/26401.html','true',[],''],
		['PAGE','30148',jdecode('Landscape+'),jdecode(''),'/29852/30148.html','true',[],''],
		['PAGE','30009',jdecode('Thermal+Imaging'),jdecode(''),'/29852/30009.html','true',[],'']
	],''],
	['PAGE','2578',jdecode('Contact'),jdecode(''),'/2578/index.html','true',[ 
		['PAGE','2599',jdecode('Adresses%2FHours'),jdecode(''),'/2578/2599.html','true',[],''],
		['PAGE','2620',jdecode('How+to+find+us'),jdecode(''),'/2578/2620.html','true',[],'']
	],''],
	['PAGE','7301',jdecode('Map'),jdecode(''),'/7301.html','true',[],''],
	['PAGE','8022',jdecode('About+us'),jdecode(''),'/8022.html','true',[],''],
	['PAGE','30018',jdecode('Products'),jdecode(''),'/30018.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='5E5E5E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10448';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='5e5e5e';
var theTemplate={
				name: 			'Akropolis',
				paletteFamily: 	'5E5E5E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10448',
				contentColor: 	'FFFFFF',
				contentBGColor: '5e5e5e',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'5E5E5E',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '7301',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2401',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-d67eba301b299944b5083a5f43edc24e']={
webappId:    '7060',
documentId:  '26401',
internalId:  'd67eba301b299944b5083a5f43edc24e',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-8c5878f589ceef6dd1890ff21e61732a']={
webappId:    '7060',
documentId:  '30148',
internalId:  '8c5878f589ceef6dd1890ff21e61732a',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-444183093f4dedfb5922f59e6d66a846']={
webappId:    '7060',
documentId:  '30148',
internalId:  '444183093f4dedfb5922f59e6d66a846',
customField: 'language:en;country:US;'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INE6L9';
var companyName   = 'Gerald+Taylor+Company%2C+Inc.';
var htmlTitle	  = 'Taylors...your+landscape%2C+environmental+services%2C+and+concrete+needs';
var metaKeywords  = 'Concrete%2C+mulch%2C+stone%2C+landscape%2C+septic%2C+environmental+services%2C+WVU%2C';
var metaContents  = 'We+provide+environmental+services+for+many+companies+in+the+surrounding+states.++We+also+have+a+selection+of+landscape+materials+and+products+for+p%2Fu+or+delivery.++Our+concrete+division+can+supply+on-site+concrete+or+materials+as+well+as+many+other+architectural+or+garden+products.++We+are+officially+licensed+for+WVU+products.';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            

