/* [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(''), jdecode('%2F42.html'), 'true',[],'',''],
	['PAGE','30301',jdecode('AboutUs%2FSiteMap%2FMedia'),jdecode(''), jdecode('%2F30301.html'), 'true',[],'',''],
	['PAGE','30322',jdecode('Society+History'),jdecode(''), jdecode('%2F30322.html'), 'true',[],'',''],
	['PAGE','40901',jdecode('Chatham'),jdecode(''), jdecode('%2F40901%2Findex.html'), 'true',[ 
		['PAGE','63001',jdecode('Library'),jdecode(''), jdecode('%2F40901%2F63001.html'), 'true',[],'','']
	],'',''],
	['PAGE','231601',jdecode('Archive+Digitisation'),jdecode(''), jdecode('%2F231601.html'), 'true',[],'',''],
	['PAGE','40922',jdecode('Venture+Fund'),jdecode(''), jdecode('%2F40922.html'), 'true',[],'',''],
	['PAGE','5751',jdecode('ANNOUNCEMENTS'),jdecode(''), jdecode('%2F5751.html'), 'true',[],'',''],
	['PAGE','81',jdecode('Society+News'),jdecode(''), jdecode('%2F81.html'), 'true',[],'',''],
	['PAGE','6072',jdecode('Branch+Events'),jdecode(''), jdecode('%2F6072.html'), 'true',[],'',''],
	['PAGE','323401',jdecode('Obituaries'),jdecode(''), jdecode('%2F323401.html'), 'true',[],'',''],
	['PAGE','6488',jdecode('Enquiries+Board'),jdecode(''), jdecode('%2F6488.html'), 'true',[],'',''],
	['PAGE','319501',jdecode('WSS+Forum+1'),jdecode(''), jdecode('%2F319501.html'), 'true',[],'',''],
	['PAGE','90',jdecode('MEMBERSHIP'),jdecode(''), jdecode('%2F90.html'), 'true',[],'',''],
	['PAGE','3022',jdecode('Application+form+%2F+Costs'),jdecode(''), jdecode('%2F3022.html'), 'true',[],'',''],
	['PAGE','3013',jdecode('Benefits'),jdecode(''), jdecode('%2F3013.html'), 'true',[],'',''],
	['PAGE','2977',jdecode('PUBLICATIONS'),jdecode(''), jdecode('%2F2977.html'), 'true',[],'',''],
	['PAGE','732',jdecode('WSS+Books+Available'),jdecode(''), jdecode('%2F732.html'), 'true',[],'',''],
	['PAGE','2986',jdecode('WSS+Publication+History'),jdecode(''), jdecode('%2F2986.html'), 'true',[],'',''],
	['PAGE','2995',jdecode('Member+Publications+A-C'),jdecode(''), jdecode('%2F2995.html'), 'true',[],'',''],
	['PAGE','119601',jdecode('Member+Publications+D-H'),jdecode(''), jdecode('%2F119601.html'), 'true',[],'',''],
	['PAGE','18201',jdecode('Member+Publications+I-N'),jdecode(''), jdecode('%2F18201.html'), 'true',[],'',''],
	['PAGE','18222',jdecode('Member+Publications+O-S'),jdecode(''), jdecode('%2F18222.html'), 'true',[],'',''],
	['PAGE','18243',jdecode('Member+Publications+T-Z'),jdecode(''), jdecode('%2F18243.html'), 'true',[],'',''],
	['PAGE','3004',jdecode('Interesting+Publications'),jdecode(''), jdecode('%2F3004.html'), 'true',[],'',''],
	['PAGE','219301',jdecode('Publication+Search'),jdecode(''), jdecode('%2F219301.html'), 'true',[],'',''],
	['PAGE','6346',jdecode('Marine+News+%2F+Warships'),jdecode(''), jdecode('%2F6346.html'), 'true',[],'',''],
	['PAGE','5565',jdecode('Registers'),jdecode(''), jdecode('%2F5565.html'), 'true',[],'',''],
	['PAGE','230901',jdecode('Yard+Lists'),jdecode(''), jdecode('%2F230901.html'), 'true',[],'',''],
	['PAGE','29801',jdecode('NAVAL+AFFAIRS'),jdecode(''), jdecode('%2F29801.html'), 'true',[],'',''],
	['PAGE','30343',jdecode('Warships+magazine'),jdecode(''), jdecode('%2F30343.html'), 'true',[],'',''],
	['PAGE','29822',jdecode('Small+Craft+Group'),jdecode(''), jdecode('%2F29822.html'), 'true',[],'',''],
	['PAGE','253001',jdecode('POLL+QUESTION+%23+1'),jdecode(''), jdecode('%2F253001.html'), 'true',[],'',''],
	['PAGE','3031',jdecode('LINKS'),jdecode(''), jdecode('%2F3031.html'), 'true',[],'',''],
	['PAGE','213701',jdecode('Sponsors'),jdecode(''), jdecode('%2F213701.html'), 'true',[],'',''],
	['PAGE','94901',jdecode('Excursions'),jdecode(''), jdecode('%2F94901.html'), 'true',[],'',''],
	['PAGE','3040',jdecode('Geneaology'),jdecode(''), jdecode('%2F3040.html'), 'true',[],'',''],
	['PAGE','94922',jdecode('Maritime+History'),jdecode(''), jdecode('%2F94922.html'), 'true',[],'',''],
	['PAGE','27201',jdecode('Museums'),jdecode(''), jdecode('%2F27201.html'), 'true',[],'',''],
	['PAGE','3049',jdecode('Preserved+Vessels'),jdecode(''), jdecode('%2F3049.html'), 'true',[],'',''],
	['PAGE','3058',jdecode('Shipping+information'),jdecode(''), jdecode('%2F3058.html'), 'true',[],'',''],
	['PAGE','3076',jdecode('Societies%2FOrganisations'),jdecode(''), jdecode('%2F3076.html'), 'true',[],'',''],
	['PAGE','94964',jdecode('WSS+Member+Sites'),jdecode(''), jdecode('%2F94964.html'), 'true',[],'',''],
	['PAGE','63',jdecode('BRANCHES'),jdecode(''), jdecode('%2F63.html'), 'true',[],'',''],
	['PAGE','72',jdecode('United+Kingdom'),jdecode(''), jdecode('%2F72.html'), 'true',[],'',''],
	['PAGE','741',jdecode('Rest+of+the+World'),jdecode(''), jdecode('%2F741.html'), 'true',[],'',''],
	['PAGE','146701',jdecode('BLOGS'),jdecode(''), jdecode('%2F146701%2Findex.html'), 'true',[ 
		['PAGE','146101',jdecode('Ann+Haynes'),jdecode(''), jdecode('%2F146701%2F146101.html'), 'true',[],'',''],
		['PAGE','224601',jdecode('Bruce+Peter'),jdecode(''), jdecode('%2F146701%2F224601.html'), 'true',[],'','']
	],'',''],
	['PAGE','6268',jdecode('IMAGES'),jdecode(''), jdecode('%2F6268.html'), 'true',[],'',''],
	['PAGE','426401',jdecode('W.S.P.L.'),jdecode(''), jdecode('%2F426401%2Findex.html'), 'true',[ 
		['PAGE','426422',jdecode('W.S.P.L.+Photo+Offers'),jdecode(''), jdecode('%2F426401%2F426422.html'), 'true',[],'','']
	],'',''],
	['PAGE','364001',jdecode('Photo+Album-BUR-00'),jdecode(''), jdecode('%2F364001.html'), 'true',[],'',''],
	['PAGE','109301',jdecode('Photo+Album-BUR-01'),jdecode(''), jdecode('%2F109301.html'), 'true',[],'',''],
	['PAGE','442',jdecode('Photo+Album-BUR-02'),jdecode(''), jdecode('%2F442.html'), 'true',[],'',''],
	['PAGE','286501',jdecode('Photo+Album-CHS-01'),jdecode(''), jdecode('%2F286501.html'), 'true',[],'',''],
	['PAGE','103401',jdecode('Photo+Album-GUS-01'),jdecode(''), jdecode('%2F103401.html'), 'true',[],'',''],
	['PAGE','445901',jdecode('Photo+Album-GUS-02'),jdecode(''), jdecode('%2F445901.html'), 'true',[],'',''],
	['PAGE','419101',jdecode('Photo+Album-JMF-01'),jdecode(''), jdecode('%2F419101.html'), 'true',[],'',''],
	['PAGE','114101',jdecode('Photo+Album-TRE-01'),jdecode(''), jdecode('%2F114101.html'), 'true',[],'',''],
	['PAGE','6277',jdecode('Photo+Album-VAN-01'),jdecode(''), jdecode('%2F6277.html'), 'true',[],'',''],
	['PAGE','289501',jdecode('Photo+Album-VAN-02'),jdecode(''), jdecode('%2F289501.html'), 'true',[],'',''],
	['PAGE','116701',jdecode('Photo+Album-MYSTERY'),jdecode(''), jdecode('%2F116701%2Findex.html'), 'true',[ 
		['PAGE','363601',jdecode('Search+Website'),jdecode(''), jdecode('%2F116701%2F363601.html'), 'true',[],'','']
	],'',''],
	['PAGE','16701',jdecode('FROM+THE+PAST'),jdecode(''), jdecode('%2F16701.html'), 'true',[],'',''],
	['PAGE','399801',jdecode('AGM+2010'),jdecode(''), jdecode('%2F399801.html'), 'true',[],'',''],
	['PAGE','320301',jdecode('AGM+2009'),jdecode(''), jdecode('%2F320301.html'), 'true',[],'',''],
	['PAGE','14101',jdecode('AGM+2008'),jdecode(''), jdecode('%2F14101.html'), 'true',[],'',''],
	['PAGE','16722',jdecode('AGM+2007'),jdecode(''), jdecode('%2F16722.html'), 'true',[],'',''],
	['PAGE','16743',jdecode('AGM+2006'),jdecode(''), jdecode('%2F16743.html'), 'true',[],'',''],
	['PAGE','138901',jdecode('AGM+2005'),jdecode(''), jdecode('%2F138901.html'), 'true',[],'',''],
	['PAGE','138922',jdecode('AGM+2004'),jdecode(''), jdecode('%2F138922.html'), 'true',[],'',''],
	['PAGE','410601',jdecode('Remember+When'),jdecode(''), jdecode('%2F410601.html'), 'true',[],'',''],
	['PAGE','417901',jdecode('Old+Enquiries'),jdecode(''), jdecode('%2F417901.html'), 'true',[],'',''],
	['PAGE','135401',jdecode('Br+Notes+Costa+Blanca'),jdecode(''), jdecode('%2F135401.html'), 'true',[],'',''],
	['PAGE','135422',jdecode('Br+Notes+South+Coast'),jdecode(''), jdecode('%2F135422.html'), 'true',[],'',''],
	['PAGE','135443',jdecode('Br+Notes+Vancouver'),jdecode(''), jdecode('%2F135443%2Findex.html'), 'true',[ 
		['PAGE','62301',jdecode('Bonsor2'),jdecode(''), jdecode('%2F135443%2F62301.html'), 'true',[],'','']
	],'',''],
	['PAGE','143101',jdecode('...'),jdecode(''), jdecode('%2F143101.html'), 'true',[],'',''],
	['PAGE','313601',jdecode('Admin-Apr+20%2C+2009'),jdecode(''), jdecode('%2F313601%2Findex.html'), 'false',[ 
		['PAGE','246801',jdecode('LOG+IN'),jdecode(''), jdecode('%2F313601%2F246801.html'), 'false',[],'','']
	],'',''],
	['PAGE','45301',jdecode('Admin-trial'),jdecode(''), jdecode('%2F45301.html'), 'false',[],'',''],
	['PAGE','287501',jdecode('Photo+Album-NEW-01'),jdecode(''), jdecode('%2F287501.html'), 'false',[],'',''],
	['PAGE','292101',jdecode('Council+Papers'),jdecode(''), jdecode('%2F292101.html'), 'false',[],'',''],
	['PAGE','315001',jdecode('Society+Personalia'),jdecode(''), jdecode('%2F315001.html'), 'false',[],'',''],
	['PAGE','395301',jdecode('AIS+Live'),jdecode(''), jdecode('%2F395301.html'), 'false',[],'','']];
var siteelementCount=86;
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 prodDef={
  wl_name: 'netnation',
  product: 'WSCSYSSSSLYTC24G'
};
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: '20110220-124643'
};
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: '20110220-130923'
};
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: '20110220-125028'
};
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: '20120201-033822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5751',
internalId:  '',
customField: '20120201-025514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30301',
internalId:  '',
customField: '20111022-010736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30322',
internalId:  '',
customField: '20120122-035634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40901',
internalId:  '',
customField: '20111214-165206'
};
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: '20110220-124711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40922',
internalId:  '',
customField: '20110220-124733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '213701',
internalId:  '',
customField: '20110220-125845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81',
internalId:  '',
customField: '20120124-010044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6072',
internalId:  '',
customField: '20111022-011248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20110220-131005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '395301',
internalId:  '',
customField: '20100614-184219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6488',
internalId:  '',
customField: '20120124-014515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2977',
internalId:  '',
customField: '20110220-125232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '732',
internalId:  '',
customField: '20120201-034729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2986',
internalId:  '',
customField: '20120130-235123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2995',
internalId:  '',
customField: '20110406-023317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119601',
internalId:  '',
customField: '20110407-011229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18201',
internalId:  '',
customField: '20110407-012829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18222',
internalId:  '',
customField: '20110406-024616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18243',
internalId:  '',
customField: '20111210-022524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3004',
internalId:  '',
customField: '20110314-234335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6346',
internalId:  '',
customField: '20111205-234030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5565',
internalId:  '',
customField: '20110918-022102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '230901',
internalId:  '',
customField: '20110220-125542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '219301',
internalId:  '',
customField: '20110407-012917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29801',
internalId:  '',
customField: '20110220-125607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30343',
internalId:  '',
customField: '20110220-125656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29822',
internalId:  '',
customField: '20110220-125723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90',
internalId:  '',
customField: '20111022-012100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3013',
internalId:  '',
customField: '20111022-012756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3022',
internalId:  '',
customField: '20111022-012510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3031',
internalId:  '',
customField: '20110220-125806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94901',
internalId:  '',
customField: '20110220-125923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3040',
internalId:  '',
customField: '20110220-130007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94922',
internalId:  '',
customField: '20110220-130035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27201',
internalId:  '',
customField: '20110220-130102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3049',
internalId:  '',
customField: '20110220-130140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3058',
internalId:  '',
customField: '20110220-130206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3076',
internalId:  '',
customField: '20110220-130232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94964',
internalId:  '',
customField: '20120108-172623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63',
internalId:  '',
customField: '20110220-130346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72',
internalId:  '',
customField: '20120124-011348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '741',
internalId:  '',
customField: '20120112-190723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146701',
internalId:  '',
customField: '20110220-130458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146101',
internalId:  '',
customField: '20110220-130517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '224601',
internalId:  '',
customField: '20110220-130606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6268',
internalId:  '',
customField: '20110220-130631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109301',
internalId:  '',
customField: '20090328-015206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103401',
internalId:  '',
customField: '20110305-025251'
};
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: '20110305-214158'
};
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: '20110220-131036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16743',
internalId:  '',
customField: '20110220-131102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138901',
internalId:  '',
customField: '20110220-131133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138922',
internalId:  '',
customField: '20110220-131159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135401',
internalId:  '',
customField: '20110220-131411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135422',
internalId:  '',
customField: '20110220-131440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135443',
internalId:  '',
customField: '20110220-131510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323401',
internalId:  '',
customField: '20111129-194620'
};
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: '20111105-174213'
};
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: '20110220-125745'
};
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: '20110220-130838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '410601',
internalId:  '',
customField: '20110220-131240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '417901',
internalId:  '',
customField: '20110220-131308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '419101',
internalId:  '',
customField: '20110107-003721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '426401',
internalId:  '',
customField: '20111027-001019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '426422',
internalId:  '',
customField: '20110220-130758'
};
webappMappings['5003']=webappMappings['5003-tid:1;pid:WSCSYSSSSLYTC24G']={
webappId:    '5003',
documentId:  '42',
internalId:  'tid:1;pid:WSCSYSSSSLYTC24G',
customField: 'en:US::;language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '445901',
internalId:  '',
customField: '20110305-032155'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker03.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();
};

