/* [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','10501',jdecode('Home'),jdecode(''),'/10501.html','true',[],''],
	['PAGE','10552',jdecode('History'),jdecode(''),'/10552.html','true',[],''],
	['PAGE','17201',jdecode('Current+Projects'),jdecode(''),'/17201.html','true',[],''],
	['PAGE','30301',jdecode('Past+Projects'),jdecode(''),'/30301/index.html','true',[ 
		['PAGE','64201',jdecode('2009'),jdecode(''),'/30301/64201.html','true',[],''],
		['PAGE','30322',jdecode('2008'),jdecode(''),'/30301/30322.html','true',[],''],
		['PAGE','19822',jdecode('2006+-+2007'),jdecode(''),'/30301/19822.html','true',[],''],
		['PAGE','19801',jdecode('2004+-+2005'),jdecode(''),'/30301/19801.html','true',[],''],
		['PAGE','17222',jdecode('Letters+of+Appreciation'),jdecode(''),'/30301/17222.html','true',[],'']
	],''],
	['PAGE','10657',jdecode('How+To+Donate'),jdecode(''),'/10657.html','true',[],''],
	['PAGE','48501',jdecode('Photo+Gallery'),jdecode(''),'/48501/index.html','true',[ 
		['PAGE','70425',jdecode('Photos+2009'),jdecode(''),'/48501/70425.html','true',[],''],
		['PAGE','48522',jdecode('Photos+2008'),jdecode(''),'/48501/48522.html','true',[],''],
		['PAGE','34501',jdecode('Photos+2004+-+2006'),jdecode(''),'/48501/34501.html','true',[],'']
	],''],
	['PAGE','24101',jdecode('Schedule+of+Events'),jdecode(''),'/24101/index.html','true',[ 
		['PAGE','32901',jdecode('Past+Events'),jdecode(''),'/24101/32901.html','true',[],'']
	],''],
	['PAGE','43201',jdecode('Videos'),jdecode(''),'/43201.html','true',[],''],
	['PAGE','67401',jdecode('Stories+%26+Photos+2009'),jdecode(''),'/67401/index.html','true',[ 
		['PAGE','66601',jdecode('Earthquake+in+Italy'),jdecode(''),'/67401/66601.html','true',[],''],
		['PAGE','66622',jdecode('Afg.+Water+Projects'),jdecode(''),'/67401/66622.html','true',[],''],
		['PAGE','66643',jdecode('Voice+of+Women'),jdecode(''),'/67401/66643.html','true',[],''],
		['PAGE','66664',jdecode('Community+Relationships'),jdecode(''),'/67401/66664.html','true',[],''],
		['PAGE','66685',jdecode('Kenya+Water+Projects'),jdecode(''),'/67401/66685.html','true',[],''],
		['PAGE','66706',jdecode('Tashirat+Mexico'),jdecode(''),'/67401/66706.html','true',[],'']
	],''],
	['PAGE','34601',jdecode('Recollections+2008'),jdecode(''),'/34601/index.html','true',[ 
		['PAGE','36001',jdecode('Writings'),jdecode(''),'/34601/36001.html','true',[],''],
		['PAGE','56701',jdecode('Ixaya+School'),jdecode(''),'/34601/56701.html','true',[],''],
		['PAGE','37301',jdecode('Arriving+in+Afghanistan'),jdecode(''),'/34601/37301.html','true',[],''],
		['PAGE','37322',jdecode('Safe+Shelter+Gathering'),jdecode(''),'/34601/37322.html','true',[],''],
		['PAGE','37343',jdecode('Women%26%23x27%3Bs+Prison'),jdecode(''),'/34601/37343.html','true',[],''],
		['PAGE','37364',jdecode('SWS'),jdecode(''),'/34601/37364.html','true',[],''],
		['PAGE','37385',jdecode('Winter+Storms'),jdecode(''),'/34601/37385.html','true',[],''],
		['PAGE','38801',jdecode('VWO+Improvements'),jdecode(''),'/34601/38801.html','true',[],''],
		['PAGE','37406',jdecode('With+the+Governor'),jdecode(''),'/34601/37406.html','true',[],''],
		['PAGE','37427',jdecode('Hindu+Kush%2C+Afghanistan'),jdecode(''),'/34601/37427.html','true',[],''],
		['PAGE','37448',jdecode('Massoud+Foundation'),jdecode(''),'/34601/37448.html','true',[],''],
		['PAGE','37469',jdecode('Kenya%2C+Africa'),jdecode(''),'/34601/37469.html','true',[],''],
		['PAGE','37490',jdecode('Jesuits+Primary+School'),jdecode(''),'/34601/37490.html','true',[],''],
		['PAGE','37511',jdecode('Kitui'),jdecode(''),'/34601/37511.html','true',[],''],
		['PAGE','37532',jdecode('Eldoret'),jdecode(''),'/34601/37532.html','true',[],''],
		['PAGE','37553',jdecode('Kisumu'),jdecode(''),'/34601/37553.html','true',[],''],
		['PAGE','11601',jdecode('VWO'),jdecode(''),'/34601/11601.html','true',[],'']
	],''],
	['PAGE','70025',jdecode('Brochure'),jdecode(''),'/70025.html','true',[],''],
	['PAGE','10636',jdecode('Press'),jdecode(''),'/10636/index.html','true',[ 
		['PAGE','78245',jdecode('November+29%2C+2009'),jdecode(''),'/10636/78245.html','true',[],''],
		['PAGE','74725',jdecode('October+12%2C+2009'),jdecode(''),'/10636/74725.html','true',[],''],
		['PAGE','77545',jdecode('October+9%2C+2009'),jdecode(''),'/10636/77545.html','true',[],''],
		['PAGE','71325',jdecode('July+12%2C+2009'),jdecode(''),'/10636/71325.html','true',[],''],
		['PAGE','54701',jdecode('March+29%2C+2009'),jdecode(''),'/10636/54701.html','true',[],''],
		['PAGE','54722',jdecode('March+16%2C+2009'),jdecode(''),'/10636/54722.html','true',[],''],
		['PAGE','54743',jdecode('March+8%2C+2009'),jdecode(''),'/10636/54743.html','true',[],''],
		['PAGE','51301',jdecode('November+17%2C+2008'),jdecode(''),'/10636/51301.html','true',[],''],
		['PAGE','27001',jdecode('April+2008'),jdecode(''),'/10636/27001.html','true',[],''],
		['PAGE','21301',jdecode('March+5%2C+2008'),jdecode(''),'/10636/21301.html','true',[],''],
		['PAGE','51401',jdecode('June+2007'),jdecode(''),'/10636/51401.html','true',[],''],
		['PAGE','21322',jdecode('February+7%2C+2007'),jdecode(''),'/10636/21322.html','true',[],''],
		['PAGE','36101',jdecode('February+6%2C+2007'),jdecode(''),'/10636/36101.html','true',[],''],
		['PAGE','23101',jdecode('January+29%2C+2007'),jdecode(''),'/10636/23101.html','true',[],''],
		['PAGE','28301',jdecode('September+16%2C+2006'),jdecode(''),'/10636/28301.html','true',[],''],
		['PAGE','27501',jdecode('September+18%2C+2005'),jdecode(''),'/10636/27501.html','true',[],''],
		['PAGE','27801',jdecode('February+28%2C+2005'),jdecode(''),'/10636/27801.html','true',[],'']
	],''],
	['PAGE','10678',jdecode('Contact+Us'),jdecode(''),'/10678.html','true',[],''],
	['PAGE','23201',jdecode('Our+Friends'),jdecode(''),'/23201.html','true',[],'']];
var siteelementCount=63;
theSitetree.topTemplateName='Card';
theSitetree.paletteFamily='990000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='427';
theSitetree.graphicsetId='480';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Card',
				paletteFamily: 	'990000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'427',
				graphicsetId: 	'480',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['7008']=webappMappings['7008-5312']={
webappId:    '7008',
documentId:  '10678',
internalId:  '5312',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10501',
internalId:  '',
customField: '20091227-230751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19801',
internalId:  '',
customField: '20080809-144821'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10552',
internalId:  '',
customField: '20090916-122200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17222',
internalId:  '',
customField: '20091012-232800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17201',
internalId:  '',
customField: '20091011-222553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10636',
internalId:  '',
customField: '20091227-114401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10657',
internalId:  '',
customField: '20091012-130955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10678',
internalId:  '',
customField: '20090826-233712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11601',
internalId:  '',
customField: '20080723-231317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19822',
internalId:  '',
customField: '20091012-235125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21301',
internalId:  '',
customField: '20080809-141016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21322',
internalId:  '',
customField: '20080810-204333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23101',
internalId:  '',
customField: '20080819-222559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23201',
internalId:  '',
customField: '20091012-130158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24101',
internalId:  '',
customField: '20091011-221233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27001',
internalId:  '',
customField: '20080809-112538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27501',
internalId:  '',
customField: '20080819-220355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27801',
internalId:  '',
customField: '20080809-114358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28301',
internalId:  '',
customField: '20080809-141944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30301',
internalId:  '',
customField: '20090705-221243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30322',
internalId:  '',
customField: '20090410-223916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32901',
internalId:  '',
customField: '20090411-003834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34501',
internalId:  '',
customField: '20081130-232456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34601',
internalId:  '',
customField: '20090531-140233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36101',
internalId:  '',
customField: '20080819-222216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36001',
internalId:  '',
customField: '20080818-230710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37301',
internalId:  '',
customField: '20080821-223432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37322',
internalId:  '',
customField: '20080818-231427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37343',
internalId:  '',
customField: '20080818-231523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37364',
internalId:  '',
customField: '20080818-231639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37385',
internalId:  '',
customField: '20080818-231733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37406',
internalId:  '',
customField: '20080818-232601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37427',
internalId:  '',
customField: '20080818-232814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37448',
internalId:  '',
customField: '20080818-233034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38801',
internalId:  '',
customField: '20080818-232443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37490',
internalId:  '',
customField: '20080819-212245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37469',
internalId:  '',
customField: '20080819-212154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37511',
internalId:  '',
customField: '20080819-212412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37532',
internalId:  '',
customField: '20080819-212557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37553',
internalId:  '',
customField: '20080819-212855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43201',
internalId:  '',
customField: '20080821-094608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48501',
internalId:  '',
customField: '20091012-130452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48522',
internalId:  '',
customField: '20081130-233139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51301',
internalId:  '',
customField: '20090119-213055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51401',
internalId:  '',
customField: '20090119-214055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54743',
internalId:  '',
customField: '20090410-231733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54722',
internalId:  '',
customField: '20090411-013753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54701',
internalId:  '',
customField: '20090411-013812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56701',
internalId:  '',
customField: '20090411-011608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64201',
internalId:  '',
customField: '20091008-173410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66601',
internalId:  '',
customField: '20091011-231744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66622',
internalId:  '',
customField: '20091008-152730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66643',
internalId:  '',
customField: '20091008-152655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66664',
internalId:  '',
customField: '20091008-031709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67401',
internalId:  '',
customField: '20091013-114638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66685',
internalId:  '',
customField: '20091008-031631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66706',
internalId:  '',
customField: '20091008-152501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70025',
internalId:  '',
customField: '20091013-114132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70425',
internalId:  '',
customField: '20091012-130252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71325',
internalId:  '',
customField: '20091008-160942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74725',
internalId:  '',
customField: '20091013-113914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77545',
internalId:  '',
customField: '20091014-145304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78245',
internalId:  '',
customField: '20091227-122304'
};
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0IN2EW2';
var companyName   = 'Traveling+Mercies';
var htmlTitle	  = 'Traveling+Mercies';
var metaKeywords  = 'traveling+mercies%2C+charity%2C+afghanistan%2C+kenya%2C+donate%2C+money%2C+funds%2C+aldo%2C+magazenni%2C+compassion%2C+donate%2C+contribute%2C+contribution%2C+generousity%2C+press%2C+lumberton%2C+perkiomanville%2C+pennsylvania%2C+new+jersey%2C+champion+fasteners%2C+hammonton+gazette%2C+philadelphia+inquirer%2C+water+project%2C+italy%2C+penn+state%2C+non+profit%2C+non-profit';
var metaContents  = 'Dedicated+to+helping+others%E2%80%A6While+working+to+remove+barriers+between+cultures+so+that+individuals+can+share+their+strengths%2C+assets+and+blessings+with+each+other.++%E2%80%9CHuman+equality+is+most+important+and+can+only+be+achieved+through+compassion%2C+love+and+sharing+our+life+experiences.%E2%80%9D';
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();
};

