/* [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','3001',jdecode('Home+Page'),jdecode(''),'/3001.html','true',[],'',''],
	['PAGE','15601',jdecode('News+and+Information'),jdecode(''),'/15601/index.html','true',[ 
		['PAGE','245175',jdecode('Latest+Results'),jdecode(''),'/15601/245175.html','true',[],'',''],
		['PAGE','17701',jdecode('Kit+and+Training+Wear'),jdecode(''),'/15601/17701.html','true',[],'',''],
		['PAGE','233067',jdecode('Ossett+Town+Juniors+Gala'),jdecode(''),'/15601/233067.html','true',[],'',''],
		['PAGE','416120',jdecode('Club+Honours'),jdecode(''),'/15601/416120.html','true',[],'',''],
		['PAGE','467403',jdecode('Club+Records'),jdecode(''),'/15601/467403.html','true',[],'',''],
		['PAGE','468603',jdecode('Club+Awards'),jdecode(''),'/15601/468603.html','true',[],'',''],
		['PAGE','19001',jdecode('Boot+Room'),jdecode(''),'/15601/19001.html','true',[],'',''],
		['PAGE','17201',jdecode('FA%2C+Club+and+League+Rules'),jdecode(''),'/15601/17201.html','true',[],'','']
	],'',''],
	['PAGE','17101',jdecode('Guestbook'),jdecode(''),'/17101.html','true',[],'',''],
	['PAGE','1532',jdecode('Contact+Us'),jdecode(''),'/1532.html','true',[],'',''],
	['PAGE','47401',jdecode('Directions'),jdecode(''),'/47401/index.html','true',[ 
		['PAGE','379982',jdecode('Bywell+Playing+Fields'),jdecode(''),'/47401/379982.html','true',[],'',''],
		['PAGE','247586',jdecode('Haggs+Hill'),jdecode(''),'/47401/247586.html','true',[],'',''],
		['PAGE','41201',jdecode('Highfield+School'),jdecode(''),'/47401/41201.html','true',[],'',''],
		['PAGE','190167',jdecode('Springmill+Playing+Fields'),jdecode(''),'/47401/190167.html','true',[],'','']
	],'',''],
	['PAGE','82512',jdecode('Coaching+Resources'),jdecode(''),'/82512.html','true',[],'',''],
	['PAGE','1637',jdecode('Website+Links'),jdecode(''),'/1637.html','true',[],'',''],
	['PAGE','157034',jdecode('Girls+Football'),jdecode(''),'/157034.html','true',[],'',''],
	['PAGE','174634',jdecode('Under+5s'),jdecode(''),'/174634.html','true',[],'',''],
	['PAGE','447103',jdecode('Under+6s'),jdecode(''),'/447103/index.html','true',[ 
		['PAGE','447129',jdecode('U6%26%23x27%3Bs+News'),jdecode(''),'/447103/447129.html','true',[],'',''],
		['PAGE','447155',jdecode('U6%26%23x27%3Bs+Match+Reports'),jdecode(''),'/447103/447155.html','true',[],'',''],
		['PAGE','447181',jdecode('U6%26%23x27%3Bs+Fixtures+and+Results'),jdecode(''),'/447103/447181.html','true',[],'','']
	],'',''],
	['PAGE','326271',jdecode('Under+7s'),jdecode(''),'/326271/index.html','true',[ 
		['PAGE','326297',jdecode('U7%26%23x27%3Bs+News'),jdecode(''),'/326271/326297.html','true',[],'',''],
		['PAGE','448003',jdecode('U7%26%23x27%3Bs+Match+Reports'),jdecode(''),'/326271/448003.html','true',[],'',''],
		['PAGE','326349',jdecode('U7%26%23x27%3Bs+Fixtures+and+Results'),jdecode(''),'/326271/326349.html','true',[],'',''],
		['PAGE','489314',jdecode('U7s+Statistics'),jdecode(''),'/326271/489314.html','true',[],'','']
	],'',''],
	['PAGE','4527',jdecode('Under+8s'),jdecode(''),'/4527/index.html','true',[ 
		['PAGE','354382',jdecode('U8%26%23x27%3Bs+Teams'),jdecode(''),'/4527/354382.html','true',[],'',''],
		['PAGE','27001',jdecode('U8%26%23x27%3Bs+News'),jdecode(''),'/4527/27001.html','true',[],'',''],
		['PAGE','332671',jdecode('U8%26%23x27%3Bs+Fixtures'),jdecode(''),'/4527/332671.html','true',[],'',''],
		['PAGE','237478',jdecode('U8%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4527/237478.html','true',[],'','']
	],'',''],
	['PAGE','4553',jdecode('Under+9s'),jdecode(''),'/4553/index.html','true',[ 
		['PAGE','25601',jdecode('U9%26%23x27%3Bs+News'),jdecode(''),'/4553/25601.html','true',[],'',''],
		['PAGE','448603',jdecode('U9%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4553/448603.html','true',[],'',''],
		['PAGE','61312',jdecode('U9%26%23x27%3Bs+Next+Game'),jdecode(''),'/4553/61312.html','true',[],'',''],
		['PAGE','470914',jdecode('U9%26%23x27%3Bs+Huddersfield+League'),jdecode(''),'/4553/470914.html','true',[],'',''],
		['PAGE','470940',jdecode('U9%26%23x27%3Bs+Garforth+League'),jdecode(''),'/4553/470940.html','true',[],'',''],
		['PAGE','41901',jdecode('U9%26%23x27%3Bs+Player+Statistics'),jdecode(''),'/4553/41901.html','true',[],'',''],
		['PAGE','25653',jdecode('U9%26%23x27%3Bs+Sponsors'),jdecode(''),'/4553/25653.html','true',[],'',''],
		['PAGE','440703',jdecode('U9%26%23x27%3Bs+Honours'),jdecode(''),'/4553/440703.html','true',[],'',''],
		['PAGE','23901',jdecode('U9%26%23x27%3Bs+Fixtures%2FResults'),jdecode(''),'/4553/23901.html','true',[],'','']
	],'',''],
	['PAGE','4579',jdecode('Under+10s'),jdecode(''),'/4579/index.html','true',[ 
		['PAGE','26201',jdecode('U10%26%23x27%3Bs+News'),jdecode(''),'/4579/26201.html','true',[],'',''],
		['PAGE','449503',jdecode('U10%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4579/449503.html','true',[],'',''],
		['PAGE','37901',jdecode('U10%26%23x27%3Bs+Next+Game%28s%29'),jdecode(''),'/4579/37901.html','true',[],'',''],
		['PAGE','21901',jdecode('U10%26%23x27%3Bs+Results+and+Fixtures'),jdecode(''),'/4579/21901.html','true',[],'',''],
		['PAGE','38401',jdecode('U10%26%23x27%3Bs+Player+Statistics'),jdecode(''),'/4579/38401.html','true',[],'',''],
		['PAGE','235978',jdecode('U10%26%23x27%3Bs+Player+Awards'),jdecode(''),'/4579/235978.html','true',[],'',''],
		['PAGE','232067',jdecode('U10%26%23x27%3Bs+Team+Honours'),jdecode(''),'/4579/232067.html','true',[],'','']
	],'',''],
	['PAGE','4605',jdecode('Under+11s'),jdecode(''),'/4605/index.html','true',[ 
		['PAGE','59012',jdecode('U11%26%23x27%3Bs+News'),jdecode(''),'/4605/59012.html','true',[],'',''],
		['PAGE','450303',jdecode('U11%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4605/450303.html','true',[],'',''],
		['PAGE','23927',jdecode('U11%26%23x27%3Bs+Results+and+Fixtures'),jdecode(''),'/4605/23927.html','true',[],'',''],
		['PAGE','62312',jdecode('U11%26%23x27%3Bs+Player+Statistics'),jdecode(''),'/4605/62312.html','true',[],'',''],
		['PAGE','63112',jdecode('U11%26%23x27%3Bs+Photos+and+Videos'),jdecode(''),'/4605/63112.html','true',[],'','']
	],'',''],
	['PAGE','4631',jdecode('Under+12s'),jdecode(''),'/4631/index.html','true',[ 
		['PAGE','35701',jdecode('U12%26%23x27%3Bs+News'),jdecode(''),'/4631/35701.html','true',[],'',''],
		['PAGE','450903',jdecode('U12%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4631/450903.html','true',[],'',''],
		['PAGE','45401',jdecode('U12%26%23x27%3Bs+Results+and+Fixtures'),jdecode(''),'/4631/45401.html','true',[],'',''],
		['PAGE','34301',jdecode('U12%26%23x27%3Bs+Player+Statistics'),jdecode(''),'/4631/34301.html','true',[],'',''],
		['PAGE','241178',jdecode('U12%26%23x27%3Bs+Player+Awards'),jdecode(''),'/4631/241178.html','true',[],'',''],
		['PAGE','58312',jdecode('U12%26%23x27%3Bs+Match+Statistics'),jdecode(''),'/4631/58312.html','true',[],'',''],
		['PAGE','31701',jdecode('U12%26%23x27%3Bs+Photos+and+Videos'),jdecode(''),'/4631/31701.html','true',[],'','']
	],'',''],
	['PAGE','4101',jdecode('Under+13s'),jdecode(''),'/4101/index.html','true',[ 
		['PAGE','159834',jdecode('U13%26%23x27%3Bs+News'),jdecode(''),'/4101/159834.html','true',[],'',''],
		['PAGE','451403',jdecode('U13%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4101/451403.html','true',[],'',''],
		['PAGE','23979',jdecode('U13%26%23x27%3Bs+Results+and+Fixtures'),jdecode(''),'/4101/23979.html','true',[],'',''],
		['PAGE','164734',jdecode('U13%26%23x27%3Bs+Player+Statistics'),jdecode(''),'/4101/164734.html','true',[],'',''],
		['PAGE','159860',jdecode('U13%26%23x27%3Bs+Photos+and+Videos'),jdecode(''),'/4101/159860.html','true',[],'','']
	],'',''],
	['PAGE','4657',jdecode('Under+14s'),jdecode(''),'/4657/index.html','true',[ 
		['PAGE','452003',jdecode('U14%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4657/452003.html','true',[],'','']
	],'',''],
	['PAGE','4127',jdecode('Under+15s+A'),jdecode(''),'/4127/index.html','true',[ 
		['PAGE','52201',jdecode('U15%26%23x27%3Bs+A+News'),jdecode(''),'/4127/52201.html','true',[],'',''],
		['PAGE','452303',jdecode('U15%26%23x27%3Bs+A+Match+Reports'),jdecode(''),'/4127/452303.html','true',[],'',''],
		['PAGE','38001',jdecode('U15%26%23x27%3Bs+A+Next+Game'),jdecode(''),'/4127/38001.html','true',[],'',''],
		['PAGE','32201',jdecode('U15%26%23x27%3Bs+A+Team+Results+and+Fixtures'),jdecode(''),'/4127/32201.html','true',[],'',''],
		['PAGE','36501',jdecode('U15%26%23x27%3Bs+A+Player+Statistics'),jdecode(''),'/4127/36501.html','true',[],'',''],
		['PAGE','51801',jdecode('U15%26%23x27%3Bs+A+Honours'),jdecode(''),'/4127/51801.html','true',[],'','']
	],'',''],
	['PAGE','455703',jdecode('Under+15%26%23x27%3Bs+Reds'),jdecode(''),'/455703/index.html','true',[ 
		['PAGE','455729',jdecode('U15%26%23x27%3Bs+Reds+News'),jdecode(''),'/455703/455729.html','true',[],'',''],
		['PAGE','455755',jdecode('U15%26%23x27%3Bs+Reds+Match+Reports'),jdecode(''),'/455703/455755.html','true',[],'',''],
		['PAGE','135334',jdecode('U15%26%23x27%3Bs+Reds+Next+Game'),jdecode(''),'/455703/135334.html','true',[],'',''],
		['PAGE','50201',jdecode('U15%26%23x27%3Bs+Reds+Team+Results+and+Fixtures'),jdecode(''),'/455703/50201.html','true',[],'',''],
		['PAGE','455781',jdecode('U15%26%23x27%3Bs+Reds+Player+Statistics'),jdecode(''),'/455703/455781.html','true',[],'',''],
		['PAGE','455807',jdecode('U15%26%23x27%3Bs+Red+Honours'),jdecode(''),'/455703/455807.html','true',[],'','']
	],'',''],
	['PAGE','4683',jdecode('Under+16s'),jdecode(''),'/4683/index.html','true',[ 
		['PAGE','237686',jdecode('U16%26%23x27%3Bs+Match+Reports'),jdecode(''),'/4683/237686.html','true',[],'',''],
		['PAGE','279160',jdecode('U16%26%23x27%3Bs+Results+and+Fixtures'),jdecode(''),'/4683/279160.html','true',[],'','']
	],'',''],
	['PAGE','236778',jdecode('Archive'),jdecode(''),'/236778.html','true',[],'','']];
var siteelementCount=93;
theSitetree.topTemplateName='Soccer2';
theSitetree.paletteFamily='9EC7F0';
theSitetree.keyvisualId='9972';
theSitetree.keyvisualName='kv_9972.jpg';
theSitetree.fontsetId='17767';
theSitetree.graphicsetId='13146';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'GB'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Soccer2',
				paletteFamily: 	'9EC7F0',
				keyvisualId: 	'9972',
				keyvisualName: 	'kv_9972.jpg',
				fontsetId: 		'17767',
				graphicsetId: 	'13146',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455755',
internalId:  '',
customField: '20100905-220851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1532',
internalId:  '',
customField: '20100719-184318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4101',
internalId:  '',
customField: '20100722-191755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3001',
internalId:  '',
customField: '20100820-181349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21901',
internalId:  '',
customField: '20100907-210135'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '3001',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1637',
internalId:  '',
customField: '20100813-164544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4127',
internalId:  '',
customField: '20100717-083055'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '3001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4527',
internalId:  '',
customField: '20100907-100615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4553',
internalId:  '',
customField: '20100706-160317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100809-202744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4605',
internalId:  '',
customField: '20100903-091919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4631',
internalId:  '',
customField: '20100902-214147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4657',
internalId:  '',
customField: '20100704-135852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4683',
internalId:  '',
customField: '20100704-103642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15601',
internalId:  '',
customField: '20100810-100901'
};
webappMappings['7002']=webappMappings['7002-1015']={
webappId:    '7002',
documentId:  '17101',
internalId:  '1015',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17201',
internalId:  '',
customField: '20100813-164325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17101',
internalId:  '',
customField: '20080916-165500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17701',
internalId:  '',
customField: '20100526-075802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20090909-091637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '245175',
internalId:  '',
customField: '20100906-103357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '247586',
internalId:  '',
customField: '20090717-074924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23901',
internalId:  '',
customField: '20100823-115518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23927',
internalId:  '',
customField: '20100903-092212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50201',
internalId:  '',
customField: '20100905-220958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23979',
internalId:  '',
customField: '20100817-221559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25601',
internalId:  '',
customField: '20100907-134309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61312',
internalId:  '',
customField: '20100823-120050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25653',
internalId:  '',
customField: '20100607-215735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26201',
internalId:  '',
customField: '20100903-065727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '451403',
internalId:  '',
customField: '20100704-135154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27001',
internalId:  '',
customField: '20100906-160524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47401',
internalId:  '',
customField: '20100219-144510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '450303',
internalId:  '',
customField: '20100704-131621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237478',
internalId:  '',
customField: '20100704-113918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '241178',
internalId:  '',
customField: '20100904-174901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '467403',
internalId:  '',
customField: '20100823-115915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31701',
internalId:  '',
customField: '20100903-212024'
};
webappMappings['7060']=webappMappings['7060-ca49236a47a306787b2a6c3543153122']={
webappId:    '7060',
documentId:  '31701',
internalId:  'ca49236a47a306787b2a6c3543153122',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32201',
internalId:  '',
customField: '20100906-223615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '468603',
internalId:  '',
customField: '20100814-073254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '448603',
internalId:  '',
customField: '20100823-115330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '470914',
internalId:  '',
customField: '20100907-111127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '470940',
internalId:  '',
customField: '20100823-115618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '489314',
internalId:  '',
customField: '20100907-223703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34301',
internalId:  '',
customField: '20100904-125838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35701',
internalId:  '',
customField: '20100903-204518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237686',
internalId:  '',
customField: '20100704-104434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36501',
internalId:  '',
customField: '20100906-083840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38001',
internalId:  '',
customField: '20100906-224644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37901',
internalId:  '',
customField: '20100903-072052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38401',
internalId:  '',
customField: '20100903-072658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455781',
internalId:  '',
customField: '20100905-221113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41201',
internalId:  '',
customField: '20100219-144309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41901',
internalId:  '',
customField: '20100907-134242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51801',
internalId:  '',
customField: '20100827-161134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45401',
internalId:  '',
customField: '20100904-125311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '452303',
internalId:  '',
customField: '20100717-083435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52201',
internalId:  '',
customField: '20100906-224329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455729',
internalId:  '',
customField: '20100907-211311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455703',
internalId:  '',
customField: '20100717-093823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58312',
internalId:  '',
customField: '20100904-182612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '449503',
internalId:  '',
customField: '20100903-070504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59012',
internalId:  '',
customField: '20090906-170004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62312',
internalId:  '',
customField: '20100704-131957'
};
webappMappings['7060']=webappMappings['7060-b6101ba00cd5de5200ff4aeaa2e12fbd']={
webappId:    '7060',
documentId:  '63112',
internalId:  'b6101ba00cd5de5200ff4aeaa2e12fbd',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63112',
internalId:  '',
customField: '20100704-132206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157034',
internalId:  '',
customField: '20090924-082256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82512',
internalId:  '',
customField: '20100813-164458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '452003',
internalId:  '',
customField: '20100704-140459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135334',
internalId:  '',
customField: '20100907-211216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '450903',
internalId:  '',
customField: '20100704-133333'
};
webappMappings['7060']=webappMappings['7060-8e7b64f159e6ab905118b13093f4b9b0']={
webappId:    '7060',
documentId:  '159860',
internalId:  '8e7b64f159e6ab905118b13093f4b9b0',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159834',
internalId:  '',
customField: '20100817-221303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159860',
internalId:  '',
customField: '20100704-135634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164734',
internalId:  '',
customField: '20100731-213814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174634',
internalId:  '',
customField: '20100810-092459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '279160',
internalId:  '',
customField: '20100704-143908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190167',
internalId:  '',
customField: '20100219-144244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232067',
internalId:  '',
customField: '20100711-184857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '233067',
internalId:  '',
customField: '20100707-085240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '235978',
internalId:  '',
customField: '20100704-130050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '236778',
internalId:  '',
customField: '20090701-202410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '447103',
internalId:  '',
customField: '20100810-092524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455807',
internalId:  '',
customField: '20100717-092032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '447181',
internalId:  '',
customField: '20100704-111610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '447155',
internalId:  '',
customField: '20100704-111519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '326271',
internalId:  '',
customField: '20100810-092405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '326297',
internalId:  '',
customField: '20100831-215436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '448003',
internalId:  '',
customField: '20100906-214752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '326349',
internalId:  '',
customField: '20100704-113146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '447129',
internalId:  '',
customField: '20100704-111331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '332671',
internalId:  '',
customField: '20100906-190605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '354382',
internalId:  '',
customField: '20100906-161706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '379982',
internalId:  '',
customField: '20100219-144346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '416120',
internalId:  '',
customField: '20100813-094121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '440703',
internalId:  '',
customField: '20100829-154549'
};
var canonHostname = 'coucm4all01.netbenefit.co.uk';
var accountId     = 'ANBT20INE06Z';
var companyName   = 'Ossett+Town+Juniors';
var htmlTitle	  = 'Ossett+Town+Juniors';
var metaKeywords  = 'Ossett+Town+Juniors%0D%0AFootball+Ossett+Town+%0D%0AJunior+Football+Teams+%0D%0AOssett+Kids+%0D%0AFootball+Ossett';
var metaContents  = 'Ossett+Town+Juniors+Website';
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();
};
