/* [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 theSitetree=[ 
	['PAGE','94',jdecode('Home'),jdecode(''),'/94.html','true',[],''],
	['PAGE','77301',jdecode('Announcements'),jdecode(''),'/77301.html','true',[],''],
	['PAGE','16401',jdecode('Bill+of+Rights+'),jdecode(''),'/16401.html','true',[],''],
	['PAGE','196151',jdecode('Basketball+Tryouts+Results'),jdecode(''),'/196151.html','false',[],''],
	['PAGE','151211',jdecode('Raptors+Traveling+Basketball'),jdecode(''),'/151211/index.html','true',[ 
		['PAGE','2146',jdecode('Practice+Schedule'),jdecode(''),'/151211/2146.html','false',[],''],
		['PAGE','727',jdecode('Programs'),jdecode(''),'/151211/727.html','true',[],''],
		['PAGE','163611',jdecode('Team+Rosters'),jdecode(''),'/151211/163611.html','false',[],''],
		['PAGE','163511',jdecode('Tournament+Schedule'),jdecode(''),'/151211/163511.html','false',[],'']
	],''],
	['PAGE','152611',jdecode('Lady+Raptors+Basketball'),jdecode(''),'/152611/index.html','true',[ 
		['PAGE','163711',jdecode('Practice+Schedule'),jdecode(''),'/152611/163711.html','false',[],''],
		['PAGE','137901',jdecode('Programs'),jdecode(''),'/152611/137901.html','true',[],''],
		['PAGE','163811',jdecode('Team+Rosters'),jdecode(''),'/152611/163811.html','false',[],''],
		['PAGE','163832',jdecode('Tournament+Schedule'),jdecode(''),'/152611/163832.html','false',[],'']
	],''],
	['PAGE','151511',jdecode('Raptors+Baseball'),jdecode(''),'/151511/index.html','true',[ 
		['PAGE','164011',jdecode('Game+Schedules'),jdecode(''),'/151511/164011.html','true',[],''],
		['PAGE','163911',jdecode('Practice+Schedule'),jdecode(''),'/151511/163911.html','true',[],''],
		['PAGE','164053',jdecode('Team+Roster'),jdecode(''),'/151511/164053.html','true',[],'']
	],''],
	['PAGE','151411',jdecode('Raptors+Track+%26+Field'),jdecode(''),'/151411/index.html','true',[ 
		['PAGE','164211',jdecode('Practice+Schedule'),jdecode(''),'/151411/164211.html','true',[],''],
		['PAGE','183211',jdecode('Track+Pictures'),jdecode(''),'/151411/183211.html','true',[],''],
		['PAGE','164232',jdecode('Team+Roster'),jdecode(''),'/151411/164232.html','true',[],''],
		['PAGE','164253',jdecode('Tournament+Schedules'),jdecode(''),'/151411/164253.html','true',[],''],
		['PAGE','175611',jdecode('Track+News'),jdecode(''),'/151411/175611.html','true',[],'']
	],''],
	['PAGE','155711',jdecode('Raptors+League+Team'),jdecode(''),'/155711/index.html','true',[ 
		['PAGE','164511',jdecode('League+Rosters'),jdecode(''),'/155711/164511.html','true',[],''],
		['PAGE','164632',jdecode('League+Schedule'),jdecode(''),'/155711/164632.html','true',[],''],
		['PAGE','164611',jdecode('Practice+Schedule'),jdecode(''),'/155711/164611.html','true',[],'']
	],''],
	['PAGE','471',jdecode('Coaching+Staff'),jdecode(''),'/471.html','true',[],''],
	['PAGE','1138',jdecode('Contact+Us'),jdecode(''),'/1138.html','true',[],''],
	['PAGE','3511',jdecode('Fitness+%26+Training'),jdecode(''),'/3511/index.html','true',[ 
		['PAGE','4301',jdecode('Strength+%26+Conditioning'),jdecode(''),'/3511/4301.html','false',[],''],
		['PAGE','4310',jdecode('Skills+Training'),jdecode(''),'/3511/4310.html','true',[],'']
	],''],
	['PAGE','1715',jdecode('Forms'),jdecode(''),'/1715.html','true',[],''],
	['PAGE','186881',jdecode('MAC++League'),jdecode(''),'/186881.html','false',[],''],
	['PAGE','4941',jdecode('MAC+Invitational+2008'),jdecode(''),'/4941.html','true',[],''],
	['PAGE','58701',jdecode('MAC+Invitational+2010'),jdecode(''),'/58701.html','true',[],''],
	['PAGE','54301',jdecode('Newsletter'),jdecode(''),'/54301.html','true',[],''],
	['PAGE','185381',jdecode('On-Line+Raptors+Registration'),jdecode(''),'/185381.html','true',[],''],
	['PAGE','2058',jdecode('Payment+Center'),jdecode(''),'/2058.html','true',[],''],
	['PAGE','1849',jdecode('Practice+Facilities'),jdecode(''),'/1849.html','true',[],''],
	['PAGE','192173',jdecode('Raptors+Alumni'),jdecode(''),'/192173.html','true',[],''],
	['PAGE','4068',jdecode('Raptor+Wear'),jdecode(''),'/4068.html','true',[],''],
	['PAGE','176411',jdecode('Raptors+Who%2C+When%2C+Where+%26+Why'),jdecode(''),'/176411.html','true',[],''],
	['PAGE','498',jdecode('Sponsorship+Page'),jdecode(''),'/498.html','true',[],''],
	['PAGE','49401',jdecode('Suggestion+Box'),jdecode(''),'/49401.html','true',[],''],
	['PAGE','218651',jdecode('THE+MAC%26%23x27%3BS+A-TEAM'),jdecode(''),'/218651.html','true',[],''],
	['PAGE','83901',jdecode('Tryouts'),jdecode(''),'/83901.html','true',[],''],
	['PAGE','133501',jdecode('2009+Team+Accomplishments'),jdecode(''),'/133501.html','true',[],''],
	['PAGE','143801',jdecode('2009+Raptors+Photo+Album'),jdecode(''),'/143801.html','true',[],''],
	['PAGE','144201',jdecode('2008+Raptors+Photo+Album'),jdecode(''),'/144201.html','true',[],''],
	['PAGE','2599',jdecode('2009+AAU+Team+Roster'),jdecode(''),'/2599/index.html','false',[ 
		['PAGE','2678',jdecode('9U+Boys+'),jdecode(''),'/2599/2678.html','true',[],''],
		['PAGE','2784',jdecode('11U+Boys'),jdecode(''),'/2599/2784.html','true',[],''],
		['PAGE','2793',jdecode('12U+Boys'),jdecode(''),'/2599/2793.html','true',[],''],
		['PAGE','2802',jdecode('13U+Boys'),jdecode(''),'/2599/2802.html','true',[],''],
		['PAGE','2820',jdecode('14U+Boys'),jdecode(''),'/2599/2820.html','true',[],''],
		['PAGE','103401',jdecode('16U+Boys'),jdecode(''),'/2599/103401.html','true',[],''],
		['PAGE','93401',jdecode('Varsity+Boys'),jdecode(''),'/2599/93401.html','true',[],''],
		['PAGE','114422',jdecode('10U+Lady+Raptors'),jdecode(''),'/2599/114422.html','true',[],''],
		['PAGE','110601',jdecode('11U+Lady+Raptors'),jdecode(''),'/2599/110601.html','true',[],''],
		['PAGE','2838',jdecode('12U+Lady+Raptors'),jdecode(''),'/2599/2838.html','true',[],''],
		['PAGE','108201',jdecode('14U+Lady+Raptors'),jdecode(''),'/2599/108201.html','true',[],''],
		['PAGE','93201',jdecode('Varsity+Lady+Raptors'),jdecode(''),'/2599/93201.html','true',[],'']
	],''],
	['PAGE','22201',jdecode('Camps'),jdecode(''),'/22201.html','false',[],''],
	['PAGE','489',jdecode('Tournaments+Schedules'),jdecode(''),'/489/index.html','false',[ 
		['PAGE','3199',jdecode('9U+Boys'),jdecode(''),'/489/3199.html','true',[],''],
		['PAGE','3217',jdecode('11U+Boys'),jdecode(''),'/489/3217.html','true',[],''],
		['PAGE','3226',jdecode('12U+Boys'),jdecode(''),'/489/3226.html','true',[],''],
		['PAGE','3235',jdecode('13U+Boys'),jdecode(''),'/489/3235.html','true',[],''],
		['PAGE','92601',jdecode('14U+Boys'),jdecode(''),'/489/92601.html','true',[],''],
		['PAGE','92701',jdecode('16U+Boys'),jdecode(''),'/489/92701.html','true',[],''],
		['PAGE','92801',jdecode('Varsity+Boys'),jdecode(''),'/489/92801.html','true',[],''],
		['PAGE','3253',jdecode('10U+Lady+Raptors'),jdecode(''),'/489/3253.html','true',[],''],
		['PAGE','114401',jdecode('11U+Lady+Raptors'),jdecode(''),'/489/114401.html','true',[],''],
		['PAGE','3244',jdecode('12U+Lady+Raptors'),jdecode(''),'/489/3244.html','true',[],''],
		['PAGE','3262',jdecode('14U+Lady+Raptors+'),jdecode(''),'/489/3262.html','true',[],''],
		['PAGE','92922',jdecode('Varsity+Lady+Raptors'),jdecode(''),'/489/92922.html','true',[],'']
	],''],
	['PAGE','4537',jdecode('Training+Schedule'),jdecode(''),'/4537.html','false',[],''],
	['PAGE','90601',jdecode('MAC+Invitational+2009'),jdecode(''),'/90601.html','false',[],'']];
var siteelementCount=80;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='9C42BD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10897';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'9C42BD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10897',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'9C42BD',
				e_color: 		'9C42BD',
				f_color: 		'9C42BD',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '94',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-29594']={
webappId:    '1501',
documentId:  '94',
internalId:  '29594',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94',
internalId:  '',
customField: '20090913-225825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20090820-114430'
};
webappMappings['7008']=webappMappings['7008-15']={
webappId:    '7008',
documentId:  '22201',
internalId:  '15',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20081029-131031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '471',
internalId:  '',
customField: '20100224-115422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1138',
internalId:  '',
customField: '20090924-081312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3511',
internalId:  '',
customField: '20090820-132514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4301',
internalId:  '',
customField: '20080915-142152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4310',
internalId:  '',
customField: '20090820-113905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1715',
internalId:  '',
customField: '20091109-125931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4941',
internalId:  '',
customField: '20090207-104226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58701',
internalId:  '',
customField: '20100224-133741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54301',
internalId:  '',
customField: '20091119-142637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2058',
internalId:  '',
customField: '20080507-221810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144201',
internalId:  '',
customField: '20090706-104423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1849',
internalId:  '',
customField: '20090929-134352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2146',
internalId:  '',
customField: '20091203-053604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '727',
internalId:  '',
customField: '20090726-012014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4068',
internalId:  '',
customField: '20091014-084002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '498',
internalId:  '',
customField: '20091105-131426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49401',
internalId:  '',
customField: '20080923-112808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4537',
internalId:  '',
customField: '20090216-212734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '489',
internalId:  '',
customField: '20090714-165839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3199',
internalId:  '',
customField: '20090318-062845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137901',
internalId:  '',
customField: '20090726-011934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3217',
internalId:  '',
customField: '20090318-062916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3226',
internalId:  '',
customField: '20090318-062947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3235',
internalId:  '',
customField: '20090318-063032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3253',
internalId:  '',
customField: '20090318-062353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3244',
internalId:  '',
customField: '20090318-062451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3262',
internalId:  '',
customField: '20090318-104331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108201',
internalId:  '',
customField: '20090416-150446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2599',
internalId:  '',
customField: '20080929-112934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2678',
internalId:  '',
customField: '20090428-082949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2784',
internalId:  '',
customField: '20090514-081707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2793',
internalId:  '',
customField: '20090514-081758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2802',
internalId:  '',
customField: '20090514-081847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2820',
internalId:  '',
customField: '20090514-082219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114422',
internalId:  '',
customField: '20090428-085240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2838',
internalId:  '',
customField: '20090318-133538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114401',
internalId:  '',
customField: '20090318-111940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77301',
internalId:  '',
customField: '20100224-163749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83901',
internalId:  '',
customField: '20100224-165517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90601',
internalId:  '',
customField: '20090619-110526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133501',
internalId:  '',
customField: '20090810-120011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93401',
internalId:  '',
customField: '20090508-095254'
};
webappMappings['7060']=webappMappings['7060-b582918c6cd4a74474e4a5706ed45b79']={
webappId:    '7060',
documentId:  '143801',
internalId:  'b582918c6cd4a74474e4a5706ed45b79',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110601',
internalId:  '',
customField: '20090428-085323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93201',
internalId:  '',
customField: '20090603-161605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92601',
internalId:  '',
customField: '20090318-063105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92701',
internalId:  '',
customField: '20090323-140422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92801',
internalId:  '',
customField: '20090318-125202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92922',
internalId:  '',
customField: '20090318-112204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103401',
internalId:  '',
customField: '20090514-082130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143801',
internalId:  '',
customField: '20090706-095523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '151211',
internalId:  '',
customField: '20090820-114559'
};
webappMappings['7060']=webappMappings['7060-5ddc8053c81f363bdb45ec29b6f4a423']={
webappId:    '7060',
documentId:  '144201',
internalId:  '5ddc8053c81f363bdb45ec29b6f4a423',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '151511',
internalId:  '',
customField: '20090820-115048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152611',
internalId:  '',
customField: '20091015-140906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '151411',
internalId:  '',
customField: '20090902-192512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '155711',
internalId:  '',
customField: '20091007-211657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163611',
internalId:  '',
customField: '20091208-110302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163811',
internalId:  '',
customField: '20091202-123704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163711',
internalId:  '',
customField: '20091022-115124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163511',
internalId:  '',
customField: '20091009-102101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163832',
internalId:  '',
customField: '20091015-143500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164011',
internalId:  '',
customField: '20090726-005950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163911',
internalId:  '',
customField: '20090726-010025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '175611',
internalId:  '',
customField: '20090902-192230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164053',
internalId:  '',
customField: '20090726-010124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164511',
internalId:  '',
customField: '20090726-010724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164632',
internalId:  '',
customField: '20090726-010626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164611',
internalId:  '',
customField: '20090726-010701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164211',
internalId:  '',
customField: '20090726-010244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '176411',
internalId:  '',
customField: '20090804-180642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164232',
internalId:  '',
customField: '20090726-010335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164253',
internalId:  '',
customField: '20090726-010506'
};
webappMappings['7060']=webappMappings['7060-3cb4aadda9d489426b63bcf4aa3aad76']={
webappId:    '7060',
documentId:  '183211',
internalId:  '3cb4aadda9d489426b63bcf4aa3aad76',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183211',
internalId:  '',
customField: '20090820-130932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185381',
internalId:  '',
customField: '20090828-093207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '186881',
internalId:  '',
customField: '20091103-103641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '192173',
internalId:  '',
customField: '20090906-151910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '196151',
internalId:  '',
customField: '20090916-180604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '218651',
internalId:  '',
customField: '20091125-092935'
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INXSLB';
var companyName   = 'Youth+Athletics';
var htmlTitle	  = 'Illinois+Raptors+Traveling+Basketball';
var metaKeywords  = 'Traveling+BasketballAAUGirlsBoysTeam10u11u12u13u14u15u16u17u18u';
var metaContents  = 'Youth+Sports';
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();
};
