/* [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 POS_TARGET=8;
var theSitetree=[ 
	['PAGE','5101',jdecode('Home'),jdecode(''),'/5101/index.html','true',[ 
		['PAGE','13901',jdecode('Products%2FLine+Sheet'),jdecode(''),'/5101/13901.html','false',[],'',''],
		['PAGE','35301',jdecode('Safety+Eyewear'),jdecode(''),'/5101/35301.html','true',[],'',''],
		['PAGE','156112',jdecode('Safety+Vests'),jdecode(''),'/5101/156112.html','true',[],'',''],
		['PAGE','157612',jdecode('Protective+Gloves'),jdecode(''),'/5101/157612.html','true',[],'',''],
		['PAGE','165112',jdecode('New+Items%21+SAS+Safety'),jdecode(''),'/5101/165112.html','true',[],'',''],
		['PAGE','156912',jdecode('Abrasives'),jdecode(''),'/5101/156912.html','true',[],'',''],
		['PAGE','159212',jdecode('Electrical'),jdecode(''),'/5101/159212.html','true',[],'',''],
		['PAGE','163112',jdecode('Hand+%26+Air+Tools'),jdecode(''),'/5101/163112.html','false',[],'',''],
		['PAGE','156712',jdecode('Reqest+A+Quote'),jdecode(''),'/5101/156712.html','true',[],'',''],
		['PAGE','160512',jdecode('Order+Form'),jdecode(''),'/5101/160512.html','true',[],'','']
	],'',''],
	['PAGE','165912',jdecode('Special+Promotional+Sale%21'),jdecode(''),'/165912.html','true',[],'',''],
	['PAGE','163612',jdecode('Product+Line+Sheet+-+New%21'),jdecode(''),'/163612.html','true',[],'',''],
	['PAGE','22601',jdecode('Certifications'),jdecode(''),'/22601.html','true',[],'',''],
	['PAGE','170334',jdecode('Weekly+Promotion'),jdecode(''),'/170334.html','true',[],'',''],
	['PAGE','13501',jdecode('Shipping+%26+Returns'),jdecode(''),'/13501.html','true',[],'',''],
	['PAGE','9401',jdecode('Contact+Us'),jdecode(''),'/9401.html','true',[],'',''],
	['PAGE','205534',jdecode('New+Customer+Credit+Application'),jdecode(''),'/205534.html','true',[],'',''],
	['PAGE','202834',jdecode('How+To+Use+The+Site'),jdecode(''),'/202834.html','true',[],'',''],
	['PAGE','10001',jdecode('APComPower'),jdecode(''),'/10001/index.html','true',[ 
		['PAGE','11001',jdecode('Cut+Off+Wheels'),jdecode(''),'/10001/11001.html','true',[],'',''],
		['PAGE','11401',jdecode('Electrical'),jdecode(''),'/10001/11401.html','true',[],'',''],
		['PAGE','14101',jdecode('Flap+Discs'),jdecode(''),'/10001/14101.html','true',[],'',''],
		['PAGE','14122',jdecode('Flap+Wheels'),jdecode(''),'/10001/14122.html','true',[],'',''],
		['PAGE','14401',jdecode('Grinding+Wheels'),jdecode(''),'/10001/14401.html','true',[],'',''],
		['PAGE','14422',jdecode('Miscellaneous'),jdecode(''),'/10001/14422.html','true',[],'',''],
		['PAGE','14443',jdecode('PFERD+Advance'),jdecode(''),'/10001/14443.html','true',[],'',''],
		['PAGE','14464',jdecode('Safety+Equiipment'),jdecode(''),'/10001/14464.html','true',[],'',''],
		['PAGE','14485',jdecode('Saw+Blades'),jdecode(''),'/10001/14485.html','true',[],'',''],
		['PAGE','14506',jdecode('Tools+-+Hand%2FAir'),jdecode(''),'/10001/14506.html','true',[],'','']
	],'',''],
	['PAGE','62601',jdecode('Clark-Ullman'),jdecode(''),'/62601/index.html','false',[ 
		['PAGE','62622',jdecode('Cut+Off+Wheels'),jdecode(''),'/62601/62622.html','true',[],'',''],
		['PAGE','62643',jdecode('Electrical'),jdecode(''),'/62601/62643.html','true',[],'',''],
		['PAGE','62664',jdecode('Flap+Discs'),jdecode(''),'/62601/62664.html','true',[],'',''],
		['PAGE','67101',jdecode('Flap+Wheels'),jdecode(''),'/62601/67101.html','true',[],'',''],
		['PAGE','62685',jdecode('Grinding+Wheels'),jdecode(''),'/62601/62685.html','true',[],'',''],
		['PAGE','62706',jdecode('Miscellaneous'),jdecode(''),'/62601/62706.html','true',[],'',''],
		['PAGE','62727',jdecode('PFERD+Advance'),jdecode(''),'/62601/62727.html','true',[],'',''],
		['PAGE','62748',jdecode('Safety+Equipment'),jdecode(''),'/62601/62748.html','true',[],'',''],
		['PAGE','62769',jdecode('Saw+Blades'),jdecode(''),'/62601/62769.html','true',[],'',''],
		['PAGE','62790',jdecode('Tools+-+Hand%2FAir'),jdecode(''),'/62601/62790.html','true',[],'','']
	],'',''],
	['PAGE','62811',jdecode('Industra+Service'),jdecode(''),'/62811/index.html','false',[ 
		['PAGE','94601',jdecode('Cut+Off+Wheels'),jdecode(''),'/62811/94601.html','true',[],'',''],
		['PAGE','94622',jdecode('Electrica'),jdecode(''),'/62811/94622.html','true',[],'',''],
		['PAGE','94643',jdecode('Flap+Discs'),jdecode(''),'/62811/94643.html','true',[],'',''],
		['PAGE','94664',jdecode('Flap+Wheels'),jdecode(''),'/62811/94664.html','true',[],'',''],
		['PAGE','94685',jdecode('Grinding+Wheels'),jdecode(''),'/62811/94685.html','true',[],'',''],
		['PAGE','94706',jdecode('Miscellaneous'),jdecode(''),'/62811/94706.html','true',[],'',''],
		['PAGE','94727',jdecode('PFERD+Advance'),jdecode(''),'/62811/94727.html','true',[],'',''],
		['PAGE','94748',jdecode('Safety+Equipment'),jdecode(''),'/62811/94748.html','true',[],'',''],
		['PAGE','94769',jdecode('Saw+Blades'),jdecode(''),'/62811/94769.html','true',[],'',''],
		['PAGE','94790',jdecode('Tools+-+Hand%2FAir'),jdecode(''),'/62811/94790.html','true',[],'','']
	],'',''],
	['PAGE','78601',jdecode('Enerfab%2C+Inc'),jdecode(''),'/78601/index.html','false',[ 
		['PAGE','82501',jdecode('Cut+Off+Wheels'),jdecode(''),'/78601/82501.html','true',[],'',''],
		['PAGE','82901',jdecode('Electrical'),jdecode(''),'/78601/82901.html','true',[],'',''],
		['PAGE','82922',jdecode('Flap+Discs'),jdecode(''),'/78601/82922.html','true',[],'',''],
		['PAGE','82943',jdecode('Fap+Wheels'),jdecode(''),'/78601/82943.html','true',[],'',''],
		['PAGE','82964',jdecode('Grinding+Wheels'),jdecode(''),'/78601/82964.html','true',[],'',''],
		['PAGE','82985',jdecode('Miscellaneous'),jdecode(''),'/78601/82985.html','true',[],'',''],
		['PAGE','83006',jdecode('PFERD+Advance'),jdecode(''),'/78601/83006.html','true',[],'',''],
		['PAGE','83027',jdecode('Safety+Equipment'),jdecode(''),'/78601/83027.html','true',[],'',''],
		['PAGE','83048',jdecode('Saw+Blades'),jdecode(''),'/78601/83048.html','true',[],'',''],
		['PAGE','83069',jdecode('Tools+-+Hand%2FAir'),jdecode(''),'/78601/83069.html','true',[],'','']
	],'',''],
	['PAGE','101201',jdecode('Plibrico+Company'),jdecode(''),'/101201/index.html','false',[ 
		['PAGE','101222',jdecode('Cut+Off+Wheels'),jdecode(''),'/101201/101222.html','true',[],'',''],
		['PAGE','101243',jdecode('Electrical'),jdecode(''),'/101201/101243.html','true',[],'',''],
		['PAGE','101264',jdecode('Flap+Discs'),jdecode(''),'/101201/101264.html','true',[],'',''],
		['PAGE','101285',jdecode('Flap+Wheels'),jdecode(''),'/101201/101285.html','true',[],'',''],
		['PAGE','101306',jdecode('Grinding+Wheels'),jdecode(''),'/101201/101306.html','true',[],'',''],
		['PAGE','101327',jdecode('Miscellaneous'),jdecode(''),'/101201/101327.html','true',[],'',''],
		['PAGE','101348',jdecode('PFERD+Advance'),jdecode(''),'/101201/101348.html','true',[],'',''],
		['PAGE','101369',jdecode('Safety+Equipment'),jdecode(''),'/101201/101369.html','true',[],'',''],
		['PAGE','101390',jdecode('Saw+Blades'),jdecode(''),'/101201/101390.html','true',[],'',''],
		['PAGE','101411',jdecode('Tools+-+Hand%2FAir'),jdecode(''),'/101201/101411.html','true',[],'','']
	],'',''],
	['PAGE','110801',jdecode('Greer+Tank+Co.'),jdecode(''),'/110801/index.html','false',[ 
		['PAGE','112701',jdecode('Items+Bought+by+Greer+Tank'),jdecode(''),'/110801/112701.html','true',[],'','']
	],'',''],
	['PAGE','112722',jdecode('Alpine+Fixtures'),jdecode(''),'/112722/index.html','false',[ 
		['PAGE','112743',jdecode('Items+Bought+by+Alpine'),jdecode(''),'/112722/112743.html','true',[],'','']
	],'',''],
	['PAGE','116801',jdecode('Farmer%26%23x27%3Bs+Copper+Marine+'),jdecode(''),'/116801/index.html','false',[ 
		['PAGE','118701',jdecode('Items+Bought+by+Farmers'),jdecode(''),'/116801/118701.html','true',[],'','']
	],'',''],
	['PAGE','138522',jdecode('API+Construction'),jdecode(''),'/138522/index.html','true',[ 
		['PAGE','145312',jdecode('Cut+Off+Wheels'),jdecode(''),'/138522/145312.html','true',[],'',''],
		['PAGE','145333',jdecode('Electrical'),jdecode(''),'/138522/145333.html','true',[],'',''],
		['PAGE','145354',jdecode('Flap+Discs'),jdecode(''),'/138522/145354.html','true',[],'',''],
		['PAGE','145375',jdecode('Flap+Wheels'),jdecode(''),'/138522/145375.html','true',[],'',''],
		['PAGE','145396',jdecode('Grinding+Wheels'),jdecode(''),'/138522/145396.html','true',[],'',''],
		['PAGE','145417',jdecode('Miscellaneous'),jdecode(''),'/138522/145417.html','true',[],'',''],
		['PAGE','145438',jdecode('PFED+Advance'),jdecode(''),'/138522/145438.html','true',[],'',''],
		['PAGE','138501',jdecode('Safety+Glasses+%26+Equipment'),jdecode(''),'/138522/138501.html','true',[],'',''],
		['PAGE','145459',jdecode('Saw+Blades'),jdecode(''),'/138522/145459.html','true',[],'',''],
		['PAGE','145480',jdecode('Tools+Hand%2FAir'),jdecode(''),'/138522/145480.html','true',[],'','']
	],'',''],
	['PAGE','205555',jdecode('New+Customer+Credit+Application'),jdecode(''),'/205555.html','true',[],'','']];
var siteelementCount=92;
theSitetree.topTemplateName='Dots';
theSitetree.paletteFamily='E7E9D5';
theSitetree.keyvisualId='407';
theSitetree.keyvisualName='handschlag1.jpg';
theSitetree.fontsetId='43';
theSitetree.graphicsetId='49';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E7E9D5';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dots',
				paletteFamily: 	'E7E9D5',
				keyvisualId: 	'407',
				keyvisualName: 	'handschlag1.jpg',
				fontsetId: 		'43',
				graphicsetId: 	'49',
				contentColor: 	'000000',
				contentBGColor: 'E7E9D5',
				a_color: 		'E7E9D5',
				b_color: 		'CCCCCC',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5101',
internalId:  '',
customField: '20110221-190404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157612',
internalId:  '',
customField: '20100809-152656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9401',
internalId:  '',
customField: '20100816-181941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10001',
internalId:  '',
customField: '20100118-001538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11001',
internalId:  '',
customField: '20100117-223650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11401',
internalId:  '',
customField: '20100117-224613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13501',
internalId:  '',
customField: '20080429-132513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13901',
internalId:  '',
customField: '20090909-000832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20100117-224211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14122',
internalId:  '',
customField: '20100117-224941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14401',
internalId:  '',
customField: '20100117-225241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14422',
internalId:  '',
customField: '20100117-225444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14443',
internalId:  '',
customField: '20100117-225648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14464',
internalId:  '',
customField: '20100117-225827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14485',
internalId:  '',
customField: '20100117-230002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14506',
internalId:  '',
customField: '20100117-230209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35301',
internalId:  '',
customField: '20110221-183744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22601',
internalId:  '',
customField: '20100510-144442'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62601',
internalId:  '',
customField: '20080430-153132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62622',
internalId:  '',
customField: '20090120-225938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62643',
internalId:  '',
customField: '20090120-230532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62664',
internalId:  '',
customField: '20080422-152228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62685',
internalId:  '',
customField: '20090120-231724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62706',
internalId:  '',
customField: '20090120-232007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62727',
internalId:  '',
customField: '20090120-232928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62748',
internalId:  '',
customField: '20090121-000147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62769',
internalId:  '',
customField: '20090121-001819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62790',
internalId:  '',
customField: '20090121-011013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62811',
internalId:  '',
customField: '20080512-163009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67101',
internalId:  '',
customField: '20090120-230837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78601',
internalId:  '',
customField: '20080610-105126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82501',
internalId:  '',
customField: '20080512-160237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82901',
internalId:  '',
customField: '20080507-170712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82922',
internalId:  '',
customField: '20080507-170922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82943',
internalId:  '',
customField: '20080507-172303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82964',
internalId:  '',
customField: '20080507-174726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82985',
internalId:  '',
customField: '20080507-180804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83006',
internalId:  '',
customField: '20080512-131659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83027',
internalId:  '',
customField: '20080613-021140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83048',
internalId:  '',
customField: '20080513-143737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83069',
internalId:  '',
customField: '20080516-125914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94601',
internalId:  '',
customField: '20090122-001027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94622',
internalId:  '',
customField: '20090122-002138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94643',
internalId:  '',
customField: '20080512-173955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94664',
internalId:  '',
customField: '20090122-002401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94685',
internalId:  '',
customField: '20090122-002932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94706',
internalId:  '',
customField: '20090122-003203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94727',
internalId:  '',
customField: '20080515-134745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94748',
internalId:  '',
customField: '20080513-142936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94769',
internalId:  '',
customField: '20080514-135838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94790',
internalId:  '',
customField: '20080516-124541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101201',
internalId:  '',
customField: '20080516-141745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101222',
internalId:  '',
customField: '20080520-001034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101243',
internalId:  '',
customField: '20080520-004104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101264',
internalId:  '',
customField: '20080520-004245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101285',
internalId:  '',
customField: '20080520-005219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101306',
internalId:  '',
customField: '20080520-011247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101327',
internalId:  '',
customField: '20080520-012115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101348',
internalId:  '',
customField: '20080520-015829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101369',
internalId:  '',
customField: '20090309-132421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101390',
internalId:  '',
customField: '20080522-004146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101411',
internalId:  '',
customField: '20080522-010934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110801',
internalId:  '',
customField: '20080813-030155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112701',
internalId:  '',
customField: '20090122-000502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112722',
internalId:  '',
customField: '20080611-103033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112743',
internalId:  '',
customField: '20090122-000045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116801',
internalId:  '',
customField: '20080811-153934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118701',
internalId:  '',
customField: '20090511-162945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145438',
internalId:  '',
customField: '20090909-004502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138501',
internalId:  '',
customField: '20091005-155028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138522',
internalId:  '',
customField: '20090908-233521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145312',
internalId:  '',
customField: '20090907-125029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145333',
internalId:  '',
customField: '20090907-132844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145354',
internalId:  '',
customField: '20090907-133812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145375',
internalId:  '',
customField: '20090907-135241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145396',
internalId:  '',
customField: '20090907-143739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145417',
internalId:  '',
customField: '20090907-144448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145459',
internalId:  '',
customField: '20090907-121733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145480',
internalId:  '',
customField: '20090907-121733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156112',
internalId:  '',
customField: '20110221-193459'
};
webappMappings['7008']=webappMappings['7008-24603']={
webappId:    '7008',
documentId:  '156712',
internalId:  '24603',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156712',
internalId:  '',
customField: '20100117-232454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156912',
internalId:  '',
customField: '20100816-181512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159212',
internalId:  '',
customField: '20100809-152726'
};
webappMappings['7008']=webappMappings['7008-25008']={
webappId:    '7008',
documentId:  '160512',
internalId:  '25008',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '205555',
internalId:  '',
customField: '20110221-195124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '205534',
internalId:  '',
customField: '20110221-195124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160512',
internalId:  '',
customField: '20100117-235857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163112',
internalId:  '',
customField: '20100121-035941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163612',
internalId:  '',
customField: '20100217-005527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165112',
internalId:  '',
customField: '20100809-152712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165912',
internalId:  '',
customField: '20100607-172953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '170334',
internalId:  '',
customField: '20100621-152727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202834',
internalId:  '',
customField: '20100809-174950'
};
webappMappings['7008']=webappMappings['7008-34167']={
webappId:    '7008',
documentId:  '205534',
internalId:  '34167',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-34168']={
webappId:    '7008',
documentId:  '205555',
internalId:  '34168',
customField: 'language:en;country:US;'
};
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0IN24T6';
var companyName   = 'ON+TIME%2C+LTD+%28800%29+848-6604++';
var htmlTitle	  = 'On+Time%2C+Ltd+%28800%29+848-6604';
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();
};

