/* [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','2901',jdecode('Home'),jdecode(''), jdecode('%2F2901.html'), 'true',[],'',''],
	['PAGE','3330',jdecode('Rush+of+Goalkeeping'),jdecode(''), jdecode('%2F3330%2Findex.html'), 'true',[ 
		['PAGE','37501',jdecode('RGK+Clinics'),jdecode(''), jdecode('%2F3330%2F37501.html'), 'true',[],'',''],
		['PAGE','5401',jdecode('Register+Interest'),jdecode(''), jdecode('%2F3330%2F5401.html'), 'true',[],'',''],
		['PAGE','37522',jdecode('Steve%26%23x27%3Bs+GK+Tips'),jdecode(''), jdecode('%2F3330%2F37522.html'), 'true',[],'','']
	],'',''],
	['PAGE','18943',jdecode('Specials%21'),jdecode(''), jdecode('%2F18943.html'), 'true',[],'',''],
	['PAGE','2952',jdecode('Kits+%26+Strips'),jdecode(''), jdecode('%2F2952%2Findex.html'), 'true',[ 
		['PAGE','37543',jdecode('Mitre'),jdecode(''), jdecode('%2F2952%2F37543.html'), 'true',[],'',''],
		['PAGE','12522',jdecode('Sublimated+'),jdecode(''), jdecode('%2F2952%2F12522.html'), 'true',[],'',''],
		['PAGE','18901',jdecode('Kelme+Sets'),jdecode(''), jdecode('%2F2952%2F18901.html'), 'true',[],'',''],
		['PAGE','2994',jdecode('Kelme+Shirts'),jdecode(''), jdecode('%2F2952%2F2994.html'), 'true',[],'',''],
		['PAGE','12543',jdecode('Kelme+Shorts'),jdecode(''), jdecode('%2F2952%2F12543.html'), 'true',[],'',''],
		['PAGE','3015',jdecode('Playing+Socks'),jdecode(''), jdecode('%2F2952%2F3015.html'), 'true',[],'',''],
		['PAGE','2973',jdecode('Veto+Shirts'),jdecode(''), jdecode('%2F2952%2F2973.html'), 'false',[],'',''],
		['PAGE','12501',jdecode('Veto+Shorts'),jdecode(''), jdecode('%2F2952%2F12501.html'), 'false',[],'','']
	],'',''],
	['PAGE','3036',jdecode('Goalkeeping'),jdecode(''), jdecode('%2F3036%2Findex.html'), 'true',[ 
		['PAGE','3057',jdecode('Gloves'),jdecode(''), jdecode('%2F3036%2F3057.html'), 'true',[],'',''],
		['PAGE','3078',jdecode('GK+Strips'),jdecode(''), jdecode('%2F3036%2F3078.html'), 'true',[],'',''],
		['PAGE','3099',jdecode('Veto+Strips'),jdecode(''), jdecode('%2F3036%2F3099.html'), 'false',[],'','']
	],'',''],
	['PAGE','3141',jdecode('Footwear'),jdecode(''), jdecode('%2F3141%2Findex.html'), 'true',[ 
		['PAGE','3162',jdecode('Outdoor+%26+Turf'),jdecode(''), jdecode('%2F3141%2F3162.html'), 'true',[],'',''],
		['PAGE','3183',jdecode('Indoor'),jdecode(''), jdecode('%2F3141%2F3183.html'), 'true',[],'',''],
		['PAGE','4601',jdecode('Shinpads%2C+Etc'),jdecode(''), jdecode('%2F3141%2F4601.html'), 'true',[],'','']
	],'',''],
	['PAGE','3204',jdecode('Club+%26+Team+Apparell'),jdecode(''), jdecode('%2F3204%2Findex.html'), 'true',[ 
		['PAGE','4622',jdecode('Tracksuits'),jdecode(''), jdecode('%2F3204%2F4622.html'), 'true',[],'',''],
		['PAGE','4643',jdecode('Jackets'),jdecode(''), jdecode('%2F3204%2F4643.html'), 'true',[],'',''],
		['PAGE','4664',jdecode('Bags'),jdecode(''), jdecode('%2F3204%2F4664.html'), 'true',[],'',''],
		['PAGE','4685',jdecode('Shorts%2C+Socks%2C+Hats'),jdecode(''), jdecode('%2F3204%2F4685.html'), 'true',[],'','']
	],'',''],
	['PAGE','4501',jdecode('Numbers+%26+Letters'),jdecode(''), jdecode('%2F4501.html'), 'true',[],'',''],
	['PAGE','18922',jdecode('League+%26+Union'),jdecode(''), jdecode('%2F18922%2Findex.html'), 'true',[ 
		['PAGE','37564',jdecode('Balls+%26+Goals'),jdecode(''), jdecode('%2F18922%2F37564.html'), 'true',[],'',''],
		['PAGE','37585',jdecode('Teamwear'),jdecode(''), jdecode('%2F18922%2F37585.html'), 'true',[],'','']
	],'',''],
	['PAGE','3225',jdecode('Balls'),jdecode(''), jdecode('%2F3225%2Findex.html'), 'true',[ 
		['PAGE','4706',jdecode('Match'),jdecode(''), jdecode('%2F3225%2F4706.html'), 'true',[],'',''],
		['PAGE','4727',jdecode('Training'),jdecode(''), jdecode('%2F3225%2F4727.html'), 'true',[],'',''],
		['PAGE','4748',jdecode('Futsal+%26+Indoor'),jdecode(''), jdecode('%2F3225%2F4748.html'), 'true',[],'',''],
		['PAGE','26501',jdecode('Bags+%26+Pumps'),jdecode(''), jdecode('%2F3225%2F26501.html'), 'true',[],'','']
	],'',''],
	['PAGE','3246',jdecode('For+The+Pitch'),jdecode(''), jdecode('%2F3246%2Findex.html'), 'true',[ 
		['PAGE','37606',jdecode('Goalposts+%26+Nets'),jdecode(''), jdecode('%2F3246%2F37606.html'), 'true',[],'','']
	],'',''],
	['PAGE','3267',jdecode('Coaching'),jdecode(''), jdecode('%2F3267%2Findex.html'), 'true',[ 
		['PAGE','5101',jdecode('Folders+%26+Boards'),jdecode(''), jdecode('%2F3267%2F5101.html'), 'true',[],'',''],
		['PAGE','5122',jdecode('Resources'),jdecode(''), jdecode('%2F3267%2F5122.html'), 'true',[],'','']
	],'',''],
	['PAGE','3288',jdecode('Training+Equipment'),jdecode(''), jdecode('%2F3288%2Findex.html'), 'true',[ 
		['PAGE','5143',jdecode('Cones+%26+Bibs'),jdecode(''), jdecode('%2F3288%2F5143.html'), 'true',[],'',''],
		['PAGE','5164',jdecode('Ladders+%26+Poles'),jdecode(''), jdecode('%2F3288%2F5164.html'), 'true',[],'','']
	],'',''],
	['PAGE','3309',jdecode('Players+%26+Clubs'),jdecode(''), jdecode('%2F3309%2Findex.html'), 'true',[ 
		['PAGE','5185',jdecode('Sponsored+Teams'),jdecode(''), jdecode('%2F3309%2F5185.html'), 'true',[],'',''],
		['PAGE','5206',jdecode('Sponsored+Coaches'),jdecode(''), jdecode('%2F3309%2F5206.html'), 'true',[],'','']
	],'',''],
	['PAGE','26522',jdecode('Trophies'),jdecode(''), jdecode('%2F26522.html'), 'true',[],'',''],
	['PAGE','4769',jdecode('Futsal+%26+Indoor'),jdecode(''), jdecode('%2F4769.html'), 'true',[],'',''],
	['PAGE','3351',jdecode('Guess+What%3F'),jdecode(''), jdecode('%2F3351%2Findex.html'), 'true',[ 
		['PAGE','5227',jdecode('Carnivals'),jdecode(''), jdecode('%2F3351%2F5227.html'), 'true',[],'',''],
		['PAGE','5248',jdecode('Club+Events'),jdecode(''), jdecode('%2F3351%2F5248.html'), 'true',[],'','']
	],'',''],
	['PAGE','3372',jdecode('Contact'),jdecode(''), jdecode('%2F3372.html'), 'true',[],'',''],
	['PAGE','3393',jdecode('Interesting+links'),jdecode(''), jdecode('%2F3393.html'), 'true',[],'','']];
var siteelementCount=55;
theSitetree.topTemplateName='Metal';
theSitetree.paletteFamily='A3CAFE';
theSitetree.keyvisualId='780';
theSitetree.keyvisualName='uhr.jpg';
theSitetree.fontsetId='142';
theSitetree.graphicsetId='161';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'wl_enom',
  product: 'WSCENOSSSLYTC210'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Metal',
				paletteFamily: 	'A3CAFE',
				keyvisualId: 	'780',
				keyvisualName: 	'uhr.jpg',
				fontsetId: 		'142',
				graphicsetId: 	'161',
				contentColor: 	'DDDDDD',
				contentBGColor: '000000',
				a_color: 		'A3CAFE',
				b_color: 		'87A7D2',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2901',
internalId:  '',
customField: '20110414-211747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2952',
internalId:  '',
customField: '20110218-033256'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2901',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-26171218']={
webappId:    '1501',
documentId:  '2901',
internalId:  '26171218',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2973',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2994',
internalId:  '',
customField: '20110119-064806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3015',
internalId:  '',
customField: '20110119-072006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3036',
internalId:  '',
customField: '20110115-191240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3057',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3078',
internalId:  '',
customField: '20110115-205717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3099',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['7008']=webappMappings['7008-3995']={
webappId:    '7008',
documentId:  '5401',
internalId:  '3995',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3141',
internalId:  '',
customField: '20110218-034348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3162',
internalId:  '',
customField: '20110218-044254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3183',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3204',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3225',
internalId:  '',
customField: '20110414-211855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3246',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3267',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3288',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3309',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3330',
internalId:  '',
customField: '20101103-055505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3351',
internalId:  '',
customField: '20110429-010057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3372',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3393',
internalId:  '',
customField: '20101006-003137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5401',
internalId:  '',
customField: '20101010-062226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4601',
internalId:  '',
customField: '20101010-055455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4622',
internalId:  '',
customField: '20101010-055455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4643',
internalId:  '',
customField: '20101010-055455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4664',
internalId:  '',
customField: '20101010-055455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4685',
internalId:  '',
customField: '20101010-055455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4501',
internalId:  '',
customField: '20101010-050854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4706',
internalId:  '',
customField: '20110115-094420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4727',
internalId:  '',
customField: '20110115-211120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4748',
internalId:  '',
customField: '20101010-055455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5101',
internalId:  '',
customField: '20101010-060823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5122',
internalId:  '',
customField: '20101010-060823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5143',
internalId:  '',
customField: '20101010-060823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5164',
internalId:  '',
customField: '20101010-060823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5185',
internalId:  '',
customField: '20101010-060823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5206',
internalId:  '',
customField: '20101010-060823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4769',
internalId:  '',
customField: '20101010-055455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5227',
internalId:  '',
customField: '20101010-060823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5248',
internalId:  '',
customField: '20110118-031526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20101103-053512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12522',
internalId:  '',
customField: '20101103-053512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12543',
internalId:  '',
customField: '20101104-042417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18901',
internalId:  '',
customField: '20110119-051344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18922',
internalId:  '',
customField: '20110115-054544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18943',
internalId:  '',
customField: '20110117-045244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37501',
internalId:  '',
customField: '20111208-034932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26501',
internalId:  '',
customField: '20110117-044316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26522',
internalId:  '',
customField: '20110117-044316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37543',
internalId:  '',
customField: '20111208-034932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37522',
internalId:  '',
customField: '20111208-034932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37564',
internalId:  '',
customField: '20111208-034932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37585',
internalId:  '',
customField: '20111208-034932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37606',
internalId:  '',
customField: '20111208-034932'
};
var webAppHostname = 'wsc.ehost-services.com:80';
var canonHostname = 'wscwrk01.ehost-services.com';
var accountId     = 'AEN340INFFPJ';
var companyName   = 'The+Rush+of+Football';
var htmlTitle	  = 'The+Rush+of+Football...+There%27s+just+nothing+like+it%21';
var metaKeywords  = 'Mitre%2C+Mitre+Sports%2C+Mitre+Footballs%2C+Mitre+Teamwear%2C+Mitre+Goal+Keeper+gloves%2C+Mitre+Mark+Schwarzer%2C+Mitre+Netball%2C+Mitre+Rugby%2C+Football%2C+soccer%2C+football+queensland%2C+north+queensland%2C+queensland+soccer%2C+adf+football%2C+futsal%2C+indoor+soccer%2C+kelme%2C+veto%2C+ho+soccer%2C+ho%2C+select%2C+select+balls%2C+footballs%2C+futsal+balls%2C+indoor+soccer+balls%2C+macron%2C+rof%2C+rush+of+football%2C+the+rush+of+football%2C+jerseys%2C+shorts%2C+socks%2C+tracksuits%2C+jackets%2C+football+boots%2C+boots%2C+soccer+boots%2C+futsal+boots%2C+futsal+shoes%2C+football+shoes%2C+soccer+shoes%2C+shoes%2C+sports+shoes%2C+football+shirts%2C+football+jerseys%2C+football+shorts%2C+football+socks%2C+soccer+shirts%2C+soccer+jerseys%2C+soccer+shorts%2C+soccer+socks%2C+soccer+uniforms%2C+football+uniforms%2C+coaching%2C+training%2C+coach+books%2C+coach+boards%2C+training+equipment%2C+training+gear%2C+coaching+equipment%2C+coaching+gear%2C+coach+uniform%2C+training+uniform%2C+training+shirt%2C+training+shorts%2C+goalkeeper%2C+gk%2C+goalie%2C+goal+keeper%2C+goalkeeper+gear%2C+goalkeeper+shirt%2C+goalkeeper+shorts%2C+goalkeeper+uniform%2C+sports+shirt%2C+sports+shorts%2C+sports+socks%2C+goalkeeper+balls%2C+reflex+ball%2C+goalkeeper+equipment%2C+sports+bag%2C+training+bag%2C+boot+bag%2C+back+sack%2C+glove+bag%2C+turf+shoe%2C+turf+boot%2C+shinpads%2C+gloves%2C+gk+gloves%2C+goalkeeper+gloves%2C+ho+gloves%2C+football+clubs%2C+soccer+clubs%2C+rush+of+goalkeeping%2C+soccer+carnivals%2C+cones%2C+ladders%2C+speed%2C+agility%2C+speed+and+agility%2C+soccer+players%2C+football+players%2C+soccer+nets%2C+soccer+goals%2C+football+nets%2C+football+goals%2C+corner+flags%2C+referee%2C+referee+flags%2C+referee+uniform%2C+hats%2C+caps%2C+agility+pole%2C+freekick%2C+The+Rush+of+Goalkeeping%2C+';
var metaContents  = 'Mitre%2C+Mitre+Sports%2C+Mitre+Footballs%2C+Mitre+Teamwear%2C+Mitre+Goal+keeper+gloves%2C+Mitre+Mark+Schwarzer%2C+Mitre+Netball%2C+Mitre+Rugby%2C+Football%2C+soccer%2C+football+queensland%2C+north+queensland%2C+queensland+soccer%2C+adf+football%2C+futsal%2C+indoor+soccer%2C+kelme%2C+veto%2C+ho+soccer%2C+ho%2C+select%2C+select+balls%2C+footballs%2C+futsal+balls%2C+indoor+soccer+balls%2C+macron%2C+rof%2C+rush+of+football%2C+the+rush+of+football%2C+jerseys%2C+shorts%2C+socks%2C+tracksuits%2C+jackets%2C+football+boots%2C+boots%2C+soccer+boots%2C+futsal+boots%2C+futsal+shoes%2C+football+shoes%2C+soccer+shoes%2C+shoes%2C+sports+shoes%2C+football+shirts%2C+football+jerseys%2C+football+shorts%2C+football+socks%2C+soccer+shirts%2C+soccer+jerseys%2C+soccer+shorts%2C+soccer+socks%2C+soccer+uniforms%2C+football+uniforms%2C+coaching%2C+training%2C+coach+books%2C+coach+boards%2C+training+equipment%2C+training+gear%2C+coaching+equipment%2C+coaching+gear%2C+coach+uniform%2C+training+uniform%2C+training+shirt%2C+training+shorts%2C+goalkeeper%2C+gk%2C+goalie%2C+goal+keeper%2C+goalkeeper+gear%2C+goalkeeper+shirt%2C+goalkeeper+shorts%2C+goalkeeper+uniform%2C+sports+shirt%2C+sports+shorts%2C+sports+socks%2C+goalkeeper+balls%2C+reflex+ball%2C+goalkeeper+equipment%2C+sports+bag%2C+training+bag%2C+boot+bag%2C+back+sack%2C+glove+bag%2C+turf+shoe%2C+turf+boot%2C+shinpads%2C+gloves%2C+gk+gloves%2C+goalkeeper+gloves%2C+ho+gloves%2C+football+clubs%2C+soccer+clubs%2C+rush+of+goalkeeping%2C+soccer+carnivals%2C+cones%2C+ladders%2C+speed%2C+agility%2C+speed+and+agility%2C+soccer+players%2C+football+players%2C+soccer+nets%2C+soccer+goals%2C+football+nets%2C+football+goals%2C+corner+flags%2C+referee%2C+referee+flags%2C+referee+uniform%2C+hats%2C+caps%2C+agility+pole%2C+freekick%2C+the+rush+of+goalkeeping%2C+';
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();
};

