/* [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','22',jdecode('Home'),jdecode(''),'/22.html','true',[],'',''],
	['PAGE','2478',jdecode('Location+%26+Office+Hours'),jdecode(''),'/2478.html','true',[],'',''],
	['PAGE','1103',jdecode('Our+Services'),jdecode(''),'/1103.html','true',[],'',''],
	['PAGE','3904',jdecode('Boarding+Your+Pet'),jdecode(''),'/3904.html','true',[],'',''],
	['PAGE','1067',jdecode('Our+Veterinarians'),jdecode(''),'/1067.html','true',[],'',''],
	['PAGE','45801',jdecode('Our+Support+Staff'),jdecode(''),'/45801.html','true',[],'',''],
	['PAGE','4805',jdecode('Hospital+Policies'),jdecode(''),'/4805.html','true',[],'',''],
	['PAGE','7266',jdecode('Internet+Pharmacy+Update'),jdecode(''),'/7266.html','true',[],'',''],
	['PAGE','124020',jdecode('Pet+Insurance+Explained'),jdecode(''),'/124020.html','true',[],'',''],
	['PAGE','1112',jdecode('Contact+Us'),jdecode(''),'/1112/index.html','true',[ 
		['PAGE','6766',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/1112/6766.html','false',[],'','']
	],'',''],
	['PAGE','3834',jdecode('Map+%26+Directions'),jdecode(''),'/3834.html','true',[],'',''],
	['PAGE','4814',jdecode('Download+Client+Forms'),jdecode(''),'/4814.html','false',[],'',''],
	['PAGE','6532',jdecode('Senior+Wellness+Program'),jdecode(''),'/6532.html','true',[],'',''],
	['PAGE','3850',jdecode('Dog+Owner+Information'),jdecode(''),'/3850/index.html','true',[ 
		['PAGE','3965',jdecode('Cruciate+Ligament+Injury+in+Dogs'),jdecode(''),'/3850/3965.html','false',[],'',''],
		['PAGE','3974',jdecode('Cushing%26%23x27%3Bs+Disease+in+Dogs'),jdecode(''),'/3850/3974.html','false',[],'',''],
		['PAGE','56323',jdecode('Leptospirosis'),jdecode(''),'/3850/56323.html','false',[],'',''],
		['PAGE','3992',jdecode('Pancreatitis+in+Dogs'),jdecode(''),'/3850/3992.html','false',[],'','']
	],'',''],
	['PAGE','3859',jdecode('Cat+Owner+Information'),jdecode(''),'/3859/index.html','true',[ 
		['PAGE','3868',jdecode('Chronic+Renal+Failure+in+Cats'),jdecode(''),'/3859/3868.html','false',[],'',''],
		['PAGE','3877',jdecode('Diabetes+Mellitus+in+Cats'),jdecode(''),'/3859/3877.html','false',[],'',''],
		['PAGE','4001',jdecode('Feline+Hyperthyroidism'),jdecode(''),'/3859/4001.html','false',[],'',''],
		['PAGE','3886',jdecode('F.+L.+U.+T.+D.'),jdecode(''),'/3859/3886.html','false',[],'',''],
		['PAGE','56344',jdecode('Indoor+vs.+Outdoor+Cats'),jdecode(''),'/3859/56344.html','false',[],'',''],
		['PAGE','130420',jdecode('Declawing+Cats'),jdecode(''),'/3859/130420.html','false',[],'','']
	],'',''],
	['PAGE','6001',jdecode('Bird+Owner+Information'),jdecode(''),'/6001/index.html','true',[ 
		['PAGE','152320',jdecode('Bird+Husbandry'),jdecode(''),'/6001/152320.html','false',[],'',''],
		['PAGE','154520',jdecode('Bird+Nutrition'),jdecode(''),'/6001/154520.html','false',[],'',''],
		['PAGE','152620',jdecode('Recognizing+Illness+in+Pet+Birds'),jdecode(''),'/6001/152620.html','false',[],'','']
	],'',''],
	['PAGE','117420',jdecode('Exotic+Pet+Owner+Info'),jdecode(''),'/117420/index.html','true',[ 
		['PAGE','169020',jdecode('Iguanas'),jdecode(''),'/117420/169020.html','false',[],'',''],
		['PAGE','169041',jdecode('Turtles'),jdecode(''),'/117420/169041.html','false',[],'',''],
		['PAGE','182520',jdecode('Tortoises'),jdecode(''),'/117420/182520.html','false',[],'',''],
		['PAGE','169062',jdecode('Rabbits'),jdecode(''),'/117420/169062.html','false',[],'',''],
		['PAGE','169083',jdecode('Snakes'),jdecode(''),'/117420/169083.html','false',[],'',''],
		['PAGE','170020',jdecode('Chinchillas'),jdecode(''),'/117420/170020.html','false',[],'',''],
		['PAGE','170041',jdecode('Lizards%2FGeckos'),jdecode(''),'/117420/170041.html','false',[],'',''],
		['PAGE','171120',jdecode('Guinea+Pigs'),jdecode(''),'/117420/171120.html','false',[],'','']
	],'',''],
	['PAGE','3895',jdecode('*+*+Monthly+Update+*+*'),jdecode(''),'/3895.html','true',[],'',''],
	['PAGE','70723',jdecode('Veterinary+Library'),jdecode(''),'/70723/index.html','true',[ 
		['PAGE','4796',jdecode('February+2008'),jdecode(''),'/70723/4796.html','false',[],'',''],
		['PAGE','5204',jdecode('March+2008'),jdecode(''),'/70723/5204.html','false',[],'',''],
		['PAGE','6176',jdecode('April+2008'),jdecode(''),'/70723/6176.html','false',[],'',''],
		['PAGE','6185',jdecode('May+2008'),jdecode(''),'/70723/6185.html','false',[],'',''],
		['PAGE','6194',jdecode('June+2008'),jdecode(''),'/70723/6194.html','false',[],'',''],
		['PAGE','6203',jdecode('July+2008'),jdecode(''),'/70723/6203.html','false',[],'',''],
		['PAGE','6212',jdecode('August+2008'),jdecode(''),'/70723/6212.html','false',[],'',''],
		['PAGE','5803',jdecode('September+2008'),jdecode(''),'/70723/5803.html','false',[],'',''],
		['PAGE','6239',jdecode('October+2008'),jdecode(''),'/70723/6239.html','false',[],'',''],
		['PAGE','6230',jdecode('November+2008'),jdecode(''),'/70723/6230.html','false',[],'',''],
		['PAGE','6248',jdecode('December+2008'),jdecode(''),'/70723/6248.html','false',[],'',''],
		['PAGE','6303',jdecode('January+2009'),jdecode(''),'/70723/6303.html','false',[],'',''],
		['PAGE','74223',jdecode('February+2009'),jdecode(''),'/70723/74223.html','false',[],'',''],
		['PAGE','82823',jdecode('March+2009'),jdecode(''),'/70723/82823.html','false',[],'',''],
		['PAGE','84723',jdecode('April+2009'),jdecode(''),'/70723/84723.html','false',[],'',''],
		['PAGE','86523',jdecode('May+2009'),jdecode(''),'/70723/86523.html','false',[],'',''],
		['PAGE','90923',jdecode('June+2009'),jdecode(''),'/70723/90923.html','false',[],'',''],
		['PAGE','102620',jdecode('July+2009'),jdecode(''),'/70723/102620.html','false',[],'',''],
		['PAGE','102641',jdecode('August+2009'),jdecode(''),'/70723/102641.html','false',[],'',''],
		['PAGE','102662',jdecode('September+2009'),jdecode(''),'/70723/102662.html','false',[],'',''],
		['PAGE','102683',jdecode('October+2009'),jdecode(''),'/70723/102683.html','false',[],'',''],
		['PAGE','102704',jdecode('November+2009'),jdecode(''),'/70723/102704.html','false',[],'',''],
		['PAGE','102725',jdecode('December+2009'),jdecode(''),'/70723/102725.html','false',[],'',''],
		['PAGE','131720',jdecode('January+2010'),jdecode(''),'/70723/131720.html','false',[],'',''],
		['PAGE','143820',jdecode('February+2010'),jdecode(''),'/70723/143820.html','false',[],'',''],
		['PAGE','143841',jdecode('March+2010'),jdecode(''),'/70723/143841.html','false',[],'',''],
		['PAGE','143862',jdecode('April+2010'),jdecode(''),'/70723/143862.html','true',[],'',''],
		['PAGE','143883',jdecode('May+2010'),jdecode(''),'/70723/143883.html','false',[],'',''],
		['PAGE','143904',jdecode('June+2010'),jdecode(''),'/70723/143904.html','false',[],'',''],
		['PAGE','143925',jdecode('July+2010'),jdecode(''),'/70723/143925.html','false',[],'',''],
		['PAGE','143946',jdecode('August+2010'),jdecode(''),'/70723/143946.html','false',[],'',''],
		['PAGE','143967',jdecode('September+2010'),jdecode(''),'/70723/143967.html','false',[],'',''],
		['PAGE','143988',jdecode('October+2010'),jdecode(''),'/70723/143988.html','false',[],'',''],
		['PAGE','144009',jdecode('November+2010'),jdecode(''),'/70723/144009.html','false',[],'',''],
		['PAGE','144030',jdecode('December+2010'),jdecode(''),'/70723/144030.html','false',[],'','']
	],'',''],
	['PAGE','9737',jdecode('View+Our+Photo+Album%21'),jdecode(''),'/9737.html','true',[],'',''],
	['PAGE','10630',jdecode('Sign+Our+Guestbook'),jdecode(''),'/10630.html','true',[],'',''],
	['PAGE','9984',jdecode('Important+Links'),jdecode(''),'/9984.html','true',[],'',''],
	['PAGE','52001',jdecode('Breaking+News'),jdecode(''),'/52001.html','true',[],'',''],
	['PAGE','29301',jdecode('Dogs+%26+Cats+for+Adoption'),jdecode(''),'/29301.html','true',[],'',''],
	['PAGE','18226',jdecode('St.+Maarten+Cat+Rescue'),jdecode(''),'/18226.html','true',[],'',''],
	['PAGE','10271',jdecode('Employment+Opportunities'),jdecode(''),'/10271.html','true',[],'',''],
	['PAGE','4823',jdecode('Privacy+Statement'),jdecode(''),'/4823.html','true',[],'',''],
	['PAGE','99223',jdecode('Old+Data+-+Do+Not+Publish%21'),jdecode(''),'/99223.html','false',[],'','']];
var siteelementCount=85;
theSitetree.topTemplateName='Porthole';
theSitetree.paletteFamily='064B91';
theSitetree.keyvisualId='6717';
theSitetree.keyvisualName='kv_6717.jpg';
theSitetree.fontsetId='11200';
theSitetree.graphicsetId='12013';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E9F3FF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Porthole',
				paletteFamily: 	'064B91',
				keyvisualId: 	'6717',
				keyvisualName: 	'kv_6717.jpg',
				fontsetId: 		'11200',
				graphicsetId: 	'12013',
				contentColor: 	'000000',
				contentBGColor: 'E9F3FF',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '22',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-194595']={
webappId:    '1501',
documentId:  '22',
internalId:  '194595',
customField: '1501'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '3834',
internalId:  'routing',
customField: 'en_US'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22',
internalId:  '',
customField: '20100826-115528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52001',
internalId:  '',
customField: '20100826-114118'
};
webappMappings['1002']=webappMappings['1002-10630AHW050INX3WF']={
webappId:    '1002',
documentId:  '10630',
internalId:  '10630AHW050INX3WF',
customField: 'icq=false'
};
webappMappings['7060']=webappMappings['7060-4996a2110b73673876f9df31039951db']={
webappId:    '7060',
documentId:  '9737',
internalId:  '4996a2110b73673876f9df31039951db',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '182520',
internalId:  '',
customField: '20100520-122156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18226',
internalId:  '',
customField: '20090909-114832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3895',
internalId:  '',
customField: '20100211-112907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6230',
internalId:  '',
customField: '20091203-154201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6239',
internalId:  '',
customField: '20091221-144349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45801',
internalId:  '',
customField: '20100408-154005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2478',
internalId:  '',
customField: '20100826-120224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1067',
internalId:  '',
customField: '20091007-110900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1103',
internalId:  '',
customField: '20100826-120848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3904',
internalId:  '',
customField: '20091007-110645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4805',
internalId:  '',
customField: '20090909-111030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7266',
internalId:  '',
customField: '20090909-111110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1112',
internalId:  '',
customField: '20090223-222238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6766',
internalId:  '',
customField: '20080219-034726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3834',
internalId:  '',
customField: '20090909-111242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4814',
internalId:  '',
customField: '20080403-154003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6532',
internalId:  '',
customField: '20090909-111328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4796',
internalId:  '',
customField: '20100311-104454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5204',
internalId:  '',
customField: '20090909-112221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6176',
internalId:  '',
customField: '20091221-144119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6185',
internalId:  '',
customField: '20091221-141957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6194',
internalId:  '',
customField: '20091221-142622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6203',
internalId:  '',
customField: '20091221-135639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6212',
internalId:  '',
customField: '20091221-144237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5803',
internalId:  '',
customField: '20091203-153954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6248',
internalId:  '',
customField: '20091203-155332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6303',
internalId:  '',
customField: '20091203-153639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3850',
internalId:  '',
customField: '20091007-112455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3965',
internalId:  '',
customField: '20091203-154719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3974',
internalId:  '',
customField: '20091221-134904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56323',
internalId:  '',
customField: '20091221-142441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3992',
internalId:  '',
customField: '20100529-105251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3859',
internalId:  '',
customField: '20091007-112838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3868',
internalId:  '',
customField: '20091203-154459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3877',
internalId:  '',
customField: '20091221-135348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4001',
internalId:  '',
customField: '20100529-105854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3886',
internalId:  '',
customField: '20091221-141841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56344',
internalId:  '',
customField: '20091221-143155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6001',
internalId:  '',
customField: '20100529-104926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9984',
internalId:  '',
customField: '20091203-153328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9737',
internalId:  '',
customField: '20090909-114717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10630',
internalId:  '',
customField: '20090909-114741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70723',
internalId:  '',
customField: '20100826-121717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29301',
internalId:  '',
customField: '20100826-121949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10271',
internalId:  '',
customField: '20090909-115000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4823',
internalId:  '',
customField: '20090909-115048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74223',
internalId:  '',
customField: '20091203-153517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82823',
internalId:  '',
customField: '20100604-125526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84723',
internalId:  '',
customField: '20091221-140007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86523',
internalId:  '',
customField: '20091221-140150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90923',
internalId:  '',
customField: '20091203-153848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99223',
internalId:  '',
customField: '20090603-103043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102620',
internalId:  '',
customField: '20091221-142227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102641',
internalId:  '',
customField: '20091221-142924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102662',
internalId:  '',
customField: '20091221-142118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102683',
internalId:  '',
customField: '20091221-143336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102704',
internalId:  '',
customField: '20091221-143619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102725',
internalId:  '',
customField: '20091203-153748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117420',
internalId:  '',
customField: '20100602-142657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124020',
internalId:  '',
customField: '20100311-134343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130420',
internalId:  '',
customField: '20091221-150917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131720',
internalId:  '',
customField: '20091202-144041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143820',
internalId:  '',
customField: '20091202-144105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143841',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143862',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143883',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143904',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143925',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143946',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143967',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143988',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144009',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144030',
internalId:  '',
customField: '20091105-135644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152320',
internalId:  '',
customField: '20100529-105524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152620',
internalId:  '',
customField: '20100529-105712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '154520',
internalId:  '',
customField: '20100211-131552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169020',
internalId:  '',
customField: '20100408-144127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169041',
internalId:  '',
customField: '20100611-112209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169062',
internalId:  '',
customField: '20100408-151034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169083',
internalId:  '',
customField: '20100430-132454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '170020',
internalId:  '',
customField: '20100611-142748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '170041',
internalId:  '',
customField: '20100408-124340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '171120',
internalId:  '',
customField: '20100408-152407'
};
webappMappings['7008']=webappMappings['7008-7814']={
webappId:    '7008',
documentId:  '1112',
internalId:  '7814',
customField: 'language:en;country:US;'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INX3WF';
var companyName   = 'Merrick+Veterinary+Group';
var htmlTitle	  = 'Merrick+Veterinary+Group';
var metaKeywords  = 'vet%2C+veterinary%2C+veterinarian%2C+veterinarians%2C+veterinary+clinic%2C+veterinary+hospital%2C+animal+clinic%2C+animal+hospital%2C+boarding%2C+merrick%2C+new+york%2C+ny%2C+pet%2C+kennel%2C+dog%2C+cat%2C+veterinary+medicine%2C+brian+marder%2C+jonathan+may%2C+allison+villa%2C+sheila+delijani';
var metaContents  = 'Welcome+to+Merrick+Veterinary+Group+-+a+full+service%2C+state-of-the-art+Veterinary+Hospital.+We+are+located+at+61+W.+Sunrise+Highway%2C+Merrick%2C+NY+11566%2C+phone%3A+516-379-6200%2C+fax%3A+516-379-2251%2C+e-mail+merrickvet%40merrickvet.com';
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();
};

