/* [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','1801',jdecode('Home'),jdecode(''),'/1801.html','true',[],''],
	['PAGE','1852',jdecode('News'),jdecode(''),'/1852.html','true',[],''],
	['PAGE','1873',jdecode('Products'),jdecode(''),'/1873/index.html','true',[ 
		['PAGE','20029',jdecode('Cabinets'),jdecode(''),'/1873/20029.html','false',[],''],
		['PAGE','57440',jdecode('Medallion'),jdecode(''),'/1873/57440.html','false',[],''],
		['PAGE','57461',jdecode('Kemper'),jdecode(''),'/1873/57461.html','false',[],''],
		['PAGE','57482',jdecode('Decora'),jdecode(''),'/1873/57482.html','false',[],''],
		['PAGE','20929',jdecode('Silverline'),jdecode(''),'/1873/20929.html','false',[],''],
		['PAGE','44640',jdecode('Slilverline+Styles'),jdecode(''),'/1873/44640.html','false',[],''],
		['PAGE','44661',jdecode('Avalon+Oak'),jdecode(''),'/1873/44661.html','false',[],''],
		['PAGE','44682',jdecode('Bayview+Oak'),jdecode(''),'/1873/44682.html','false',[],''],
		['PAGE','44703',jdecode('Bridgeport+Oak'),jdecode(''),'/1873/44703.html','false',[],''],
		['PAGE','44724',jdecode('Churchman+Oak'),jdecode(''),'/1873/44724.html','false',[],''],
		['PAGE','44745',jdecode('Cumberland+Oak'),jdecode(''),'/1873/44745.html','false',[],''],
		['PAGE','44766',jdecode('Winchester+Oak'),jdecode(''),'/1873/44766.html','false',[],''],
		['PAGE','44940',jdecode('Astoria+Maple'),jdecode(''),'/1873/44940.html','false',[],''],
		['PAGE','44961',jdecode('Avalon+Maple'),jdecode(''),'/1873/44961.html','false',[],''],
		['PAGE','44982',jdecode('Camilla+Maple'),jdecode(''),'/1873/44982.html','false',[],''],
		['PAGE','45003',jdecode('Columbia+Maple'),jdecode(''),'/1873/45003.html','false',[],''],
		['PAGE','45024',jdecode('Fenwick+Maple'),jdecode(''),'/1873/45024.html','false',[],''],
		['PAGE','45045',jdecode('Lancaster+Maple'),jdecode(''),'/1873/45045.html','false',[],''],
		['PAGE','45066',jdecode('Liberty+Maple'),jdecode(''),'/1873/45066.html','false',[],''],
		['PAGE','45087',jdecode('Winston+Maple'),jdecode(''),'/1873/45087.html','false',[],''],
		['PAGE','45440',jdecode('Avalon+Hickory'),jdecode(''),'/1873/45440.html','false',[],''],
		['PAGE','45461',jdecode('Bozeman+Hickory'),jdecode(''),'/1873/45461.html','false',[],''],
		['PAGE','45482',jdecode('Caribou+Creek+Hickory'),jdecode(''),'/1873/45482.html','false',[],''],
		['PAGE','45503',jdecode('Granite+Falls+Hickory'),jdecode(''),'/1873/45503.html','false',[],''],
		['PAGE','45524',jdecode('Saybrook+Hickory'),jdecode(''),'/1873/45524.html','false',[],''],
		['PAGE','45640',jdecode('Avalon+Cherry'),jdecode(''),'/1873/45640.html','false',[],''],
		['PAGE','45661',jdecode('Chalet+Cherry'),jdecode(''),'/1873/45661.html','false',[],''],
		['PAGE','45682',jdecode('Huntley+Cherry'),jdecode(''),'/1873/45682.html','false',[],''],
		['PAGE','45703',jdecode('McCall+Cherry'),jdecode(''),'/1873/45703.html','false',[],''],
		['PAGE','45724',jdecode('Southport+Cherry'),jdecode(''),'/1873/45724.html','false',[],''],
		['PAGE','45840',jdecode('Addison+Alder'),jdecode(''),'/1873/45840.html','false',[],''],
		['PAGE','45861',jdecode('Glenn+Cove+Alder'),jdecode(''),'/1873/45861.html','false',[],''],
		['PAGE','45882',jdecode('Olympia+Alder'),jdecode(''),'/1873/45882.html','false',[],''],
		['PAGE','45903',jdecode('Riverside+Alder'),jdecode(''),'/1873/45903.html','false',[],''],
		['PAGE','45924',jdecode('Tucson+Alder'),jdecode(''),'/1873/45924.html','false',[],''],
		['PAGE','46040',jdecode('Avalon+Qs+Oak'),jdecode(''),'/1873/46040.html','false',[],''],
		['PAGE','46061',jdecode('Breckenridge'),jdecode(''),'/1873/46061.html','false',[],''],
		['PAGE','46082',jdecode('Villa'),jdecode(''),'/1873/46082.html','false',[],''],
		['PAGE','46103',jdecode('Vista'),jdecode(''),'/1873/46103.html','false',[],''],
		['PAGE','46124',jdecode('Winterberry'),jdecode(''),'/1873/46124.html','false',[],''],
		['PAGE','21629',jdecode('Designer'),jdecode(''),'/1873/21629.html','false',[],''],
		['PAGE','36240',jdecode('Designer+Gallery'),jdecode(''),'/1873/36240.html','false',[],''],
		['PAGE','8101',jdecode('Designer+styles'),jdecode(''),'/1873/8101.html','false',[],''],
		['PAGE','41540',jdecode('fiji'),jdecode(''),'/1873/41540.html','false',[],''],
		['PAGE','38540',jdecode('Catalina'),jdecode(''),'/1873/38540.html','false',[],''],
		['PAGE','40940',jdecode('cheyenne'),jdecode(''),'/1873/40940.html','false',[],''],
		['PAGE','38561',jdecode('Laurel+Bay'),jdecode(''),'/1873/38561.html','false',[],''],
		['PAGE','38582',jdecode('Tahiti'),jdecode(''),'/1873/38582.html','false',[],''],
		['PAGE','39740',jdecode('Bella'),jdecode(''),'/1873/39740.html','false',[],''],
		['PAGE','39940',jdecode('Glenwood'),jdecode(''),'/1873/39940.html','false',[],''],
		['PAGE','39761',jdecode('Yukon'),jdecode(''),'/1873/39761.html','false',[],''],
		['PAGE','30029',jdecode('Bahamas'),jdecode(''),'/1873/30029.html','false',[],''],
		['PAGE','30050',jdecode('Briarwood'),jdecode(''),'/1873/30050.html','false',[],''],
		['PAGE','30071',jdecode('brookhill'),jdecode(''),'/1873/30071.html','false',[],''],
		['PAGE','30092',jdecode('calistoga'),jdecode(''),'/1873/30092.html','false',[],''],
		['PAGE','30113',jdecode('camelot'),jdecode(''),'/1873/30113.html','false',[],''],
		['PAGE','30134',jdecode('devonshire'),jdecode(''),'/1873/30134.html','false',[],''],
		['PAGE','30155',jdecode('ellison'),jdecode(''),'/1873/30155.html','false',[],''],
		['PAGE','30176',jdecode('napa+valley'),jdecode(''),'/1873/30176.html','false',[],''],
		['PAGE','30197',jdecode('rushmore'),jdecode(''),'/1873/30197.html','false',[],''],
		['PAGE','30218',jdecode('stratford'),jdecode(''),'/1873/30218.html','false',[],''],
		['PAGE','30239',jdecode('taos'),jdecode(''),'/1873/30239.html','false',[],''],
		['PAGE','30260',jdecode('valencia'),jdecode(''),'/1873/30260.html','false',[],''],
		['PAGE','30281',jdecode('venice'),jdecode(''),'/1873/30281.html','false',[],''],
		['PAGE','30302',jdecode('victoria'),jdecode(''),'/1873/30302.html','false',[],''],
		['PAGE','30323',jdecode('wakefield'),jdecode(''),'/1873/30323.html','false',[],''],
		['PAGE','30344',jdecode('windwood'),jdecode(''),'/1873/30344.html','false',[],''],
		['PAGE','26629',jdecode('Bahamas'),jdecode(''),'/1873/26629.html','false',[],''],
		['PAGE','26671',jdecode('Brookhill'),jdecode(''),'/1873/26671.html','false',[],''],
		['PAGE','24229',jdecode('Hartford'),jdecode(''),'/1873/24229.html','false',[],''],
		['PAGE','24250',jdecode('hudson+falls'),jdecode(''),'/1873/24250.html','false',[],''],
		['PAGE','24271',jdecode('Mendocino'),jdecode(''),'/1873/24271.html','false',[],''],
		['PAGE','24292',jdecode('Newcastle'),jdecode(''),'/1873/24292.html','false',[],''],
		['PAGE','24313',jdecode('Quaint'),jdecode(''),'/1873/24313.html','false',[],''],
		['PAGE','24334',jdecode('Central+Park+West'),jdecode(''),'/1873/24334.html','false',[],''],
		['PAGE','24355',jdecode('Bayside'),jdecode(''),'/1873/24355.html','false',[],''],
		['PAGE','12901',jdecode('Providence'),jdecode(''),'/1873/12901.html','false',[],''],
		['PAGE','12922',jdecode('Santiago'),jdecode(''),'/1873/12922.html','false',[],''],
		['PAGE','12943',jdecode('Sonoma'),jdecode(''),'/1873/12943.html','false',[],''],
		['PAGE','12964',jdecode('St.+Andrews'),jdecode(''),'/1873/12964.html','false',[],''],
		['PAGE','12985',jdecode('Stockton'),jdecode(''),'/1873/12985.html','false',[],''],
		['PAGE','13006',jdecode('Trinity'),jdecode(''),'/1873/13006.html','false',[],''],
		['PAGE','13027',jdecode('Mission'),jdecode(''),'/1873/13027.html','false',[],''],
		['PAGE','13048',jdecode('Gable'),jdecode(''),'/1873/13048.html','false',[],''],
		['PAGE','13069',jdecode('Barcelona'),jdecode(''),'/1873/13069.html','false',[],''],
		['PAGE','9701',jdecode('Bahama'),jdecode(''),'/1873/9701.html','false',[],''],
		['PAGE','13090',jdecode('Potter%26%23x27%3Bs+Mill'),jdecode(''),'/1873/13090.html','false',[],''],
		['PAGE','13132',jdecode('Park+Place'),jdecode(''),'/1873/13132.html','false',[],''],
		['PAGE','13111',jdecode('Piccadilly'),jdecode(''),'/1873/13111.html','false',[],''],
		['PAGE','57140',jdecode('Counter+tops'),jdecode(''),'/1873/57140.html','false',[],''],
		['PAGE','57161',jdecode('Plumbing+Fixtures'),jdecode(''),'/1873/57161.html','false',[],''],
		['PAGE','57182',jdecode('Tile+and+Flooring'),jdecode(''),'/1873/57182.html','false',[],'']
	],''],
	['PAGE','1894',jdecode('Contact'),jdecode(''),'/1894.html','true',[],''],
	['PAGE','1915',jdecode('About+us'),jdecode(''),'/1915.html','true',[],''],
	['PAGE','59740',jdecode('Web+Store'),jdecode(''),'/59740.html','true',[],'']];
var siteelementCount=98;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='4A587F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10344';
theSitetree.graphicsetId='10449';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='4A587F';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Akropolis',
				paletteFamily: 	'4A587F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10344',
				graphicsetId: 	'10449',
				contentColor: 	'FFFFFF',
				contentBGColor: '4A587F',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'4A587F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1801',
internalId:  '',
customField: '20091209-165506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1915',
internalId:  '',
customField: '20090429-154327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1894',
internalId:  '',
customField: '20091003-122331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1852',
internalId:  '',
customField: '20090429-154327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1873',
internalId:  '',
customField: '20091208-171208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12901',
internalId:  '',
customField: '20091003-130556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8101',
internalId:  '',
customField: '20091117-163130'
};
webappMappings['1501']=webappMappings['1501-17380179']={
webappId:    '1501',
documentId:  '1801',
internalId:  '17380179',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13048',
internalId:  '',
customField: '20090505-140123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9701',
internalId:  '',
customField: '20090507-105450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12922',
internalId:  '',
customField: '20091005-131304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12943',
internalId:  '',
customField: '20091005-131328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12964',
internalId:  '',
customField: '20091005-170453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12985',
internalId:  '',
customField: '20091005-131354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13069',
internalId:  '',
customField: '20090507-120232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13006',
internalId:  '',
customField: '20091005-131418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13027',
internalId:  '',
customField: '20090507-110733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13090',
internalId:  '',
customField: '20090507-164126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13132',
internalId:  '',
customField: '20090507-110752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13111',
internalId:  '',
customField: '20090507-110807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20029',
internalId:  '',
customField: '20091208-162319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21629',
internalId:  '',
customField: '20091125-170341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20929',
internalId:  '',
customField: '20091125-171109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24229',
internalId:  '',
customField: '20091005-161328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24250',
internalId:  '',
customField: '20091005-161118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24271',
internalId:  '',
customField: '20091005-161047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24313',
internalId:  '',
customField: '20091005-161400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24334',
internalId:  '',
customField: '20091005-150033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24355',
internalId:  '',
customField: '20091005-161727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24292',
internalId:  '',
customField: '20091005-161441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26629',
internalId:  '',
customField: '20091003-135227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44640',
internalId:  '',
customField: '20091124-154859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26671',
internalId:  '',
customField: '20091003-135227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44703',
internalId:  '',
customField: '20091124-154335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44682',
internalId:  '',
customField: '20091124-154023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30029',
internalId:  '',
customField: '20091006-160854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30050',
internalId:  '',
customField: '20091006-161211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30071',
internalId:  '',
customField: '20091006-161356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30092',
internalId:  '',
customField: '20091006-161957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30113',
internalId:  '',
customField: '20091013-131029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30134',
internalId:  '',
customField: '20091006-162317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30155',
internalId:  '',
customField: '20091013-131040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30176',
internalId:  '',
customField: '20091013-131054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30197',
internalId:  '',
customField: '20091006-163307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30218',
internalId:  '',
customField: '20091006-163434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30239',
internalId:  '',
customField: '20091006-163611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30260',
internalId:  '',
customField: '20091006-163746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30302',
internalId:  '',
customField: '20100422-150917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30323',
internalId:  '',
customField: '20091006-164120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30344',
internalId:  '',
customField: '20091006-164357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30281',
internalId:  '',
customField: '20091013-131639'
};
webappMappings['7060']=webappMappings['7060-32fb277129677353a84ee04302a92746']={
webappId:    '7060',
documentId:  '36240',
internalId:  '32fb277129677353a84ee04302a92746',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36240',
internalId:  '',
customField: '20091013-170433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38540',
internalId:  '',
customField: '20091013-102506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38561',
internalId:  '',
customField: '20091013-102436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38582',
internalId:  '',
customField: '20091013-130907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39740',
internalId:  '',
customField: '20091013-130930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39940',
internalId:  '',
customField: '20091013-105735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39761',
internalId:  '',
customField: '20091013-110214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40940',
internalId:  '',
customField: '20091013-124505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41540',
internalId:  '',
customField: '20091013-130844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44724',
internalId:  '',
customField: '20091124-154555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44745',
internalId:  '',
customField: '20091125-164450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44766',
internalId:  '',
customField: '20091118-164241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44940',
internalId:  '',
customField: '20091124-151340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44961',
internalId:  '',
customField: '20091124-151816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44982',
internalId:  '',
customField: '20091124-154412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45003',
internalId:  '',
customField: '20091124-154623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45024',
internalId:  '',
customField: '20091125-164522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45045',
internalId:  '',
customField: '20091125-164720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45066',
internalId:  '',
customField: '20091125-164754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45087',
internalId:  '',
customField: '20091118-165650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46124',
internalId:  '',
customField: '20091120-161823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45482',
internalId:  '',
customField: '20091124-154445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45461',
internalId:  '',
customField: '20091124-154115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45440',
internalId:  '',
customField: '20091124-151616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45503',
internalId:  '',
customField: '20091125-164625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45524',
internalId:  '',
customField: '20091120-155543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45640',
internalId:  '',
customField: '20091124-113033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45661',
internalId:  '',
customField: '20091124-154525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45682',
internalId:  '',
customField: '20091125-164653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45703',
internalId:  '',
customField: '20091125-164832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45724',
internalId:  '',
customField: '20091120-160200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45840',
internalId:  '',
customField: '20091124-151422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45861',
internalId:  '',
customField: '20091125-164558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45882',
internalId:  '',
customField: '20091125-164858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45903',
internalId:  '',
customField: '20091125-165000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45924',
internalId:  '',
customField: '20091120-161502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46040',
internalId:  '',
customField: '20091124-152027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46061',
internalId:  '',
customField: '20091124-154259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46082',
internalId:  '',
customField: '20091120-161721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46103',
internalId:  '',
customField: '20091120-161750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44661',
internalId:  '',
customField: '20091124-151913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57440',
internalId:  '',
customField: '20091208-162526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57461',
internalId:  '',
customField: '20091208-162635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57482',
internalId:  '',
customField: '20091208-162717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57140',
internalId:  '',
customField: '20091208-163631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57161',
internalId:  '',
customField: '20091209-170824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57182',
internalId:  '',
customField: '20091208-151428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59740',
internalId:  '',
customField: '20100510-163140'
};
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0IN3RMT';
var companyName   = 'Midwest+Cabinet+%26+Supply%2C+Inc.';
var htmlTitle	  = 'Midwest+Cabinet';
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();
};
