/* [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','501',jdecode('Home'),jdecode(''), jdecode('%2F501.html'), 'true',[],'',''],
	['PAGE','552',jdecode('About+SLSA+Wales'),jdecode(''), jdecode('%2F552%2Findex.html'), 'true',[ 
		['PAGE','594',jdecode('Board+of+Management'),jdecode(''), jdecode('%2F552%2F594.html'), 'true',[],'',''],
		['PAGE','573',jdecode('History'),jdecode(''), jdecode('%2F552%2F573.html'), 'true',[],'',''],
		['PAGE','930',jdecode('How+to+Join'),jdecode(''), jdecode('%2F552%2F930.html'), 'true',[],'',''],
		['PAGE','783',jdecode('IRB+Commission'),jdecode(''), jdecode('%2F552%2F783.html'), 'true',[],'',''],
		['PAGE','7022',jdecode('Sponsors'),jdecode(''), jdecode('%2F552%2F7022.html'), 'true',[],'',''],
		['PAGE','804',jdecode('Sports+Commission'),jdecode(''), jdecode('%2F552%2F804.html'), 'true',[],'',''],
		['PAGE','846',jdecode('Technical+Commision'),jdecode(''), jdecode('%2F552%2F846.html'), 'true',[],'',''],
		['PAGE','825',jdecode('Youth+Commission'),jdecode(''), jdecode('%2F552%2F825.html'), 'true',[],'','']
	],'',''],
	['PAGE','7043',jdecode('Sun+%26+Beach+Safety'),jdecode(''), jdecode('%2F7043%2Findex.html'), 'true',[ 
		['PAGE','240423',jdecode('Tombstoning'),jdecode(''), jdecode('%2F7043%2F240423.html'), 'true',[],'','']
	],'',''],
	['PAGE','867',jdecode('Calendar+of+Events'),jdecode(''), jdecode('%2F867.html'), 'true',[],'',''],
	['PAGE','7001',jdecode('Clubs'),jdecode(''), jdecode('%2F7001%2Findex.html'), 'true',[ 
		['PAGE','73601',jdecode('Atlantic+College'),jdecode(''), jdecode('%2F7001%2F73601.html'), 'true',[],'',''],
		['PAGE','86401',jdecode('Mumbles'),jdecode(''), jdecode('%2F7001%2F86401.html'), 'true',[],'',''],
		['PAGE','94801',jdecode('Newport+Pembs'),jdecode(''), jdecode('%2F7001%2F94801.html'), 'true',[],'',''],
		['PAGE','190912',jdecode('Porthcawl'),jdecode(''), jdecode('%2F7001%2F190912.html'), 'true',[],'',''],
		['PAGE','69101',jdecode('Porthmawr'),jdecode(''), jdecode('%2F7001%2F69101.html'), 'true',[],'',''],
		['PAGE','69122',jdecode('Rest+Bay'),jdecode(''), jdecode('%2F7001%2F69122.html'), 'true',[],'',''],
		['PAGE','87601',jdecode('Rhoose'),jdecode(''), jdecode('%2F7001%2F87601.html'), 'true',[],'',''],
		['PAGE','85101',jdecode('Rhondda+%28Cold+Knap%29'),jdecode(''), jdecode('%2F7001%2F85101.html'), 'true',[],'',''],
		['PAGE','72301',jdecode('Southerndown'),jdecode(''), jdecode('%2F7001%2F72301.html'), 'true',[],'','']
	],'',''],
	['PAGE','951',jdecode('Contact+Us'),jdecode(''), jdecode('%2F951.html'), 'true',[],'',''],
	['PAGE','54501',jdecode('Coaching'),jdecode(''), jdecode('%2F54501.html'), 'true',[],'',''],
	['PAGE','79901',jdecode('Communications'),jdecode(''), jdecode('%2F79901%2Findex.html'), 'true',[ 
		['PAGE','110101',jdecode('February+2011'),jdecode(''), jdecode('%2F79901%2F110101.html'), 'true',[],'',''],
		['PAGE','130912',jdecode('March+2011'),jdecode(''), jdecode('%2F79901%2F130912.html'), 'true',[],'',''],
		['PAGE','136212',jdecode('April+2011'),jdecode(''), jdecode('%2F79901%2F136212.html'), 'true',[],'',''],
		['PAGE','140112',jdecode('May+2011'),jdecode(''), jdecode('%2F79901%2F140112.html'), 'true',[],'',''],
		['PAGE','141212',jdecode('June+2011'),jdecode(''), jdecode('%2F79901%2F141212.html'), 'true',[],'',''],
		['PAGE','160812',jdecode('October+2011'),jdecode(''), jdecode('%2F79901%2F160812.html'), 'true',[],'',''],
		['PAGE','283923',jdecode('November+2011'),jdecode(''), jdecode('%2F79901%2F283923.html'), 'true',[],'','']
	],'',''],
	['PAGE','741',jdecode('Competition'),jdecode(''), jdecode('%2F741%2Findex.html'), 'true',[ 
		['PAGE','212812',jdecode('Celtic+Challenge+Cup'),jdecode(''), jdecode('%2F741%2F212812.html'), 'true',[],'',''],
		['PAGE','97001',jdecode('Doping+Policy'),jdecode(''), jdecode('%2F741%2F97001.html'), 'true',[],'',''],
		['PAGE','94101',jdecode('Entry+Forms+2011'),jdecode(''), jdecode('%2F741%2F94101.html'), 'true',[],'',''],
		['PAGE','105701',jdecode('Results+Archive'),jdecode(''), jdecode('%2F741%2F105701.html'), 'true',[],'',''],
		['PAGE','177812',jdecode('Results+2011'),jdecode(''), jdecode('%2F741%2F177812.html'), 'true',[],'',''],
		['PAGE','678',jdecode('Senior'),jdecode(''), jdecode('%2F741%2F678.html'), 'true',[],'',''],
		['PAGE','657',jdecode('Welsh+Team'),jdecode(''), jdecode('%2F741%2F657.html'), 'true',[],'','']
	],'',''],
	['PAGE','59101',jdecode('Downloads+%26+Links'),jdecode(''), jdecode('%2F59101%2Findex.html'), 'true',[ 
		['PAGE','122212',jdecode('Competition+Links'),jdecode(''), jdecode('%2F59101%2F122212.html'), 'true',[],'',''],
		['PAGE','993',jdecode('Club+Links'),jdecode(''), jdecode('%2F59101%2F993.html'), 'true',[],'',''],
		['PAGE','121212',jdecode('Club+Links+International'),jdecode(''), jdecode('%2F59101%2F121212.html'), 'true',[],'',''],
		['PAGE','121233',jdecode('Club+Links+GB'),jdecode(''), jdecode('%2F59101%2F121233.html'), 'true',[],'',''],
		['PAGE','66701',jdecode('Documents'),jdecode(''), jdecode('%2F59101%2F66701.html'), 'true',[],'',''],
		['PAGE','99901',jdecode('Equipment+Links'),jdecode(''), jdecode('%2F59101%2F99901.html'), 'true',[],'',''],
		['PAGE','121254',jdecode('Interesting+Links'),jdecode(''), jdecode('%2F59101%2F121254.html'), 'true',[],'',''],
		['PAGE','126012',jdecode('IRB+Links'),jdecode(''), jdecode('%2F59101%2F126012.html'), 'true',[],'',''],
		['PAGE','121275',jdecode('Organisation+Links'),jdecode(''), jdecode('%2F59101%2F121275.html'), 'true',[],'',''],
		['PAGE','123012',jdecode('Surfboat+Links'),jdecode(''), jdecode('%2F59101%2F123012.html'), 'true',[],'',''],
		['PAGE','123612',jdecode('Surfski+Links'),jdecode(''), jdecode('%2F59101%2F123612.html'), 'true',[],'','']
	],'',''],
	['PAGE','106622',jdecode('For+Sale'),jdecode(''), jdecode('%2F106622.html'), 'true',[],'',''],
	['PAGE','133012',jdecode('GB+News'),jdecode(''), jdecode('%2F133012.html'), 'true',[],'',''],
	['PAGE','2906',jdecode('Guestbook'),jdecode(''), jdecode('%2F2906%2Findex.html'), 'true',[ 
		['PAGE','2901',jdecode('Read+Guestbook'),jdecode(''), jdecode('%2F2906%2F2901.html'), 'false',[],'','']
	],'',''],
	['PAGE','59122',jdecode('Inshore+Rescue+Boats'),jdecode(''), jdecode('%2F59122%2Findex.html'), 'true',[ 
		['PAGE','63101',jdecode('IRB+Clothing'),jdecode(''), jdecode('%2F59122%2F63101.html'), 'true',[],'',''],
		['PAGE','63701',jdecode('IRB+Locations+and+Details'),jdecode(''), jdecode('%2F59122%2F63701.html'), 'true',[],'',''],
		['PAGE','59143',jdecode('IRB+News'),jdecode(''), jdecode('%2F59122%2F59143.html'), 'true',[],'','']
	],'',''],
	['PAGE','75501',jdecode('Nippers'),jdecode(''), jdecode('%2F75501.html'), 'true',[],'',''],
	['PAGE','909',jdecode('Photo+Gallery'),jdecode(''), jdecode('%2F909%2Findex.html'), 'true',[ 
		['PAGE','210912',jdecode('Hossegor+2009'),jdecode(''), jdecode('%2F909%2F210912.html'), 'true',[],'',''],
		['PAGE','204112',jdecode('IRB+Champs+2009'),jdecode(''), jdecode('%2F909%2F204112.html'), 'true',[],'',''],
		['PAGE','212212',jdecode('IRB+European+Champs+2009'),jdecode(''), jdecode('%2F909%2F212212.html'), 'true',[],'',''],
		['PAGE','212512',jdecode('IRB+Training+Weekend+2009'),jdecode(''), jdecode('%2F909%2F212512.html'), 'true',[],'',''],
		['PAGE','214812',jdecode('Presentation+Night+2009'),jdecode(''), jdecode('%2F909%2F214812.html'), 'true',[],'',''],
		['PAGE','245923',jdecode('Nipper+Championships+2010'),jdecode(''), jdecode('%2F909%2F245923.html'), 'true',[],'',''],
		['PAGE','281423',jdecode('Youth+Presentation+2011'),jdecode(''), jdecode('%2F909%2F281423.html'), 'true',[],'','']
	],'',''],
	['PAGE','195912',jdecode('Technical'),jdecode(''), jdecode('%2F195912%2Findex.html'), 'true',[ 
		['PAGE','235923',jdecode('Awards'),jdecode(''), jdecode('%2F195912%2F235923.html'), 'true',[],'',''],
		['PAGE','235944',jdecode('FAQ'),jdecode(''), jdecode('%2F195912%2F235944.html'), 'true',[],'',''],
		['PAGE','235965',jdecode('Dates+and+Minutes'),jdecode(''), jdecode('%2F195912%2F235965.html'), 'true',[],'',''],
		['PAGE','235986',jdecode('NaRs+Lifeguard'),jdecode(''), jdecode('%2F195912%2F235986.html'), 'true',[],'',''],
		['PAGE','236007',jdecode('Out+and+About'),jdecode(''), jdecode('%2F195912%2F236007.html'), 'true',[],'',''],
		['PAGE','236028',jdecode('Running+the+Awards'),jdecode(''), jdecode('%2F195912%2F236028.html'), 'true',[],'',''],
		['PAGE','236049',jdecode('Tech+Commission'),jdecode(''), jdecode('%2F195912%2F236049.html'), 'true',[],'','']
	],'',''],
	['PAGE','699',jdecode('Youth'),jdecode(''), jdecode('%2F699.html'), 'true',[],'','']];
var siteelementCount=79;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='AC2323';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='356';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='AC2323';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'brinkster',
  product: 'WSCSYSSSSLYTCVUO'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'AC2323',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'356',
				contentColor: 	'FFFFFF',
				contentBGColor: 'AC2323',
				a_color: 		'AC2323',
				b_color: 		'480F0F',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-2906abri10in2cns']={
webappId:    '1002',
documentId:  '2906',
internalId:  '2906abri10in2cns',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20111119-064519'
};
webappMappings['1501']=webappMappings['1501-6218493']={
webappId:    '1501',
documentId:  '501',
internalId:  '6218493',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '210912',
internalId:  '',
customField: '20091011-102336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20070530-203631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594',
internalId:  '',
customField: '20111108-045358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '573',
internalId:  '',
customField: '20070530-210310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '930',
internalId:  '',
customField: '20111108-045309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '783',
internalId:  '',
customField: '20071215-114403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7022',
internalId:  '',
customField: '20080122-160032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '804',
internalId:  '',
customField: '20070529-094749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '846',
internalId:  '',
customField: '20080107-153019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '825',
internalId:  '',
customField: '20071215-114624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7043',
internalId:  '',
customField: '20090816-083536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '867',
internalId:  '',
customField: '20111119-064637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7001',
internalId:  '',
customField: '20110814-144637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73601',
internalId:  '',
customField: '20080123-032359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86401',
internalId:  '',
customField: '20071201-133225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94801',
internalId:  '',
customField: '20080111-143141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69101',
internalId:  '',
customField: '20090610-154248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69122',
internalId:  '',
customField: '20071201-132154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87601',
internalId:  '',
customField: '20071203-125300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85101',
internalId:  '',
customField: '20071126-031008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72301',
internalId:  '',
customField: '20100822-053431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '951',
internalId:  '',
customField: '20100625-153149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54501',
internalId:  '',
customField: '20110807-094102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79901',
internalId:  '',
customField: '20110320-093531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195912',
internalId:  '',
customField: '20100518-163850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '236049',
internalId:  '',
customField: '20100516-062437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110101',
internalId:  '',
customField: '20110320-094312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130912',
internalId:  '',
customField: '20110320-095013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136212',
internalId:  '',
customField: '20110603-110505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140112',
internalId:  '',
customField: '20110603-111119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141212',
internalId:  '',
customField: '20110713-145704'
};
webappMappings['7060']=webappMappings['7060-08f07314208527165d76796f92b254ea']={
webappId:    '7060',
documentId:  '281423',
internalId:  '08f07314208527165d76796f92b254ea',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-7c7a71a36718e6726295f113a44bbad1']={
webappId:    '7060',
documentId:  '210912',
internalId:  '7c7a71a36718e6726295f113a44bbad1',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '281423',
internalId:  '',
customField: '20111111-040445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160812',
internalId:  '',
customField: '20111106-090811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '741',
internalId:  '',
customField: '20110812-035607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97001',
internalId:  '',
customField: '20110320-085440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94101',
internalId:  '',
customField: '20110621-160245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '283923',
internalId:  '',
customField: '20111120-064357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75501',
internalId:  '',
customField: '20110206-073358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '177812',
internalId:  '',
customField: '20110918-075822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105701',
internalId:  '',
customField: '20110130-101934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '678',
internalId:  '',
customField: '20080122-160844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '657',
internalId:  '',
customField: '20100727-154013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '699',
internalId:  '',
customField: '20110612-113523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59101',
internalId:  '',
customField: '20110125-164043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122212',
internalId:  '',
customField: '20110130-102526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '993',
internalId:  '',
customField: '20080323-083915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121212',
internalId:  '',
customField: '20080326-142653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121233',
internalId:  '',
customField: '20080326-112414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66701',
internalId:  '',
customField: '20110130-102649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190912',
internalId:  '',
customField: '20110918-072358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99901',
internalId:  '',
customField: '20090131-093637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121254',
internalId:  '',
customField: '20110326-103203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126012',
internalId:  '',
customField: '20080325-152931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121275',
internalId:  '',
customField: '20110613-184432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123012',
internalId:  '',
customField: '20080323-094428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123612',
internalId:  '',
customField: '20080323-133340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106622',
internalId:  '',
customField: '20111119-055306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133012',
internalId:  '',
customField: '20100423-034711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2906',
internalId:  '',
customField: '20060805-053423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2901',
internalId:  '',
customField: '20060805-053423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59122',
internalId:  '',
customField: '20090407-031840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63101',
internalId:  '',
customField: '20080122-161526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63701',
internalId:  '',
customField: '20081127-122003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59143',
internalId:  '',
customField: '20090407-023826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '909',
internalId:  '',
customField: '20100725-144203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '204112',
internalId:  '',
customField: '20090915-164049'
};
webappMappings['7060']=webappMappings['7060-ee78cf36c4d1e48ed0ebc3813d62ac88']={
webappId:    '7060',
documentId:  '204112',
internalId:  'ee78cf36c4d1e48ed0ebc3813d62ac88',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-92f78f1b77428a56408d83d8e0477f9b']={
webappId:    '7060',
documentId:  '212212',
internalId:  '92f78f1b77428a56408d83d8e0477f9b',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212212',
internalId:  '',
customField: '20091011-104605'
};
webappMappings['7060']=webappMappings['7060-efafe380981fd7da85e4359e2da76016']={
webappId:    '7060',
documentId:  '212512',
internalId:  'efafe380981fd7da85e4359e2da76016',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212512',
internalId:  '',
customField: '20091011-105405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212812',
internalId:  '',
customField: '20110320-090039'
};
webappMappings['7060']=webappMappings['7060-6a426fb0ac05e2ddd8de4603b8375784']={
webappId:    '7060',
documentId:  '214812',
internalId:  '6a426fb0ac05e2ddd8de4603b8375784',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '214812',
internalId:  '',
customField: '20091023-103139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '235944',
internalId:  '',
customField: '20100516-062521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '235923',
internalId:  '',
customField: '20100516-063919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '235986',
internalId:  '',
customField: '20100516-064805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '236028',
internalId:  '',
customField: '20100516-064416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '236007',
internalId:  '',
customField: '20100516-064848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '235965',
internalId:  '',
customField: '20100518-164322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '240423',
internalId:  '',
customField: '20100609-161135'
};
webappMappings['7060']=webappMappings['7060-d51bc22f58aa8529937933fb07a7c93b']={
webappId:    '7060',
documentId:  '245923',
internalId:  'd51bc22f58aa8529937933fb07a7c93b',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '245923',
internalId:  '',
customField: '20100725-144238'
};
var webAppHostname = 'wsc.brinkster.com:80';
var canonHostname = 'wsc1.brinkster.com';
var accountId     = 'ABRI10IN2CNS';
var companyName   = 'Surf+Life+Saving+Wales';
var htmlTitle	  = 'S.L.S.A+Wales';
var metaKeywords  = 'SLSA%2C+SLSA+Wales%2C+Surf+Life+Rescue%2C+Surfing';
var metaContents  = '';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};

