/* [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','74',jdecode('Home'),jdecode(''), jdecode('%2F74.html'), 'true',[],'',''],
	['PAGE','3371',jdecode('How2+B+a+Christ+Follower'),jdecode(''), jdecode('%2F3371.html'), 'true',[],'',''],
	['PAGE','19701',jdecode('Upcoming+Trips+%26+Events'),jdecode(''), jdecode('%2F19701%2Findex.html'), 'true',[ 
		['PAGE','146745',jdecode('Orphan+Care+-+Anapra'),jdecode(''), jdecode('%2F19701%2F146745.html'), 'true',[],'',''],
		['PAGE','171345',jdecode('MT+Taylor+QUAD'),jdecode(''), jdecode('%2F19701%2F171345.html'), 'true',[],'',''],
		['PAGE','165645',jdecode('Spring+Break+2012'),jdecode(''), jdecode('%2F19701%2F165645.html'), 'true',[],'',''],
		['PAGE','50801',jdecode('Golf+Tournament+2012'),jdecode(''), jdecode('%2F19701%2F50801.html'), 'true',[],'',''],
		['PAGE','89201',jdecode('Elephant+Man+Triathlon'),jdecode(''), jdecode('%2F19701%2F89201.html'), 'true',[],'',''],
		['PAGE','131234',jdecode('Campout+4+us+%26+orphans'),jdecode(''), jdecode('%2F19701%2F131234.html'), 'true',[],'',''],
		['PAGE','131255',jdecode('Christmas+4+us+%26+oprhans'),jdecode(''), jdecode('%2F19701%2F131255.html'), 'true',[],'',''],
		['PAGE','95301',jdecode('End-of-Year+Celebration'),jdecode(''), jdecode('%2F19701%2F95301.html'), 'true',[],'',''],
		['PAGE','100301',jdecode('Cuauhtemoc'),jdecode(''), jdecode('%2F19701%2F100301.html'), 'true',[],'','']
	],'',''],
	['PAGE','1238',jdecode('Past+Mission+Trips'),jdecode(''), jdecode('%2F1238%2Findex.html'), 'true',[ 
		['PAGE','172145',jdecode('Orphan+Camp-out+OCT+2011'),jdecode(''), jdecode('%2F1238%2F172145.html'), 'true',[],'',''],
		['PAGE','168545',jdecode('Guachochi+August+2011'),jdecode(''), jdecode('%2F1238%2F168545.html'), 'true',[],'',''],
		['PAGE','163845',jdecode('Cuauhtemoc++-+Prison'),jdecode(''), jdecode('%2F1238%2F163845.html'), 'true',[],'',''],
		['PAGE','156345',jdecode('Guachochi%2C+Spring+Break+2011'),jdecode(''), jdecode('%2F1238%2F156345.html'), 'true',[],'',''],
		['PAGE','154645',jdecode('Dental+Clinic+-+Anapra'),jdecode(''), jdecode('%2F1238%2F154645.html'), 'true',[],'',''],
		['PAGE','150845',jdecode('Orphan+Care+JAN+2011'),jdecode(''), jdecode('%2F1238%2F150845.html'), 'true',[],'',''],
		['PAGE','153745',jdecode('Cuauhtemoc+DEC+2010'),jdecode(''), jdecode('%2F1238%2F153745.html'), 'true',[],'',''],
		['PAGE','145545',jdecode('Anapra%2C+Christmas+4+Orphans'),jdecode(''), jdecode('%2F1238%2F145545.html'), 'true',[],'',''],
		['PAGE','141745',jdecode('Lazaro+OCT+2010'),jdecode(''), jdecode('%2F1238%2F141745.html'), 'true',[],'',''],
		['PAGE','141766',jdecode('Orphan+Campout+2010'),jdecode(''), jdecode('%2F1238%2F141766.html'), 'true',[],'',''],
		['PAGE','138734',jdecode('Lazaro%2C+Labor+Day'),jdecode(''), jdecode('%2F1238%2F138734.html'), 'true',[],'',''],
		['PAGE','133834',jdecode('Lazaro+Cardenas%2C+August'),jdecode(''), jdecode('%2F1238%2F133834.html'), 'true',[],'',''],
		['PAGE','128434',jdecode('Anapra+July'),jdecode(''), jdecode('%2F1238%2F128434.html'), 'true',[],'',''],
		['PAGE','123023',jdecode('Anapra+June+'),jdecode(''), jdecode('%2F1238%2F123023.html'), 'true',[],'',''],
		['PAGE','121723',jdecode('Lazaro+Cardenas+June+%26%23x27%3B10'),jdecode(''), jdecode('%2F1238%2F121723.html'), 'true',[],'',''],
		['PAGE','120023',jdecode('Cuauhtemoc+2010'),jdecode(''), jdecode('%2F1238%2F120023.html'), 'true',[],'',''],
		['PAGE','115501',jdecode('Anapra%2C+Mexico'),jdecode(''), jdecode('%2F1238%2F115501.html'), 'true',[],'',''],
		['PAGE','113601',jdecode('Madera+-+Spring+Break+2010'),jdecode(''), jdecode('%2F1238%2F113601.html'), 'true',[],'',''],
		['PAGE','107401',jdecode('Temosachic'),jdecode(''), jdecode('%2F1238%2F107401.html'), 'true',[],'',''],
		['PAGE','97301',jdecode('Christmas+for+the+orphans+'),jdecode(''), jdecode('%2F1238%2F97301.html'), 'true',[],'',''],
		['PAGE','93301',jdecode('Orphan+Camp-out+2009'),jdecode(''), jdecode('%2F1238%2F93301.html'), 'true',[],'',''],
		['PAGE','90001',jdecode('September+in+Madera'),jdecode(''), jdecode('%2F1238%2F90001.html'), 'true',[],'',''],
		['PAGE','84001',jdecode('Summer+in+Madera'),jdecode(''), jdecode('%2F1238%2F84001.html'), 'true',[],'',''],
		['PAGE','77701',jdecode('Memorial+Day+Weekend+2009'),jdecode(''), jdecode('%2F1238%2F77701.html'), 'true',[],'',''],
		['PAGE','66901',jdecode('Dental%2C+Prison%2C+Dorm+-+April'),jdecode(''), jdecode('%2F1238%2F66901.html'), 'true',[],'',''],
		['PAGE','57101',jdecode('Madera+-+March+2009'),jdecode(''), jdecode('%2F1238%2F57101.html'), 'true',[],'',''],
		['PAGE','40001',jdecode('Paraiso+Madera+Penitas+'),jdecode(''), jdecode('%2F1238%2F40001.html'), 'true',[],'',''],
		['PAGE','35401',jdecode('Madera+-+October+2008'),jdecode(''), jdecode('%2F1238%2F35401.html'), 'true',[],'',''],
		['PAGE','30043',jdecode('Madera+-+September+2008'),jdecode(''), jdecode('%2F1238%2F30043.html'), 'true',[],'',''],
		['PAGE','22501',jdecode('Madera+-+July+2008'),jdecode(''), jdecode('%2F1238%2F22501.html'), 'true',[],'',''],
		['PAGE','11372',jdecode('Madera+-+May+2008+'),jdecode(''), jdecode('%2F1238%2F11372.html'), 'true',[],'',''],
		['PAGE','10983',jdecode('Juarez+-+April+2008'),jdecode(''), jdecode('%2F1238%2F10983.html'), 'true',[],'',''],
		['PAGE','9287',jdecode('Baldrichi+-+Spring+Break+2008'),jdecode(''), jdecode('%2F1238%2F9287.html'), 'true',[],'',''],
		['PAGE','9296',jdecode('Madrea+-+Pastor+Conference'),jdecode(''), jdecode('%2F1238%2F9296.html'), 'true',[],'',''],
		['PAGE','5759',jdecode('Church-on-the-Road+Juarez'),jdecode(''), jdecode('%2F1238%2F5759.html'), 'true',[],'',''],
		['PAGE','6045',jdecode('Madera-Orphanage+NOV+2007'),jdecode(''), jdecode('%2F1238%2F6045.html'), 'true',[],'',''],
		['PAGE','6054',jdecode('Baldrichi+OCT+2007'),jdecode(''), jdecode('%2F1238%2F6054.html'), 'true',[],'',''],
		['PAGE','6063',jdecode('Madera-Medical+SEPT+2007'),jdecode(''), jdecode('%2F1238%2F6063.html'), 'true',[],'',''],
		['PAGE','6072',jdecode('Baldrichi+Summer+2007'),jdecode(''), jdecode('%2F1238%2F6072.html'), 'true',[],'',''],
		['PAGE','5000',jdecode('Memorial+Day+Weekend+2007'),jdecode(''), jdecode('%2F1238%2F5000.html'), 'true',[],'',''],
		['PAGE','4991',jdecode('Spring+Break+2007'),jdecode(''), jdecode('%2F1238%2F4991.html'), 'true',[],'',''],
		['PAGE','3994',jdecode('November+2006'),jdecode(''), jdecode('%2F1238%2F3994.html'), 'true',[],'',''],
		['PAGE','3296',jdecode('Labor+Day+Weekend+2006'),jdecode(''), jdecode('%2F1238%2F3296.html'), 'true',[],'',''],
		['PAGE','3551',jdecode('August+2006'),jdecode(''), jdecode('%2F1238%2F3551.html'), 'true',[],'',''],
		['PAGE','2385',jdecode('June+2006'),jdecode(''), jdecode('%2F1238%2F2385.html'), 'true',[],'',''],
		['PAGE','2813',jdecode('March+2006'),jdecode(''), jdecode('%2F1238%2F2813.html'), 'true',[],'',''],
		['PAGE','7677',jdecode('Thanksgiving+Week+2005'),jdecode(''), jdecode('%2F1238%2F7677.html'), 'true',[],'',''],
		['PAGE','2376',jdecode('September+2005'),jdecode(''), jdecode('%2F1238%2F2376.html'), 'true',[],'',''],
		['PAGE','6371',jdecode('May+2005'),jdecode(''), jdecode('%2F1238%2F6371.html'), 'true',[],'','']
	],'',''],
	['PAGE','1256',jdecode('Aviation+Ministry'),jdecode(''), jdecode('%2F1256%2Findex.html'), 'true',[ 
		['PAGE','7119',jdecode('Pilots'),jdecode(''), jdecode('%2F1256%2F7119.html'), 'true',[],'','']
	],'',''],
	['PAGE','4374',jdecode('Code+Of+Conduct'),jdecode(''), jdecode('%2F4374.html'), 'true',[],'',''],
	['PAGE','6946',jdecode('Climb+a+Mountain+for+God'),jdecode(''), jdecode('%2F6946%2Findex.html'), 'true',[ 
		['PAGE','7174',jdecode('Mt+Whitney%2C+California'),jdecode(''), jdecode('%2F6946%2F7174.html'), 'true',[],'',''],
		['PAGE','126334',jdecode('Wheeler+Peak%2C+New+Mexico'),jdecode(''), jdecode('%2F6946%2F126334.html'), 'true',[],'',''],
		['PAGE','126355',jdecode('Sandia+Peak%2C+Albuquerque'),jdecode(''), jdecode('%2F6946%2F126355.html'), 'true',[],'','']
	],'',''],
	['PAGE','103301',jdecode('Better+Together+Athletes'),jdecode(''), jdecode('%2F103301.html'), 'true',[],'',''],
	['PAGE','4383',jdecode('Who%26%23x27%3Bs+Who'),jdecode(''), jdecode('%2F4383%2Findex.html'), 'true',[ 
		['PAGE','6630',jdecode('Ellis+McMath'),jdecode(''), jdecode('%2F4383%2F6630.html'), 'true',[],'',''],
		['PAGE','6648',jdecode('Justin+Eidem'),jdecode(''), jdecode('%2F4383%2F6648.html'), 'true',[],'',''],
		['PAGE','6675',jdecode('Dawn+Chadwell'),jdecode(''), jdecode('%2F4383%2F6675.html'), 'true',[],'',''],
		['PAGE','7571',jdecode('Robin+Lowry'),jdecode(''), jdecode('%2F4383%2F7571.html'), 'true',[],'',''],
		['PAGE','77901',jdecode('Brenda+Hart'),jdecode(''), jdecode('%2F4383%2F77901.html'), 'true',[],'','']
	],'',''],
	['PAGE','7686',jdecode('Churches+-+Better+Together'),jdecode(''), jdecode('%2F7686.html'), 'true',[],'',''],
	['PAGE','160845',jdecode('Registration'),jdecode(''), jdecode('%2F160845.html'), 'true',[],'',''],
	['PAGE','1265',jdecode('Our+Needs'),jdecode(''), jdecode('%2F1265.html'), 'true',[],'','']];
var siteelementCount=79;
theSitetree.topTemplateName='Angkor';
theSitetree.paletteFamily='879ED6';
theSitetree.keyvisualId='6875';
theSitetree.keyvisualName='kv_6875.jpg';
theSitetree.fontsetId='11212';
theSitetree.graphicsetId='12030';
theSitetree.contentColor='354B86';
theSitetree.contentBGColor='94AAE1';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'hps_testtown',
  product: 'WSCSYSSSSLYTC245'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Angkor',
				paletteFamily: 	'879ED6',
				keyvisualId: 	'6875',
				keyvisualName: 	'kv_6875.jpg',
				fontsetId: 		'11212',
				graphicsetId: 	'12030',
				contentColor: 	'354B86',
				contentBGColor: '94AAE1',
				a_color: 		'94AAE1',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '74',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74',
internalId:  '',
customField: '20111213-065947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19701',
internalId:  '',
customField: '20120110-212934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1265',
internalId:  '',
customField: '20100721-164931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40001',
internalId:  '',
customField: '20081201-215859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97301',
internalId:  '',
customField: '20091120-224958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1238',
internalId:  '',
customField: '20120108-171745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35401',
internalId:  '',
customField: '20081201-211414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30043',
internalId:  '',
customField: '20080906-103727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22501',
internalId:  '',
customField: '20081021-090208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11372',
internalId:  '',
customField: '20100721-165622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10983',
internalId:  '',
customField: '20080507-161609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9287',
internalId:  '',
customField: '20080803-072201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9296',
internalId:  '',
customField: '20080411-003353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5759',
internalId:  '',
customField: '20071231-034438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6045',
internalId:  '',
customField: '20080206-021843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6054',
internalId:  '',
customField: '20080124-224430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6063',
internalId:  '',
customField: '20071230-034555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6072',
internalId:  '',
customField: '20080102-022352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5000',
internalId:  '',
customField: '20071230-212829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4991',
internalId:  '',
customField: '20080109-235259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3994',
internalId:  '',
customField: '20061128-005616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3296',
internalId:  '',
customField: '20071230-214334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3551',
internalId:  '',
customField: '20071230-214433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2385',
internalId:  '',
customField: '20060620-030428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2813',
internalId:  '',
customField: '20060626-033406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7677',
internalId:  '',
customField: '20071230-031404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2376',
internalId:  '',
customField: '20071230-042229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6371',
internalId:  '',
customField: '20071231-021535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3371',
internalId:  '',
customField: '20111106-075508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1256',
internalId:  '',
customField: '20080507-192202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7119',
internalId:  '',
customField: '20090109-183600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4374',
internalId:  '',
customField: '20110430-222257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6946',
internalId:  '',
customField: '20111220-073527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7174',
internalId:  '',
customField: '20111219-214007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4383',
internalId:  '',
customField: '20100721-165508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6630',
internalId:  '',
customField: '20090722-223748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131234',
internalId:  '',
customField: '20120110-215208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6648',
internalId:  '',
customField: '20080115-030425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50801',
internalId:  '',
customField: '20111220-215022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6675',
internalId:  '',
customField: '20080115-030920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165645',
internalId:  '',
customField: '20111220-233322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7571',
internalId:  '',
customField: '20090702-093926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115501',
internalId:  '',
customField: '20100511-182355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7686',
internalId:  '',
customField: '20101204-082453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100301',
internalId:  '',
customField: '20120110-214711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133834',
internalId:  '',
customField: '20100813-072359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103301',
internalId:  '',
customField: '20111220-231518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57101',
internalId:  '',
customField: '20090414-212719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66901',
internalId:  '',
customField: '20091031-200912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138734',
internalId:  '',
customField: '20100908-124921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131255',
internalId:  '',
customField: '20120110-215356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77701',
internalId:  '',
customField: '20090702-113735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77901',
internalId:  '',
customField: '20090702-093139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84001',
internalId:  '',
customField: '20090817-221453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89201',
internalId:  '',
customField: '20111220-214821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90001',
internalId:  '',
customField: '20100104-212311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93301',
internalId:  '',
customField: '20100421-201526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95301',
internalId:  '',
customField: '20111207-202338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128434',
internalId:  '',
customField: '20100712-222837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107401',
internalId:  '',
customField: '20100421-201410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120023',
internalId:  '',
customField: '20100518-203942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113601',
internalId:  '',
customField: '20100322-231554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121723',
internalId:  '',
customField: '20100619-221825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123023',
internalId:  '',
customField: '20100617-225434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126334',
internalId:  '',
customField: '20111220-074607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126355',
internalId:  '',
customField: '20111220-074735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141766',
internalId:  '',
customField: '20101024-213156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141745',
internalId:  '',
customField: '20101024-224401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '171345',
internalId:  '',
customField: '20111220-232128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145545',
internalId:  '',
customField: '20101116-214116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146745',
internalId:  '',
customField: '20120101-174442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163845',
internalId:  '',
customField: '20111213-073056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150845',
internalId:  '',
customField: '20110124-213305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153745',
internalId:  '',
customField: '20110202-203354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '154645',
internalId:  '',
customField: '20110213-080213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156345',
internalId:  '',
customField: '20111211-224807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168545',
internalId:  '',
customField: '20111213-065804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160845',
internalId:  '',
customField: '20110517-165855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172145',
internalId:  '',
customField: '20120108-172031'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHW050INEHOA';
var companyName   = 'Better+Together+Mexico';
var htmlTitle	  = 'Better+Together+Mexico';
var metaKeywords  = '';
var metaContents  = '';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

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

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

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

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

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

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

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

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

