/* [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','42',jdecode('HOME'),jdecode(''),'/42.html','true',[],'',''],
	['PAGE','30301',jdecode('AboutUs%2FSiteMap%2FMedia'),jdecode(''),'/30301.html','true',[],'',''],
	['PAGE','30322',jdecode('Society+History'),jdecode(''),'/30322.html','true',[],'',''],
	['PAGE','40901',jdecode('Chatham'),jdecode(''),'/40901/index.html','true',[ 
		['PAGE','63001',jdecode('Library'),jdecode(''),'/40901/63001.html','true',[],'','']
	],'',''],
	['PAGE','231601',jdecode('Archive+Digitisation'),jdecode(''),'/231601.html','true',[],'',''],
	['PAGE','40922',jdecode('Venture+Fund'),jdecode(''),'/40922.html','true',[],'',''],
	['PAGE','5751',jdecode('ANNOUNCEMENTS'),jdecode(''),'/5751.html','true',[],'',''],
	['PAGE','81',jdecode('Society+News'),jdecode(''),'/81.html','true',[],'',''],
	['PAGE','6072',jdecode('Branch+Events'),jdecode(''),'/6072.html','true',[],'',''],
	['PAGE','323401',jdecode('Obituaries'),jdecode(''),'/323401.html','true',[],'',''],
	['PAGE','6488',jdecode('Enquiries+Board'),jdecode(''),'/6488.html','true',[],'',''],
	['PAGE','319501',jdecode('WSS+Forum+1'),jdecode(''),'/319501.html','true',[],'',''],
	['PAGE','90',jdecode('MEMBERSHIP'),jdecode(''),'/90.html','true',[],'',''],
	['PAGE','3022',jdecode('Application+form+%2F+Costs'),jdecode(''),'/3022.html','true',[],'',''],
	['PAGE','3013',jdecode('Benefits'),jdecode(''),'/3013.html','true',[],'',''],
	['PAGE','2977',jdecode('PUBLICATIONS'),jdecode(''),'/2977.html','true',[],'',''],
	['PAGE','732',jdecode('WSS+Books+Available'),jdecode(''),'/732.html','true',[],'',''],
	['PAGE','2986',jdecode('WSS+Publication+History'),jdecode(''),'/2986.html','true',[],'',''],
	['PAGE','2995',jdecode('Member+Publications+A-C'),jdecode(''),'/2995.html','true',[],'',''],
	['PAGE','119601',jdecode('Member+Publications+D-H'),jdecode(''),'/119601.html','true',[],'',''],
	['PAGE','18201',jdecode('Member+Publications+I-N'),jdecode(''),'/18201.html','true',[],'',''],
	['PAGE','18222',jdecode('Member+Publications+O-S'),jdecode(''),'/18222.html','true',[],'',''],
	['PAGE','18243',jdecode('Member+Publications+T-Z'),jdecode(''),'/18243.html','true',[],'',''],
	['PAGE','3004',jdecode('Interesting+Publications'),jdecode(''),'/3004.html','true',[],'',''],
	['PAGE','219301',jdecode('Publication+Search'),jdecode(''),'/219301.html','true',[],'',''],
	['PAGE','6346',jdecode('Marine+News+%2F+Warships'),jdecode(''),'/6346.html','true',[],'',''],
	['PAGE','5565',jdecode('Registers'),jdecode(''),'/5565.html','true',[],'',''],
	['PAGE','230901',jdecode('Yard+Lists'),jdecode(''),'/230901.html','true',[],'',''],
	['PAGE','29801',jdecode('NAVAL+AFFAIRS'),jdecode(''),'/29801.html','true',[],'',''],
	['PAGE','30343',jdecode('Warships+magazine'),jdecode(''),'/30343.html','true',[],'',''],
	['PAGE','29822',jdecode('Small+Craft+Group'),jdecode(''),'/29822.html','true',[],'',''],
	['PAGE','253001',jdecode('POLL+QUESTION+%23+1'),jdecode(''),'/253001.html','true',[],'',''],
	['PAGE','3031',jdecode('LINKS'),jdecode(''),'/3031.html','true',[],'',''],
	['PAGE','213701',jdecode('Sponsors'),jdecode(''),'/213701.html','true',[],'',''],
	['PAGE','94901',jdecode('Excursions'),jdecode(''),'/94901.html','true',[],'',''],
	['PAGE','3040',jdecode('Geneaology'),jdecode(''),'/3040.html','true',[],'',''],
	['PAGE','94922',jdecode('Maritime+History'),jdecode(''),'/94922.html','true',[],'',''],
	['PAGE','27201',jdecode('Museums'),jdecode(''),'/27201.html','true',[],'',''],
	['PAGE','3049',jdecode('Preserved+Vessels'),jdecode(''),'/3049.html','true',[],'',''],
	['PAGE','3058',jdecode('Shipping+information'),jdecode(''),'/3058.html','true',[],'',''],
	['PAGE','3076',jdecode('Societies%2FOrganisations'),jdecode(''),'/3076.html','true',[],'',''],
	['PAGE','94964',jdecode('WSS+Member+Sites'),jdecode(''),'/94964.html','true',[],'',''],
	['PAGE','63',jdecode('BRANCHES'),jdecode(''),'/63.html','true',[],'',''],
	['PAGE','72',jdecode('United+Kingdom'),jdecode(''),'/72.html','true',[],'',''],
	['PAGE','741',jdecode('Rest+of+the+World'),jdecode(''),'/741.html','true',[],'',''],
	['PAGE','146701',jdecode('BLOGS'),jdecode(''),'/146701.html','true',[],'',''],
	['PAGE','146101',jdecode('Ann+Haynes'),jdecode(''),'/146101.html','true',[],'',''],
	['PAGE','224601',jdecode('Bruce+Peter'),jdecode(''),'/224601.html','true',[],'',''],
	['PAGE','6268',jdecode('IMAGES'),jdecode(''),'/6268.html','true',[],'',''],
	['PAGE','364001',jdecode('Photo+Album-BUR-00'),jdecode(''),'/364001.html','true',[],'',''],
	['PAGE','109301',jdecode('Photo+Album-BUR-01'),jdecode(''),'/109301.html','true',[],'',''],
	['PAGE','442',jdecode('Photo+Album-BUR-02'),jdecode(''),'/442.html','true',[],'',''],
	['PAGE','286501',jdecode('Photo+Album-CHS-01'),jdecode(''),'/286501.html','true',[],'',''],
	['PAGE','103401',jdecode('Photo+Album-GUS-01'),jdecode(''),'/103401.html','true',[],'',''],
	['PAGE','114101',jdecode('Photo+Album-TRE-01'),jdecode(''),'/114101.html','true',[],'',''],
	['PAGE','6277',jdecode('Photo+Album-VAN-01'),jdecode(''),'/6277.html','true',[],'',''],
	['PAGE','289501',jdecode('Photo+Album-VAN-02'),jdecode(''),'/289501.html','true',[],'',''],
	['PAGE','116701',jdecode('Photo+Album-MYSTERY'),jdecode(''),'/116701.html','true',[],'',''],
	['PAGE','363601',jdecode('Search+Website'),jdecode(''),'/363601.html','true',[],'',''],
	['PAGE','16701',jdecode('FROM+THE+PAST'),jdecode(''),'/16701.html','true',[],'',''],
	['PAGE','399801',jdecode('AGM+2010'),jdecode(''),'/399801.html','true',[],'',''],
	['PAGE','320301',jdecode('AGM+2009'),jdecode(''),'/320301.html','true',[],'',''],
	['PAGE','14101',jdecode('AGM+2008'),jdecode(''),'/14101.html','true',[],'',''],
	['PAGE','16722',jdecode('AGM+2007'),jdecode(''),'/16722.html','true',[],'',''],
	['PAGE','16743',jdecode('AGM+2006'),jdecode(''),'/16743.html','true',[],'',''],
	['PAGE','138901',jdecode('AGM+2005'),jdecode(''),'/138901.html','true',[],'',''],
	['PAGE','138922',jdecode('AGM+2004'),jdecode(''),'/138922.html','true',[],'',''],
	['PAGE','135401',jdecode('Br+Notes+Costa+Blanca'),jdecode(''),'/135401.html','true',[],'',''],
	['PAGE','135422',jdecode('Br+Notes+South+Coast'),jdecode(''),'/135422.html','true',[],'',''],
	['PAGE','135443',jdecode('Br+Notes+Vancouver'),jdecode(''),'/135443/index.html','true',[ 
		['PAGE','62301',jdecode('Bonsor2'),jdecode(''),'/135443/62301.html','true',[],'','']
	],'',''],
	['PAGE','143101',jdecode('...'),jdecode(''),'/143101.html','true',[],'',''],
	['PAGE','313601',jdecode('Admin-Apr+20%2C+2009'),jdecode(''),'/313601/index.html','false',[ 
		['PAGE','246801',jdecode('LOG+IN'),jdecode(''),'/313601/246801.html','false',[],'','']
	],'',''],
	['PAGE','45301',jdecode('Admin-trial'),jdecode(''),'/45301.html','false',[],'',''],
	['PAGE','287501',jdecode('Photo+Album-NEW-01'),jdecode(''),'/287501.html','false',[],'',''],
	['PAGE','292101',jdecode('Council+Papers'),jdecode(''),'/292101.html','false',[],'',''],
	['PAGE','315001',jdecode('Society+Personalia'),jdecode(''),'/315001.html','false',[],'',''],
	['PAGE','395301',jdecode('AIS+Live'),jdecode(''),'/395301.html','false',[],'','']];
var siteelementCount=80;
theSitetree.topTemplateName='Astro';
theSitetree.paletteFamily='455B9C';
theSitetree.keyvisualId='3741';
theSitetree.keyvisualName='kv_3741.jpg';
theSitetree.fontsetId='10561';
theSitetree.graphicsetId='10951';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CECF9C';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Astro',
				paletteFamily: 	'455B9C',
				keyvisualId: 	'3741',
				keyvisualName: 	'kv_3741.jpg',
				fontsetId: 		'10561',
				graphicsetId: 	'10951',
				contentColor: 	'000000',
				contentBGColor: 'CECF9C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'7F7D45',
				e_color: 		'7F7D45',
				f_color: 		'7F7D45',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '42',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63001',
internalId:  '',
customField: '20090524-154700'
};
webappMappings['7060']=webappMappings['7060-8063e52519575c669f6c0ab3a8a3fe16']={
webappId:    '7060',
documentId:  '286501',
internalId:  '8063e52519575c669f6c0ab3a8a3fe16',
customField: 'language:en;country:US;'
};
webappMappings['1501']=webappMappings['1501-92344']={
webappId:    '1501',
documentId:  '42',
internalId:  '92344',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-f75baafb4a2511eb692f7a31deb6e02c']={
webappId:    '7060',
documentId:  '442',
internalId:  'f75baafb4a2511eb692f7a31deb6e02c',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-22']={
webappId:    '7008',
documentId:  '42',
internalId:  '22',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '320301',
internalId:  '',
customField: '20100821-214606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '313601',
internalId:  '',
customField: '20090502-145704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '315001',
internalId:  '',
customField: '20090423-023356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '319501',
internalId:  '',
customField: '20090518-163916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '287501',
internalId:  '',
customField: '20090320-040455'
};
webappMappings['1010']=webappMappings['1010-_Ea_Bonsor2']={
webappId:    '1010',
documentId:  '62301',
internalId:  '_Ea_Bonsor2',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['7060']=webappMappings['7060-f22d83ef5e588de0bf92dcc3a28ad4c7']={
webappId:    '7060',
documentId:  '103401',
internalId:  'f22d83ef5e588de0bf92dcc3a28ad4c7',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-7f28c894068e42ddb1345f90d86d7d9c']={
webappId:    '7060',
documentId:  '109301',
internalId:  '7f28c894068e42ddb1345f90d86d7d9c',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-06bc1a15ebfe69ac041993f6ee3cccd6']={
webappId:    '7060',
documentId:  '114101',
internalId:  '06bc1a15ebfe69ac041993f6ee3cccd6',
customField: 'language:en;country:US;'
};
webappMappings['1003']=webappMappings['1003-ahw050inxxvp12155840c91']={
webappId:    '1003',
documentId:  '319501',
internalId:  'ahw050inxxvp12155840c91',
customField: 'en:US'
};
webappMappings['1010']=webappMappings['1010-_Ea_Publications']={
webappId:    '1010',
documentId:  '219301',
internalId:  '_Ea_Publications',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['7008']=webappMappings['7008-23']={
webappId:    '7008',
documentId:  '2977',
internalId:  '23',
customField: 'language:en;country:US;'
};
webappMappings['1010']=webappMappings['1010-_Ea_Yard_Lists']={
webappId:    '1010',
documentId:  '230901',
internalId:  '_Ea_Yard_Lists',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '363601',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42',
internalId:  '',
customField: '20100906-001620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5751',
internalId:  '',
customField: '20100901-140727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30301',
internalId:  '',
customField: '20090609-231150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30322',
internalId:  '',
customField: '20090709-020714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40901',
internalId:  '',
customField: '20100906-002908'
};
webappMappings['1010']=webappMappings['1010-_Ea_11fa0126517']={
webappId:    '1010',
documentId:  '63001',
internalId:  '_Ea_11fa0126517',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '292101',
internalId:  '',
customField: '20090322-022558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '231601',
internalId:  '',
customField: '20091028-011530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40922',
internalId:  '',
customField: '20090326-044359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '213701',
internalId:  '',
customField: '20100120-230059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81',
internalId:  '',
customField: '20100906-004129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6072',
internalId:  '',
customField: '20100320-155643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20090326-005254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '395301',
internalId:  '',
customField: '20100614-184219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6488',
internalId:  '',
customField: '20100803-141742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2977',
internalId:  '',
customField: '20090320-014531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '732',
internalId:  '',
customField: '20100526-130108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2986',
internalId:  '',
customField: '20100221-184147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2995',
internalId:  '',
customField: '20100523-171920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119601',
internalId:  '',
customField: '20100208-114614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18201',
internalId:  '',
customField: '20100521-184108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18222',
internalId:  '',
customField: '20100523-175639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18243',
internalId:  '',
customField: '20100523-175952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3004',
internalId:  '',
customField: '20090920-034222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6346',
internalId:  '',
customField: '20100826-150935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5565',
internalId:  '',
customField: '20100306-030628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '230901',
internalId:  '',
customField: '20090328-211312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '219301',
internalId:  '',
customField: '20100523-163134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29801',
internalId:  '',
customField: '20100219-143714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30343',
internalId:  '',
customField: '20090609-152201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29822',
internalId:  '',
customField: '20100306-031424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90',
internalId:  '',
customField: '20100614-183440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3013',
internalId:  '',
customField: '20100614-184550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3022',
internalId:  '',
customField: '20100831-223052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3031',
internalId:  '',
customField: '20090328-211659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94901',
internalId:  '',
customField: '20080911-171931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3040',
internalId:  '',
customField: '20081208-185206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94922',
internalId:  '',
customField: '20090328-211754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27201',
internalId:  '',
customField: '20090406-013456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3049',
internalId:  '',
customField: '20100510-025038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3058',
internalId:  '',
customField: '20090413-023023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3076',
internalId:  '',
customField: '20090910-155908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94964',
internalId:  '',
customField: '20091104-185439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63',
internalId:  '',
customField: '20100903-001438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72',
internalId:  '',
customField: '20100809-232847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '741',
internalId:  '',
customField: '20100831-223357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146701',
internalId:  '',
customField: '20090320-190846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146101',
internalId:  '',
customField: '20100128-140816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '224601',
internalId:  '',
customField: '20090320-191042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6268',
internalId:  '',
customField: '20090328-020247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109301',
internalId:  '',
customField: '20090328-015206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103401',
internalId:  '',
customField: '20090328-015344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '286501',
internalId:  '',
customField: '20090601-001459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114101',
internalId:  '',
customField: '20090328-015413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6277',
internalId:  '',
customField: '20090418-014150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45301',
internalId:  '',
customField: '20081117-035606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116701',
internalId:  '',
customField: '20090518-161853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '442',
internalId:  '',
customField: '20090328-015242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16701',
internalId:  '',
customField: '20100831-013459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16722',
internalId:  '',
customField: '20090319-013046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16743',
internalId:  '',
customField: '20090319-013130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138901',
internalId:  '',
customField: '20090905-204809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138922',
internalId:  '',
customField: '20090319-013331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135401',
internalId:  '',
customField: '20090528-001206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135422',
internalId:  '',
customField: '20100725-011107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135443',
internalId:  '',
customField: '20090320-035714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323401',
internalId:  '',
customField: '20100827-000855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '289501',
internalId:  '',
customField: '20090326-045410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62301',
internalId:  '',
customField: '20090320-035800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143101',
internalId:  '',
customField: '20090416-030612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '246801',
internalId:  '',
customField: '20081115-223749'
};
webappMappings['7005']=webappMappings['7005-61']={
webappId:    '7005',
documentId:  '253001',
internalId:  '61',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '253001',
internalId:  '',
customField: '20090606-203108'
};
webappMappings['7050']=webappMappings['7050-163']={
webappId:    '7050',
documentId:  '45301',
internalId:  '163',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363601',
internalId:  '',
customField: '20091105-034426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364001',
internalId:  '',
customField: '20091109-041859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '399801',
internalId:  '',
customField: '20100903-032122'
};
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHW050INXXVP';
var companyName   = 'World+Ship+Society';
var htmlTitle	  = 'World+Ship+Society';
var metaKeywords  = 'Ships%2C+enthusiasts%2C+shipping+books%2C+research%2C+Marine+News';
var metaContents  = 'The+leading+volunteer+organisation+for+enthusiasts+and+researchers+interested+in+ships+and+shipping+companies.';
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();
};
