/* [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','32',jdecode('HOME'),jdecode(''), jdecode('%2F32.html'), 'true',[],'',''],
	['PAGE','3984',jdecode('ERSA'),jdecode(''), jdecode('%2F3984.html'), 'true',[],'',''],
	['PAGE','71',jdecode('TEAM+POSITIONS'),jdecode(''), jdecode('%2F71.html'), 'true',[],'',''],
	['PAGE','80',jdecode('ROSTER'),jdecode(''), jdecode('%2F80%2Findex.html'), 'true',[ 
		['PAGE','89',jdecode('Doc'),jdecode(''), jdecode('%2F80%2F89.html'), 'true',[],'',''],
		['PAGE','98',jdecode('Part+67'),jdecode(''), jdecode('%2F80%2F98.html'), 'true',[],'',''],
		['PAGE','116',jdecode('The+Emasculator'),jdecode(''), jdecode('%2F80%2F116.html'), 'true',[],'',''],
		['PAGE','4199',jdecode('Six-Four'),jdecode(''), jdecode('%2F80%2F4199.html'), 'true',[],'',''],
		['PAGE','4586',jdecode('Crazy+Legs'),jdecode(''), jdecode('%2F80%2F4586.html'), 'true',[],'',''],
		['PAGE','5319',jdecode('Spyda+Monkie'),jdecode(''), jdecode('%2F80%2F5319.html'), 'true',[],'',''],
		['PAGE','5519',jdecode('Bullet+Time'),jdecode(''), jdecode('%2F80%2F5519.html'), 'true',[],'',''],
		['PAGE','6284',jdecode('Diesel'),jdecode(''), jdecode('%2F80%2F6284.html'), 'true',[],'',''],
		['PAGE','6591',jdecode('Renegade'),jdecode(''), jdecode('%2F80%2F6591.html'), 'true',[],'',''],
		['PAGE','6600',jdecode('Crazy+Will'),jdecode(''), jdecode('%2F80%2F6600.html'), 'true',[],'',''],
		['PAGE','8758',jdecode('Hawkeye'),jdecode(''), jdecode('%2F80%2F8758.html'), 'true',[],'',''],
		['PAGE','9338',jdecode('Guinness%26Geishas'),jdecode(''), jdecode('%2F80%2F9338.html'), 'true',[],'',''],
		['PAGE','9451',jdecode('Deagle'),jdecode(''), jdecode('%2F80%2F9451.html'), 'true',[],'',''],
		['PAGE','29601',jdecode('Joker'),jdecode(''), jdecode('%2F80%2F29601.html'), 'true',[],'',''],
		['PAGE','24901',jdecode('Chaos+%26+Mayhem'),jdecode(''), jdecode('%2F80%2F24901.html'), 'true',[],'',''],
		['PAGE','33701',jdecode('Iceman'),jdecode(''), jdecode('%2F80%2F33701.html'), 'true',[],'',''],
		['PAGE','4755',jdecode('Crutch'),jdecode(''), jdecode('%2F80%2F4755.html'), 'true',[],'',''],
		['PAGE','4764',jdecode('Fracture'),jdecode(''), jdecode('%2F80%2F4764.html'), 'true',[],'',''],
		['PAGE','6730',jdecode('Scalpel'),jdecode(''), jdecode('%2F80%2F6730.html'), 'true',[],'',''],
		['PAGE','1972',jdecode('Alpha+B*'),jdecode(''), jdecode('%2F80%2F1972.html'), 'true',[],'','']
	],'',''],
	['PAGE','170',jdecode('EVENTS'),jdecode(''), jdecode('%2F170%2Findex.html'), 'true',[ 
		['PAGE','1352',jdecode('We+Were+Soldiers+06'),jdecode(''), jdecode('%2F170%2F1352.html'), 'true',[],'',''],
		['PAGE','1675',jdecode('Operation+Frostfire+07'),jdecode(''), jdecode('%2F170%2F1675.html'), 'true',[],'',''],
		['PAGE','2699',jdecode('Behind+Enemy+Lines+07'),jdecode(''), jdecode('%2F170%2F2699.html'), 'true',[],'',''],
		['PAGE','3549',jdecode('Death+Before+Dishonor+07'),jdecode(''), jdecode('%2F170%2F3549.html'), 'true',[],'',''],
		['PAGE','4336',jdecode('NJ+Nam+07'),jdecode(''), jdecode('%2F170%2F4336.html'), 'true',[],'',''],
		['PAGE','4933',jdecode('Liberty+Big+Game+7%2F07'),jdecode(''), jdecode('%2F170%2F4933.html'), 'true',[],'',''],
		['PAGE','5631',jdecode('EMR+Viper+9%2F07'),jdecode(''), jdecode('%2F170%2F5631.html'), 'true',[],'',''],
		['PAGE','6143',jdecode('Liberty+Big+Game+9%2F07'),jdecode(''), jdecode('%2F170%2F6143.html'), 'true',[],'',''],
		['PAGE','6609',jdecode('Liberty+Big+Game+11%2F07'),jdecode(''), jdecode('%2F170%2F6609.html'), 'true',[],'',''],
		['PAGE','7740',jdecode('Operation+Frostfire+08'),jdecode(''), jdecode('%2F170%2F7740.html'), 'true',[],'',''],
		['PAGE','8963',jdecode('West+Point+CC+08'),jdecode(''), jdecode('%2F170%2F8963.html'), 'true',[],'',''],
		['PAGE','9220',jdecode('Liberty+Big+Game+5%2F08'),jdecode(''), jdecode('%2F170%2F9220.html'), 'true',[],'',''],
		['PAGE','10069',jdecode('NJ+Nam+08'),jdecode(''), jdecode('%2F170%2F10069.html'), 'true',[],'',''],
		['PAGE','18401',jdecode('EMR+Viper+8%2F08'),jdecode(''), jdecode('%2F170%2F18401.html'), 'true',[],'',''],
		['PAGE','20201',jdecode('Liberty+Big+Game+9%2F08'),jdecode(''), jdecode('%2F170%2F20201.html'), 'true',[],'',''],
		['PAGE','23001',jdecode('Strategy+Plus+10%2F08'),jdecode(''), jdecode('%2F170%2F23001.html'), 'true',[],'',''],
		['PAGE','39901',jdecode('Aliens+vs.+Predator+9%2F10'),jdecode(''), jdecode('%2F170%2F39901.html'), 'true',[],'','']
	],'',''],
	['PAGE','179',jdecode('GALLERY'),jdecode(''), jdecode('%2F179%2Findex.html'), 'true',[ 
		['PAGE','1537',jdecode('We+Were+Soldiers+06'),jdecode(''), jdecode('%2F179%2F1537.html'), 'true',[],'',''],
		['PAGE','1684',jdecode('Operation+Frostfire+07'),jdecode(''), jdecode('%2F179%2F1684.html'), 'true',[],'',''],
		['PAGE','2708',jdecode('Behind+Enemy+Lines+07'),jdecode(''), jdecode('%2F179%2F2708.html'), 'true',[],'',''],
		['PAGE','3558',jdecode('Death+Before+Dishonor+07'),jdecode(''), jdecode('%2F179%2F3558.html'), 'true',[],'',''],
		['PAGE','4942',jdecode('Liberty+Big+Game+7%2F07'),jdecode(''), jdecode('%2F179%2F4942.html'), 'true',[],'',''],
		['PAGE','5640',jdecode('EMR+Viper+9%2F07'),jdecode(''), jdecode('%2F179%2F5640.html'), 'true',[],'',''],
		['PAGE','7749',jdecode('Operation+Frostfire+08'),jdecode(''), jdecode('%2F179%2F7749.html'), 'true',[],'',''],
		['PAGE','8972',jdecode('West+Point+CC+08'),jdecode(''), jdecode('%2F179%2F8972.html'), 'true',[],'',''],
		['PAGE','9229',jdecode('Liberty+Big+Game+5%2F08'),jdecode(''), jdecode('%2F179%2F9229.html'), 'true',[],'',''],
		['PAGE','9731',jdecode('Cousins+Big+Game+5%2F08'),jdecode(''), jdecode('%2F179%2F9731.html'), 'true',[],'',''],
		['PAGE','10078',jdecode('NJ+Nam+08'),jdecode(''), jdecode('%2F179%2F10078.html'), 'true',[],'',''],
		['PAGE','15822',jdecode('Liberty+Big+Game+7%2F08'),jdecode(''), jdecode('%2F179%2F15822.html'), 'true',[],'',''],
		['PAGE','18422',jdecode('EMR+Viper+8%2F08'),jdecode(''), jdecode('%2F179%2F18422.html'), 'true',[],'',''],
		['PAGE','20222',jdecode('Liberty+Big+Game+9%2F08'),jdecode(''), jdecode('%2F179%2F20222.html'), 'true',[],'',''],
		['PAGE','28701',jdecode('Liberty+Big+Game+11%2F08'),jdecode(''), jdecode('%2F179%2F28701.html'), 'true',[],'',''],
		['PAGE','32122',jdecode('West+Point+CC+09'),jdecode(''), jdecode('%2F179%2F32122.html'), 'true',[],'','']
	],'',''],
	['PAGE','188',jdecode('AWARDS'),jdecode(''), jdecode('%2F188%2Findex.html'), 'true',[ 
		['PAGE','1458',jdecode('Red+Crosshair+'),jdecode(''), jdecode('%2F188%2F1458.html'), 'true',[],'',''],
		['PAGE','1467',jdecode('Purple+Target'),jdecode(''), jdecode('%2F188%2F1467.html'), 'true',[],'','']
	],'',''],
	['PAGE','4504',jdecode('NEW+MEMBERS'),jdecode(''), jdecode('%2F4504.html'), 'true',[],'',''],
	['PAGE','7011',jdecode('QUARTERMASTER'),jdecode(''), jdecode('%2F7011.html'), 'true',[],'',''],
	['PAGE','7208',jdecode('FORUMS'),jdecode(''), jdecode('%2F7208.html'), 'true',[],'',''],
	['PAGE','197',jdecode('SPONSORS'),jdecode(''), jdecode('%2F197.html'), 'true',[],'',''],
	['PAGE','206',jdecode('LINKS'),jdecode(''), jdecode('%2F206.html'), 'true',[],'','']];
var siteelementCount=67;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='FC2323';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10587';
theSitetree.graphicsetId='10561';
theSitetree.contentColor='FB0505';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'optimum',
  product: 'WSCSYSSSSLYTC245'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circulation',
				paletteFamily: 	'FC2323',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10587',
				graphicsetId: 	'10561',
				contentColor: 	'FB0505',
				contentBGColor: '000000',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '32',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-1405405']={
webappId:    '1501',
documentId:  '32',
internalId:  '1405405',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32',
internalId:  '',
customField: '20120202-102507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80',
internalId:  '',
customField: '20120116-111618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9451',
internalId:  '',
customField: '20120116-135114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3984',
internalId:  '',
customField: '20120116-112312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71',
internalId:  '',
customField: '20120116-111530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89',
internalId:  '',
customField: '20120123-132915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98',
internalId:  '',
customField: '20090414-160522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116',
internalId:  '',
customField: '20090127-120347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4199',
internalId:  '',
customField: '20100517-144706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4586',
internalId:  '',
customField: '20090127-120438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5319',
internalId:  '',
customField: '20090127-120501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5519',
internalId:  '',
customField: '20090310-142230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6284',
internalId:  '',
customField: '20120116-135153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6591',
internalId:  '',
customField: '20120116-135056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6600',
internalId:  '',
customField: '20090127-122959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8758',
internalId:  '',
customField: '20100518-164415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9338',
internalId:  '',
customField: '20090901-123103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4755',
internalId:  '',
customField: '20080709-142223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4764',
internalId:  '',
customField: '20080223-215123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6730',
internalId:  '',
customField: '20071219-220636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1972',
internalId:  '',
customField: '20070608-125510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '170',
internalId:  '',
customField: '20120202-102328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1352',
internalId:  '',
customField: '20070302-232514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1675',
internalId:  '',
customField: '20080609-235805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2699',
internalId:  '',
customField: '20080203-182128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3549',
internalId:  '',
customField: '20080203-182148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4336',
internalId:  '',
customField: '20080609-183702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4933',
internalId:  '',
customField: '20080505-174908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5631',
internalId:  '',
customField: '20120116-134155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6143',
internalId:  '',
customField: '20070913-001135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6609',
internalId:  '',
customField: '20080730-102851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7740',
internalId:  '',
customField: '20080505-174322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8963',
internalId:  '',
customField: '20090407-100213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9220',
internalId:  '',
customField: '20080922-164056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10069',
internalId:  '',
customField: '20080610-231949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18401',
internalId:  '',
customField: '20090112-082826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20201',
internalId:  '',
customField: '20090127-130945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179',
internalId:  '',
customField: '20080922-164438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1537',
internalId:  '',
customField: '20070307-223602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1684',
internalId:  '',
customField: '20080128-145146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2708',
internalId:  '',
customField: '20070314-204610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3558',
internalId:  '',
customField: '20070510-131139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4942',
internalId:  '',
customField: '20080505-174852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5640',
internalId:  '',
customField: '20080902-100349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7749',
internalId:  '',
customField: '20080414-132535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8972',
internalId:  '',
customField: '20090407-100302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9229',
internalId:  '',
customField: '20080730-103054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9731',
internalId:  '',
customField: '20080609-183754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10078',
internalId:  '',
customField: '20080709-142911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15822',
internalId:  '',
customField: '20080919-145257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18422',
internalId:  '',
customField: '20080904-134727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20222',
internalId:  '',
customField: '20090127-130633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '188',
internalId:  '',
customField: '20090127-123955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1458',
internalId:  '',
customField: '20120116-134423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1467',
internalId:  '',
customField: '20081201-161538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4504',
internalId:  '',
customField: '20100305-185206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7011',
internalId:  '',
customField: '20120202-102435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7208',
internalId:  '',
customField: '20071203-171044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197',
internalId:  '',
customField: '20070110-004806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '206',
internalId:  '',
customField: '20080128-194635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23001',
internalId:  '',
customField: '20081105-184528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24901',
internalId:  '',
customField: '20090108-110528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20090127-130855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29601',
internalId:  '',
customField: '20120116-135130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32122',
internalId:  '',
customField: '20090407-100910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33701',
internalId:  '',
customField: '20090423-103145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39901',
internalId:  '',
customField: '20100920-164632'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker04.chi.us.siteprotect.com';
var accountId     = 'AHW050IN318X';
var companyName   = 'TEAM++ACHES++AND++PAINS';
var htmlTitle	  = '';
var metaKeywords  = 'TEAM+ACHES+AND+PAINS+SCENARIO+WOODSBALL+PAINTBALL+TEAM+SUFFOLK+LONG+ISLAND+NEW+YORK+NY+SPEEDBALL+HIGH+VELOCITY+COUSINS+WEST+POINT+EMR+LIBERTY+SUFFOLK+VETERINARY+GROUP+TOURNAMENT+DOC+PART+69+THE+EMASCULATOR+EM+SIX+FOUR+DIESEL+JOKER+ICEMAN+CHAOS+MAYHEM+CRUTCH+FRACTURE+BULLET+TIME+SPYDA+MONKIE+JOIN+A+PAINTBALL+TEAM+OPERATION+FROSTFIRE+WE+WERE+SOLDIERS+NORTH+SOUTH+NORTHEAST+SCEPTER+COMBAT+SYSTEMS+KINGMAN+ARMSON+OPSGEAR+TECHT+ACU+JCS+PALMER+JJ+LAPCO+SMART+PARTS+TIPPMANN+TIBERIUS+ARMS+T-9+T-8+A-5+98+SPECIAL+OPS+PAINTBALL+BROADSWORD+DAGGER+SABER+STILETTO+KATANA+JAVELIN+HAMMER+RAZORBACK+LIGHT+MEDIUM+HEAVY+RIFLEMAN+SNIPER+SHARPSHOOTER+GRENADIER+GRENADE+LAUNCHER+MINE+ROCKET+SUPPRESSION+GHOST+FLANK+FLANKER+RECON+QUICK+ASSAULT+ARTILLERY+DEFENSE+MECHANIZED+TANK+REF+RED+CROSSHAIR+PURPLE+TARGET+LEADERSHIP+STAR+RED+RAIDERS+UN4GIVEN+GHOSTS+LOADED+CROWS+PENNSYLVANIA+RIFLEMAN+DELTA+MILLER+STRIKE+BRIGADE+EOD+E.O.D.+ERSA+E.R.S.A.+EASTERN+REGIONAL+SCENARIO+ALLIANCE+TEAM+PAIN+PROZAC';
var metaContents  = 'TEAM+ACHES+AND+PAINS+SCENARIO+WOODSBALL+PAINTBALL+TEAM+SUFFOLK+LONG+ISLAND+NEW+YORK+NY+SPEEDBALL+HIGH+VELOCITY+COUSINS+WEST+POINT+EMR+LIBERTY+SUFFOLK+VETERINARY+GROUP+TOURNAMENT+DOC+PART+69+THE+EMASCULATOR+EM+SIX+FOUR+DIESEL+JOKER+ICEMAN+CHAOS+MAYHEM+CRUTCH+FRACTURE+BULLET+TIME+SPYDA+MONKIE+JOIN+A+PAINTBALL+TEAM+OPERATION+FROSTFIRE+WE+WERE+SOLDIERS+NORTH+SOUTH+NORTHEAST+SCEPTER+COMBAT+SYSTEMS+KINGMAN+ARMSON+OPSGEAR+TECHT+ACU+JCS+PALMER+JJ+LAPCO+SMART+PARTS+TIPPMANN+TIBERIUS+ARMS+T-9+T-8+A-5+98+SPECIAL+OPS+PAINTBALL+BROADSWORD+DAGGER+SABER+STILETTO+KATANA+JAVELIN+HAMMER+RAZORBACK+LIGHT+MEDIUM+HEAVY+RIFLEMAN+SNIPER+SHARPSHOOTER+GRENADIER+GRENADE+LAUNCHER+MINE+ROCKET+SUPPRESSION+GHOST+FLANK+FLANKER+RECON+QUICK+ASSAULT+ARTILLERY+DEFENSE+MECHANIZED+TANK+REF+RED+CROSSHAIR+PURPLE+TARGET+LEADERSHIP+STAR+RED+RAIDERS+UN4GIVEN+GHOSTS+LOADED+CROWS+PENNSYLVANIA+RIFLEMAN+DELTA+MILLER+STRIKE+BRIGADE+EOD+E.O.D.+ERSA+E.R.S.A.+EASTERN+REGIONAL+SCENARIO+ALLIANCE+TEAM+PAIN+PROZAC';
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();
};

