/* [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','5001',jdecode('Home'),jdecode(''), jdecode('%2F5001.html'), 'true',[],'',''],
	['PAGE','33501',jdecode('Latest+News'),jdecode(''), jdecode('%2F33501.html'), 'true',[],'',''],
	['PAGE','70712',jdecode('Job+Vacancies'),jdecode(''), jdecode('%2F70712.html'), 'true',[],'',''],
	['PAGE','14401',jdecode('Practice+History'),jdecode(''), jdecode('%2F14401.html'), 'true',[],'',''],
	['PAGE','14427',jdecode('Surgery+Locations'),jdecode(''), jdecode('%2F14427%2Findex.html'), 'true',[ 
		['PAGE','14453',jdecode('Walnut+Tree+Hospital'),jdecode(''), jdecode('%2F14427%2F14453.html'), 'true',[],'',''],
		['PAGE','14479',jdecode('Stoke+Road'),jdecode(''), jdecode('%2F14427%2F14479.html'), 'true',[],'',''],
		['PAGE','14557',jdecode('Stony+Stratford'),jdecode(''), jdecode('%2F14427%2F14557.html'), 'true',[],'',''],
		['PAGE','14531',jdecode('Whaddon+Way'),jdecode(''), jdecode('%2F14427%2F14531.html'), 'true',[],'',''],
		['PAGE','14505',jdecode('Willen'),jdecode(''), jdecode('%2F14427%2F14505.html'), 'true',[],'','']
	],'',''],
	['PAGE','19401',jdecode('Staff'),jdecode(''), jdecode('%2F19401%2Findex.html'), 'true',[ 
		['PAGE','19427',jdecode('Veterinary+Surgeons'),jdecode(''), jdecode('%2F19401%2F19427.html'), 'true',[],'',''],
		['PAGE','19453',jdecode('Veterinary+Nurses'),jdecode(''), jdecode('%2F19401%2F19453.html'), 'true',[],'',''],
		['PAGE','19479',jdecode('Receptionists'),jdecode(''), jdecode('%2F19401%2F19479.html'), 'true',[],'',''],
		['PAGE','19505',jdecode('Practice+Management'),jdecode(''), jdecode('%2F19401%2F19505.html'), 'true',[],'','']
	],'',''],
	['PAGE','19531',jdecode('Facilities'),jdecode(''), jdecode('%2F19531%2Findex.html'), 'true',[ 
		['PAGE','27901',jdecode('Reception+Area'),jdecode(''), jdecode('%2F19531%2F27901.html'), 'true',[],'',''],
		['PAGE','27927',jdecode('Wards'),jdecode(''), jdecode('%2F19531%2F27927.html'), 'true',[],'',''],
		['PAGE','27953',jdecode('Preparation+Room'),jdecode(''), jdecode('%2F19531%2F27953.html'), 'true',[],'',''],
		['PAGE','27979',jdecode('Operating+Theatres'),jdecode(''), jdecode('%2F19531%2F27979.html'), 'true',[],'',''],
		['PAGE','30301',jdecode('Anaesthesia'),jdecode(''), jdecode('%2F19531%2F30301.html'), 'true',[],'',''],
		['PAGE','28005',jdecode('Cardiology'),jdecode(''), jdecode('%2F19531%2F28005.html'), 'true',[],'',''],
		['PAGE','28031',jdecode('Dentistry'),jdecode(''), jdecode('%2F19531%2F28031.html'), 'true',[],'',''],
		['PAGE','28057',jdecode('Dermatology'),jdecode(''), jdecode('%2F19531%2F28057.html'), 'true',[],'',''],
		['PAGE','28083',jdecode('Imaging'),jdecode(''), jdecode('%2F19531%2F28083.html'), 'true',[],'',''],
		['PAGE','28109',jdecode('Laboratory'),jdecode(''), jdecode('%2F19531%2F28109.html'), 'true',[],'',''],
		['PAGE','28135',jdecode('Medicine'),jdecode(''), jdecode('%2F19531%2F28135.html'), 'true',[],'',''],
		['PAGE','28161',jdecode('Ophthalmology'),jdecode(''), jdecode('%2F19531%2F28161.html'), 'true',[],'',''],
		['PAGE','28187',jdecode('Surgery'),jdecode(''), jdecode('%2F19531%2F28187.html'), 'true',[],'','']
	],'',''],
	['PAGE','19557',jdecode('Fees'),jdecode(''), jdecode('%2F19557%2Findex.html'), 'true',[ 
		['PAGE','26301',jdecode('Consultations'),jdecode(''), jdecode('%2F19557%2F26301.html'), 'true',[],'',''],
		['PAGE','26327',jdecode('Dog+Vaccinations'),jdecode(''), jdecode('%2F19557%2F26327.html'), 'true',[],'',''],
		['PAGE','26353',jdecode('Cat+Vaccinations'),jdecode(''), jdecode('%2F19557%2F26353.html'), 'true',[],'',''],
		['PAGE','27101',jdecode('Rabbit+Vaccinations'),jdecode(''), jdecode('%2F19557%2F27101.html'), 'true',[],'',''],
		['PAGE','27127',jdecode('Neutering'),jdecode(''), jdecode('%2F19557%2F27127.html'), 'true',[],'','']
	],'',''],
	['PAGE','53201',jdecode('News+from+our+Nurses'),jdecode(''), jdecode('%2F53201%2Findex.html'), 'true',[ 
		['PAGE','53227',jdecode('Nurse+extra+1'),jdecode(''), jdecode('%2F53201%2F53227.html'), 'false',[],'',''],
		['PAGE','53253',jdecode('Nurse+extra+2'),jdecode(''), jdecode('%2F53201%2F53253.html'), 'false',[],'',''],
		['PAGE','53279',jdecode('Nurse+extra+3'),jdecode(''), jdecode('%2F53201%2F53279.html'), 'false',[],'',''],
		['PAGE','53305',jdecode('Nurse+extra+4'),jdecode(''), jdecode('%2F53201%2F53305.html'), 'false',[],'',''],
		['PAGE','53331',jdecode('Nurse+extra+5'),jdecode(''), jdecode('%2F53201%2F53331.html'), 'false',[],'','']
	],'',''],
	['PAGE','19583',jdecode('Pet+Advice'),jdecode(''), jdecode('%2F19583%2Findex.html'), 'true',[ 
		['PAGE','57901',jdecode('Cruciate+Ligament'),jdecode(''), jdecode('%2F19583%2F57901.html'), 'true',[],'',''],
		['PAGE','68812',jdecode('Ophthalmology'),jdecode(''), jdecode('%2F19583%2F68812.html'), 'true',[],'','']
	],'',''],
	['PAGE','19609',jdecode('FAQ%26%23x27%3Bs'),jdecode(''), jdecode('%2F19609.html'), 'true',[],'',''],
	['PAGE','14901',jdecode('Repeat+Prescriptions'),jdecode(''), jdecode('%2F14901.html'), 'true',[],'',''],
	['PAGE','52401',jdecode('Register'),jdecode(''), jdecode('%2F52401.html'), 'true',[],'',''],
	['PAGE','19661',jdecode('Update+Details'),jdecode(''), jdecode('%2F19661.html'), 'true',[],'',''],
	['PAGE','19635',jdecode('Useful+Links'),jdecode(''), jdecode('%2F19635.html'), 'true',[],'',''],
	['PAGE','37701',jdecode('Contact+Us'),jdecode(''), jdecode('%2F37701.html'), 'true',[],'',''],
	['PAGE','65812',jdecode('TPLO'),jdecode(''), jdecode('%2F65812.html'), 'false',[],'',''],
	['PAGE','22001',jdecode('Veterinary+Qualifications'),jdecode(''), jdecode('%2F22001.html'), 'false',[],'',''],
	['PAGE','33579',jdecode('Payment+Terms'),jdecode(''), jdecode('%2F33579.html'), 'false',[],'',''],
	['PAGE','33605',jdecode('Vets+Now'),jdecode(''), jdecode('%2F33605.html'), 'false',[],'',''],
	['PAGE','36401',jdecode('PETS'),jdecode(''), jdecode('%2F36401.html'), 'false',[],'',''],
	['PAGE','33527',jdecode('worming'),jdecode(''), jdecode('%2F33527.html'), 'false',[],'',''],
	['PAGE','33553',jdecode('specific+vet'),jdecode(''), jdecode('%2F33553.html'), 'false',[],'',''],
	['PAGE','33631',jdecode('Home+visits'),jdecode(''), jdecode('%2F33631.html'), 'false',[],'',''],
	['PAGE','33657',jdecode('2nd+opinions'),jdecode(''), jdecode('%2F33657.html'), 'false',[],'',''],
	['PAGE','33683',jdecode('Hospital+Visit'),jdecode(''), jdecode('%2F33683.html'), 'false',[],'',''],
	['PAGE','33901',jdecode('Need+Appointment'),jdecode(''), jdecode('%2F33901.html'), 'false',[],'',''],
	['PAGE','33927',jdecode('Worming'),jdecode(''), jdecode('%2F33927.html'), 'false',[],'',''],
	['PAGE','33953',jdecode('Do+In+emergency'),jdecode(''), jdecode('%2F33953.html'), 'false',[],'',''],
	['PAGE','34201',jdecode('Insurance'),jdecode(''), jdecode('%2F34201.html'), 'false',[],'',''],
	['PAGE','39001',jdecode('Discounts'),jdecode(''), jdecode('%2F39001.html'), 'false',[],'',''],
	['PAGE','48101',jdecode('Why+choose+us'),jdecode(''), jdecode('%2F48101.html'), 'false',[],'',''],
	['PAGE','50901',jdecode('Referrals'),jdecode(''), jdecode('%2F50901.html'), 'false',[],'',''],
	['PAGE','51201',jdecode('Qualifications+2'),jdecode(''), jdecode('%2F51201.html'), 'false',[],'',''],
	['PAGE','55201',jdecode('Vaccines+required'),jdecode(''), jdecode('%2F55201.html'), 'false',[],'',''],
	['PAGE','56601',jdecode('Surrounding+villages'),jdecode(''), jdecode('%2F56601.html'), 'false',[],'',''],
	['PAGE','65412',jdecode('Cruciate+picture'),jdecode(''), jdecode('%2F65412.html'), 'false',[],'',''],
	['PAGE','68838',jdecode('Ophthal+1'),jdecode(''), jdecode('%2F68838.html'), 'false',[],'',''],
	['PAGE','68864',jdecode('Ophthal+2'),jdecode(''), jdecode('%2F68864.html'), 'false',[],'','']];
var siteelementCount=73;
theSitetree.topTemplateName='Ragtime';
theSitetree.paletteFamily='B3CA99';
theSitetree.keyvisualId='3575';
theSitetree.keyvisualName='kv_3575.jpg';
theSitetree.fontsetId='10452';
theSitetree.graphicsetId='10852';
theSitetree.contentColor='5D6B55';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'GB'
};
var prodDef={
  wl_name: 'easily_co_uk',
  product: 'WSCSYSSSSLY0XVD7'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Ragtime',
				paletteFamily: 	'B3CA99',
				keyvisualId: 	'3575',
				keyvisualName: 	'kv_3575.jpg',
				fontsetId: 		'10452',
				graphicsetId: 	'10852',
				contentColor: 	'5D6B55',
				contentBGColor: 'FFFFFF',
				a_color: 		'B3CA99',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'747475',
				e_color: 		'899D75',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5001',
internalId:  '',
customField: '20110618-171725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14427',
internalId:  '',
customField: '20091028-192149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14453',
internalId:  '',
customField: '20091025-170054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14401',
internalId:  '',
customField: '20100807-084238'
};
webappMappings['7008']=webappMappings['7008-5898']={
webappId:    '7008',
documentId:  '14901',
internalId:  '5898',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19401',
internalId:  '',
customField: '20091101-121544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19427',
internalId:  '',
customField: '20120107-200248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20110613-111913'
};
webappMappings['7008']=webappMappings['7008-5902']={
webappId:    '7008',
documentId:  '19661',
internalId:  '5902',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19661',
internalId:  '',
customField: '20091102-194306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22001',
internalId:  '',
customField: '20110308-201357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19583',
internalId:  '',
customField: '20110407-111215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14479',
internalId:  '',
customField: '20110613-110003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14505',
internalId:  '',
customField: '20091028-192357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14531',
internalId:  '',
customField: '20091028-192321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14557',
internalId:  '',
customField: '20091028-193917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19453',
internalId:  '',
customField: '20120107-195122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19479',
internalId:  '',
customField: '20110613-110335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19505',
internalId:  '',
customField: '20120201-204616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19531',
internalId:  '',
customField: '20091028-194046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19557',
internalId:  '',
customField: '20110613-111717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19609',
internalId:  '',
customField: '20091106-202133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19635',
internalId:  '',
customField: '20110313-104549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26301',
internalId:  '',
customField: '20110103-195820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26327',
internalId:  '',
customField: '20110517-123751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26353',
internalId:  '',
customField: '20110517-123854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27101',
internalId:  '',
customField: '20110103-200939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27127',
internalId:  '',
customField: '20111116-210411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27901',
internalId:  '',
customField: '20091024-145954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27927',
internalId:  '',
customField: '20091025-090025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27953',
internalId:  '',
customField: '20091028-193032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27979',
internalId:  '',
customField: '20091028-193055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28083',
internalId:  '',
customField: '20110407-104635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28005',
internalId:  '',
customField: '20091025-172430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28161',
internalId:  '',
customField: '20091028-193126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28187',
internalId:  '',
customField: '20091031-184945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30301',
internalId:  '',
customField: '20091025-172554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28031',
internalId:  '',
customField: '20110407-105014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28057',
internalId:  '',
customField: '20091124-212429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28109',
internalId:  '',
customField: '20091025-173355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28135',
internalId:  '',
customField: '20091031-184320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33631',
internalId:  '',
customField: '20091106-201728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33501',
internalId:  '',
customField: '20120107-195852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33579',
internalId:  '',
customField: '20091025-150008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33605',
internalId:  '',
customField: '20091025-114759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33527',
internalId:  '',
customField: '20091025-181250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33553',
internalId:  '',
customField: '20091025-124735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33657',
internalId:  '',
customField: '20091025-122508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33683',
internalId:  '',
customField: '20091025-115130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33901',
internalId:  '',
customField: '20091025-102816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33927',
internalId:  '',
customField: '20091025-092426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33953',
internalId:  '',
customField: '20091025-113516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34201',
internalId:  '',
customField: '20091025-121540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36401',
internalId:  '',
customField: '20110701-121025'
};
webappMappings['7008']=webappMappings['7008-5925']={
webappId:    '7008',
documentId:  '37701',
internalId:  '5925',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37701',
internalId:  '',
customField: '20120102-135616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39001',
internalId:  '',
customField: '20091109-121825'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48101',
internalId:  '',
customField: '20091031-222945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50901',
internalId:  '',
customField: '20091101-125820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51201',
internalId:  '',
customField: '20091101-130120'
};
webappMappings['7008']=webappMappings['7008-5991']={
webappId:    '7008',
documentId:  '52401',
internalId:  '5991',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52401',
internalId:  '',
customField: '20091102-194148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53201',
internalId:  '',
customField: '20100127-212500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53227',
internalId:  '',
customField: '20091103-135436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53253',
internalId:  '',
customField: '20091106-154758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53279',
internalId:  '',
customField: '20091103-135538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53305',
internalId:  '',
customField: '20091103-135608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53331',
internalId:  '',
customField: '20091103-135636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55201',
internalId:  '',
customField: '20091111-124452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56601',
internalId:  '',
customField: '20091109-214403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57901',
internalId:  '',
customField: '20110208-194616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65412',
internalId:  '',
customField: '20091124-192156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65812',
internalId:  '',
customField: '20091124-134812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68812',
internalId:  '',
customField: '20091124-134054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68838',
internalId:  '',
customField: '20091124-134119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68864',
internalId:  '',
customField: '20091124-134146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70712',
internalId:  '',
customField: '20120102-140004'
};
webappMappings['1501']=webappMappings['1501-12797263']={
webappId:    '1501',
documentId:  '5001',
internalId:  '12797263',
customField: '1501'
};
var webAppHostname = 'cgi.easily.co.uk:80';
var canonHostname = 'coucm4all01.netbenefit.co.uk';
var accountId     = 'ANBT10IN34J7';
var companyName   = 'Milton+Keynes+Veterinary+Group+++01908+397777';
var htmlTitle	  = 'Milton+Keynes+Veterinary+Group';
var metaKeywords  = 'Veterinary%2C+Animal%2C+Hospital%2C+Surgery%2C+Small%2C+Pets%2C+Cats%2C+Dogs%2C+Birds%2C+Avian%2C+Canine%2C+Feline%2C+RCVS%2C+Royal%2C+College%2C+Surgeons%2C+Medical%2C+Surgical%2C+Medicine%2C+Surgery%2C+Dermatology%2C+Anaesthetic%2C+Anaesthesia%2C+Friendly%2C+Professional%2C+Caring%2C+Experienced%2C+Vet%2C+Nurse%2C+Nursing%2C+Equipment%2C+Trained%2C+Buckingham%2C+Buckinghamshire%2C+Bletchley%2C+MIlton+Keynes%2C+Newport+Pagnell%2C+Walnut+Tree%2Cveterinary+hospital%2C+animal+hospital%2C+veterinary+surgery%2C+veterinary+surgeons%2Cpet+hospital%2C+pet+doctor';
var metaContents  = 'Milton+Keynes+Veterinary+Group+offers+a+high+level+of+professional+service+to+small+animal+pets++from+our+RCVS+approved+Veterinary+Hospital+and+conveniently+located+Branch+Surgeries+around+the+City.++We+have+experienced+veterinary+surgeons+across+many+disciplines+including+RCVS+Certificate+Holders.';
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();
};

