/* [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','7701',jdecode('Home'),jdecode(''),'/7701/index.html','true',[ 
		['PAGE','7794',jdecode('Locations'),jdecode(''),'/7701/7794.html','true',[],''],
		['PAGE','8601',jdecode('History'),jdecode(''),'/7701/8601.html','true',[],'']
	],''],
	['PAGE','62834',jdecode('NEWS+'),jdecode(''),'/62834.html','true',[],''],
	['PAGE','8801',jdecode('Online+Certificate'),jdecode(''),'/8801/index.html','true',[ 
		['PAGE','15801',jdecode('Req+Cert+Access+'),jdecode(''),'/8801/15801.html','true',[],''],
		['PAGE','16301',jdecode('Cert+Directions'),jdecode(''),'/8801/16301.html','true',[],'']
	],''],
	['PAGE','52234',jdecode('Pay+Online'),jdecode(''),'/52234.html','true',[],''],
	['PAGE','58734',jdecode('Step+One+Slideshow+'),jdecode(''),'/58734.html','false',[],''],
	['PAGE','58755',jdecode('Step+Two+Slideshow'),jdecode(''),'/58755.html','false',[],''],
	['PAGE','58776',jdecode('Step+Three+Slideshow'),jdecode(''),'/58776.html','false',[],''],
	['PAGE','7773',jdecode('Services'),jdecode(''),'/7773.html','true',[],''],
	['PAGE','15401',jdecode('Quote+Application'),jdecode(''),'/15401.html','true',[],''],
	['PAGE','8643',jdecode('Meet+the+Team'),jdecode(''),'/8643/index.html','true',[ 
		['PAGE','12901',jdecode('Georgia'),jdecode(''),'/8643/12901.html','true',[],''],
		['PAGE','14522',jdecode('Florida'),jdecode(''),'/8643/14522.html','true',[],''],
		['PAGE','14543',jdecode('North+Carolina'),jdecode(''),'/8643/14543.html','true',[],''],
		['PAGE','14564',jdecode('South+Carolina'),jdecode(''),'/8643/14564.html','true',[],'']
	],''],
	['PAGE','17301',jdecode('Frank+Parker'),jdecode(''),'/17301.html','false',[],''],
	['PAGE','18101',jdecode('David+Benton+'),jdecode(''),'/18101.html','false',[],''],
	['PAGE','40701',jdecode('Amy+Manguiran+'),jdecode(''),'/40701.html','false',[],''],
	['PAGE','18122',jdecode('Ken+Burnette+'),jdecode(''),'/18122.html','false',[],''],
	['PAGE','40722',jdecode('Shelley+Puckett+'),jdecode(''),'/40722.html','false',[],''],
	['PAGE','18143',jdecode('Cindy+Latta'),jdecode(''),'/18143.html','false',[],''],
	['PAGE','40743',jdecode('Tammy+Wagoner'),jdecode(''),'/40743.html','false',[],''],
	['PAGE','18164',jdecode('Dick+Haynes'),jdecode(''),'/18164.html','false',[],''],
	['PAGE','40764',jdecode('Glenda+Gregor+'),jdecode(''),'/40764.html','false',[],''],
	['PAGE','18185',jdecode('Mike+Kennelly+'),jdecode(''),'/18185.html','false',[],''],
	['PAGE','40785',jdecode('Judy+Knight+'),jdecode(''),'/40785.html','false',[],''],
	['PAGE','18206',jdecode('Scarlette+Scarborough'),jdecode(''),'/18206.html','false',[],''],
	['PAGE','18227',jdecode('Asst+CSR%26%23x27%3Bs'),jdecode(''),'/18227.html','false',[],''],
	['PAGE','18248',jdecode('Accounting+Dept.+'),jdecode(''),'/18248.html','false',[],''],
	['PAGE','18269',jdecode('Support+Staff+'),jdecode(''),'/18269.html','false',[],''],
	['PAGE','18290',jdecode('Traci+Gunston+'),jdecode(''),'/18290.html','false',[],''],
	['PAGE','86534',jdecode('Thomas+Louie+'),jdecode(''),'/86534.html','false',[],''],
	['PAGE','21601',jdecode('Carlos+Duprey+'),jdecode(''),'/21601.html','false',[],''],
	['PAGE','40827',jdecode('Heidi+Sanchez+'),jdecode(''),'/40827.html','false',[],''],
	['PAGE','21622',jdecode('Andy+Newson+'),jdecode(''),'/21622.html','false',[],''],
	['PAGE','21685',jdecode('Amy+Burnard+'),jdecode(''),'/21685.html','false',[],''],
	['PAGE','24101',jdecode('Bonnie+McKinney'),jdecode(''),'/24101.html','false',[],''],
	['PAGE','40869',jdecode('Krystal+Slowe+'),jdecode(''),'/40869.html','false',[],''],
	['PAGE','40890',jdecode('Lindsey+Ledford'),jdecode(''),'/40890.html','false',[],''],
	['PAGE','24122',jdecode('Frank+Sharp+'),jdecode(''),'/24122.html','false',[],''],
	['PAGE','40911',jdecode('Lauren+Brashier'),jdecode(''),'/40911.html','false',[],''],
	['PAGE','67434',jdecode('Kristin+Franklin+'),jdecode(''),'/67434.html','false',[],''],
	['PAGE','24143',jdecode('John+Hartlieb'),jdecode(''),'/24143.html','false',[],''],
	['PAGE','24164',jdecode('Evelyn+Siverson+'),jdecode(''),'/24164.html','false',[],''],
	['PAGE','24185',jdecode('Judy+Davis+'),jdecode(''),'/24185.html','false',[],''],
	['PAGE','40953',jdecode('Ann+Fancher+'),jdecode(''),'/40953.html','false',[],''],
	['PAGE','70134',jdecode('Safety+%26+Compliance'),jdecode(''),'/70134/index.html','true',[ 
		['PAGE','84634',jdecode('Safety+%26+Compliance+FAQ'),jdecode(''),'/70134/84634.html','true',[],'']
	],''],
	['PAGE','8664',jdecode('Privacy+Statement'),jdecode(''),'/8664.html','true',[],''],
	['PAGE','28701',jdecode('Three+Wishes+'),jdecode(''),'/28701.html','false',[],''],
	['PAGE','30822',jdecode('Truck+Pics+'),jdecode(''),'/30822.html','true',[],''],
	['PAGE','30801',jdecode('Road+Conditions+%26+Alerts'),jdecode(''),'/30801/index.html','true',[ 
		['PAGE','85834',jdecode('Diesel+Fuel+Finder'),jdecode(''),'/30801/85834.html','true',[],''],
		['PAGE','7836',jdecode('Industry+Links'),jdecode(''),'/30801/7836.html','true',[],'']
	],''],
	['PAGE','35001',jdecode('Jobs'),jdecode(''),'/35001.html','false',[],'']];
var siteelementCount=58;
theSitetree.topTemplateName='Champagne';
theSitetree.paletteFamily='426388';
theSitetree.keyvisualId='11358';
theSitetree.keyvisualName='kv_11358.jpg';
theSitetree.fontsetId='31944';
theSitetree.graphicsetId='13786';
theSitetree.contentColor='152D47';
theSitetree.contentBGColor='426388';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Champagne',
				paletteFamily: 	'426388',
				keyvisualId: 	'11358',
				keyvisualName: 	'kv_11358.jpg',
				fontsetId: 		'31944',
				graphicsetId: 	'13786',
				contentColor: 	'152D47',
				contentBGColor: '426388',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7701',
internalId:  '',
customField: '20100309-142906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8801',
internalId:  '',
customField: '20100309-145919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7773',
internalId:  '',
customField: '20100203-164611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8601',
internalId:  '',
customField: '20100205-130139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7794',
internalId:  '',
customField: '20100203-164726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12901',
internalId:  '',
customField: '20090813-110219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8643',
internalId:  '',
customField: '20090306-170646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7836',
internalId:  '',
customField: '20100203-170415'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '7701',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-12577374']={
webappId:    '1501',
documentId:  '7701',
internalId:  '12577374',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8664',
internalId:  '',
customField: '20100303-170611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14522',
internalId:  '',
customField: '20100303-170028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15401',
internalId:  '',
customField: '20100203-164740'
};
webappMappings['7008']=webappMappings['7008-9461']={
webappId:    '7008',
documentId:  '15401',
internalId:  '9461',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-9463']={
webappId:    '7008',
documentId:  '15801',
internalId:  '9463',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15801',
internalId:  '',
customField: '20090610-120542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20090610-120459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14543',
internalId:  '',
customField: '20090501-091522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14564',
internalId:  '',
customField: '20100303-170044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17301',
internalId:  '',
customField: '20100226-151008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20100226-145711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18122',
internalId:  '',
customField: '20100303-165958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18143',
internalId:  '',
customField: '20100305-121826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18164',
internalId:  '',
customField: '20100226-151354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18185',
internalId:  '',
customField: '20100301-114055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18206',
internalId:  '',
customField: '20100304-100112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18227',
internalId:  '',
customField: '20100304-100133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18248',
internalId:  '',
customField: '20100305-120249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18269',
internalId:  '',
customField: '20100303-170602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18290',
internalId:  '',
customField: '20100223-113936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21601',
internalId:  '',
customField: '20100301-114529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21622',
internalId:  '',
customField: '20100305-113831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40701',
internalId:  '',
customField: '20100308-152741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40953',
internalId:  '',
customField: '20100225-093234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21685',
internalId:  '',
customField: '20100301-114737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24101',
internalId:  '',
customField: '20100301-114953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24122',
internalId:  '',
customField: '20100301-115347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24143',
internalId:  '',
customField: '20100308-152424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24185',
internalId:  '',
customField: '20100301-115527'
};
webappMappings['7008']=webappMappings['7008-9858']={
webappId:    '7008',
documentId:  '28701',
internalId:  '9858',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20081022-100227'
};
webappMappings['7050']=webappMappings['7050-15108']={
webappId:    '7050',
documentId:  '84634',
internalId:  '15108',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-a823d398f10fbe722007f0ee104d1b14']={
webappId:    '7060',
documentId:  '30822',
internalId:  'a823d398f10fbe722007f0ee104d1b14',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30801',
internalId:  '',
customField: '20100218-124854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30822',
internalId:  '',
customField: '20100212-113547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40722',
internalId:  '',
customField: '20100301-114041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40743',
internalId:  '',
customField: '20100308-085112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24164',
internalId:  '',
customField: '20100301-115502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40764',
internalId:  '',
customField: '20100308-152449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40785',
internalId:  '',
customField: '20100305-165432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40827',
internalId:  '',
customField: '20100301-114604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86534',
internalId:  '',
customField: '20100223-114558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40869',
internalId:  '',
customField: '20100301-115310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40890',
internalId:  '',
customField: '20100301-115325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40911',
internalId:  '',
customField: '20100301-115358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70134',
internalId:  '',
customField: '20100215-110758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35001',
internalId:  '',
customField: '20081120-150727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52234',
internalId:  '',
customField: '20100212-114238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58734',
internalId:  '',
customField: '20090515-162858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58755',
internalId:  '',
customField: '20090515-164358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58776',
internalId:  '',
customField: '20090515-162817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62834',
internalId:  '',
customField: '20100309-144900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67434',
internalId:  '',
customField: '20100301-115416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84634',
internalId:  '',
customField: '20100215-090458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85834',
internalId:  '',
customField: '20100218-125514'
};
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0IN2AAA';
var companyName   = 'Benton+%26+Parker+Company+Inc.+';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
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) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	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();
};
