/* [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','901',jdecode('Home'),jdecode(''),'/901/index.html','true',[ 
		['PAGE','973',jdecode('History'),jdecode(''),'/901/973.html','true',[],''],
		['PAGE','9901',jdecode('Mission+Statement'),jdecode(''),'/901/9901.html','true',[],'']
	],''],
	['PAGE','8285',jdecode('Exhibits'),jdecode(''),'/8285/index.html','true',[ 
		['PAGE','99990',jdecode('Parker+Hall'),jdecode(''),'/8285/99990.html','true',[],''],
		['PAGE','99969',jdecode('The+Lounge'),jdecode(''),'/8285/99969.html','true',[],''],
		['PAGE','99801',jdecode('African+American+Exhibit'),jdecode(''),'/8285/99801.html','true',[],''],
		['PAGE','99822',jdecode('Asian+Exhibit'),jdecode(''),'/8285/99822.html','true',[],''],
		['PAGE','99843',jdecode('Hispanic+%26+Latino+Exhibit'),jdecode(''),'/8285/99843.html','true',[],''],
		['PAGE','99864',jdecode('Native+American+Exhibit'),jdecode(''),'/8285/99864.html','true',[],''],
		['PAGE','99885',jdecode('Women%26%23x27%3Bs+Exhibit'),jdecode(''),'/8285/99885.html','true',[],''],
		['PAGE','99906',jdecode('Jump+the+Broom+Exhibit'),jdecode(''),'/8285/99906.html','true',[],''],
		['PAGE','99927',jdecode('Kedan%26%23x27%3Bs+Center+For+The+Visually+Impaired'),jdecode(''),'/8285/99927.html','true',[],'']
	],''],
	['PAGE','137187',jdecode('Archiving'),jdecode(''),'/137187.html','true',[],''],
	['PAGE','136961',jdecode('Programs'),jdecode(''),'/136961/index.html','true',[ 
		['PAGE','99948',jdecode('Puppets+with+History'),jdecode(''),'/136961/99948.html','true',[],''],
		['PAGE','27764',jdecode('EEP+%28Educational+Enhancement+Program%29'),jdecode(''),'/136961/27764.html','true',[],''],
		['PAGE','137196',jdecode('Jump+the+Broom'),jdecode(''),'/136961/137196.html','true',[],''],
		['PAGE','8411',jdecode('Kedan%26%23x27%3Bs+Corner'),jdecode(''),'/136961/8411.html','true',[],''],
		['PAGE','62101',jdecode('Rites+of+Passage+Walk'),jdecode(''),'/136961/62101.html','true',[],''],
		['PAGE','57901',jdecode('NABVETS'),jdecode(''),'/136961/57901.html','true',[],'']
	],''],
	['PAGE','8369',jdecode('Events'),jdecode(''),'/8369/index.html','true',[ 
		['PAGE','122501',jdecode('MLK+Day+of+Service'),jdecode(''),'/8369/122501.html','true',[],''],
		['PAGE','137343',jdecode('National+Day+of+Honor+for+Minority+Veterans+of+World+War+II'),jdecode(''),'/8369/137343.html','true',[],''],
		['PAGE','49001',jdecode('Stars+%26+Stripes+Celebration'),jdecode(''),'/8369/49001.html','true',[],''],
		['PAGE','50601',jdecode('Eisenhower+World+War+II+Weekend'),jdecode(''),'/8369/50601.html','true',[],''],
		['PAGE','55001',jdecode('Veteran%26%23x27%3Bs+Day+Celebration'),jdecode(''),'/8369/55001.html','true',[],''],
		['PAGE','55022',jdecode('Day+of+Remembrance'),jdecode(''),'/8369/55022.html','true',[],'']
	],''],
	['PAGE','31701',jdecode('Veteran%26%23x27%3Bs+Gallery'),jdecode(''),'/31701/index.html','true',[ 
		['PAGE','8390',jdecode('ACE+of+the+Month'),jdecode(''),'/31701/8390.html','true',[],''],
		['PAGE','86101',jdecode('Medal+of+Honor+Recipients'),jdecode(''),'/31701/86101.html','true',[],''],
		['PAGE','32001',jdecode('African+American'),jdecode(''),'/31701/32001.html','true',[],''],
		['PAGE','32022',jdecode('Asian+American'),jdecode(''),'/31701/32022.html','true',[],''],
		['PAGE','32043',jdecode('Hispanic+American'),jdecode(''),'/31701/32043.html','true',[],''],
		['PAGE','32085',jdecode('Native+American'),jdecode(''),'/31701/32085.html','true',[],''],
		['PAGE','32106',jdecode('Women'),jdecode(''),'/31701/32106.html','true',[],''],
		['PAGE','94001',jdecode('Bands'),jdecode(''),'/31701/94001.html','true',[],''],
		['PAGE','7906',jdecode('Veteran+Chalkboard'),jdecode(''),'/31701/7906.html','true',[],''],
		['PAGE','7901',jdecode('Sign+In'),jdecode(''),'/31701/7901.html','false',[],'']
	],''],
	['PAGE','104501',jdecode('Wall+of+Remembrance'),jdecode(''),'/104501.html','true',[],''],
	['PAGE','88101',jdecode('Civilians'),jdecode(''),'/88101/index.html','true',[ 
		['PAGE','88122',jdecode('NAACP'),jdecode(''),'/88101/88122.html','true',[],''],
		['PAGE','32127',jdecode('Athletes'),jdecode(''),'/88101/32127.html','true',[],''],
		['PAGE','32148',jdecode('Entertainers'),jdecode(''),'/88101/32148.html','true',[],'']
	],''],
	['PAGE','10401',jdecode('Archivist%26%23x27%3Bs+Update'),jdecode(''),'/10401.html','true',[],''],
	['PAGE','8474',jdecode('About+us'),jdecode(''),'/8474/index.html','true',[ 
		['PAGE','8101',jdecode('Contact'),jdecode(''),'/8474/8101.html','true',[],''],
		['PAGE','10006',jdecode('Board+of+Directors'),jdecode(''),'/8474/10006.html','true',[],''],
		['PAGE','8432',jdecode('Media'),jdecode(''),'/8474/8432.html','true',[],''],
		['PAGE','994',jdecode('Links'),jdecode(''),'/8474/994.html','true',[],'']
	],'']];
var siteelementCount=50;
theSitetree.topTemplateName='Toronto';
theSitetree.paletteFamily='479960';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16882';
theSitetree.graphicsetId='12322';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='479960';
var theTemplate={
				name: 			'Toronto',
				paletteFamily: 	'479960',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16882',
				graphicsetId: 	'12322',
				contentColor: 	'FFFFFF',
				contentBGColor: '479960',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'479960',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '901',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8285',
internalId:  '',
customField: '20081030-124541'
};
webappMappings['1002']=webappMappings['1002-7906AHW050INXE5J']={
webappId:    '1002',
documentId:  '7906',
internalId:  '7906AHW050INXE5J',
customField: 'icq=false'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '8101',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-168189']={
webappId:    '1501',
documentId:  '901',
internalId:  '168189',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '901',
internalId:  '',
customField: '20090523-082626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '973',
internalId:  '',
customField: '20081012-223534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9901',
internalId:  '',
customField: '20080606-113047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8369',
internalId:  '',
customField: '20080413-120343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122501',
internalId:  '',
customField: '20080519-095026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49001',
internalId:  '',
customField: '20080606-020141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50601',
internalId:  '',
customField: '20080519-095129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55001',
internalId:  '',
customField: '20080413-012915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55022',
internalId:  '',
customField: '20080403-085232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99801',
internalId:  '',
customField: '20080409-195700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136961',
internalId:  '',
customField: '20081029-232423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99822',
internalId:  '',
customField: '20080409-195811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99843',
internalId:  '',
customField: '20080409-195926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99864',
internalId:  '',
customField: '20080409-200030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99885',
internalId:  '',
customField: '20080409-200155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99906',
internalId:  '',
customField: '20080409-200416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99927',
internalId:  '',
customField: '20080409-200514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99948',
internalId:  '',
customField: '20081030-121129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99969',
internalId:  '',
customField: '20080704-191700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99990',
internalId:  '',
customField: '20080704-191318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31701',
internalId:  '',
customField: '20080415-001703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8390',
internalId:  '',
customField: '20070815-093840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86101',
internalId:  '',
customField: '20080406-041721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104501',
internalId:  '',
customField: '20080412-235329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32001',
internalId:  '',
customField: '20080520-055130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32022',
internalId:  '',
customField: '20080412-184518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32043',
internalId:  '',
customField: '20080415-232936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32085',
internalId:  '',
customField: '20080415-233531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32106',
internalId:  '',
customField: '20080412-235248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94001',
internalId:  '',
customField: '20080411-204137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10401',
internalId:  '',
customField: '20080302-153634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88101',
internalId:  '',
customField: '20080415-005129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88122',
internalId:  '',
customField: '20080415-010816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32127',
internalId:  '',
customField: '20080414-115810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32148',
internalId:  '',
customField: '20080413-020014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8411',
internalId:  '',
customField: '20080418-125722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7906',
internalId:  '',
customField: '20080302-154010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7901',
internalId:  '',
customField: '20080302-154057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27764',
internalId:  '',
customField: '20080507-234711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57901',
internalId:  '',
customField: '20080712-165948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62101',
internalId:  '',
customField: '20080519-174508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137187',
internalId:  '',
customField: '20081105-190726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137196',
internalId:  '',
customField: '20081105-190726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8474',
internalId:  '',
customField: '20080712-165808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8101',
internalId:  '',
customField: '20080701-091812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10006',
internalId:  '',
customField: '20080712-165929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8432',
internalId:  '',
customField: '20080712-121606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '994',
internalId:  '',
customField: '20080524-012314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137343',
internalId:  '',
customField: '20090525-200352'
};
var canonHostname = 'wsc-worker04.chi.us.siteprotect.com';
var accountId     = 'AHW050INXE5J';
var companyName   = 'ACES+MUSEUM+Honoring+Black+%26+Minority+Veterans+of+WWII+%26+Their+Families';
var htmlTitle	  = 'ACES+MUSEUM+Honoring+Black++Minority+Veterans+of+World+War+II++Their+Families';
var metaKeywords  = 'ACES+MUSEUM%2C+World+War+II+Veterans%2C+WW+II+Vets%2C+Black+World+War+II+Veterans%2C+Blacks+WWII%2C+Black+WWII+Vets%2C+Black+WW+II+Vets%2C+Latino+World+War+II+Veterans%2C+Latino+WWII+Vets%2C+Hispanic+World+War+II+Veterans%2C+Hispanic+WWII+Vets%2C+Asian+World+War+II+Veterans%2C+Asian+WWII+Vets%2C+Minority+Veterans+WWII%2C+Native+American+World+War+II+Veterans%2C+Native+American+WWII+Vets%2C++Women+World+War+II+Veterans%2C+Women+WWII+Vets%2C++Philadelphias+Cotton+Club%2C+AV+Hankins+MD+FACP%2C+A.V.+Hankins+MD+FACP%2C+Althea+Hankins%2C+Solomon+Williams%2C++Puppets+with+History%2C++Jump+the+Broom%2C+Hollywood+Canteen%2C+AEEP%2C+Educational+Enhancement+Program%2C+Rites+of+Passage%2C+Rites+of+Passage+Walk%2C+Minority+Veterans+WWII%2C+ACES%2C+Parker+Hall%2C+1940s%2C+A.+Philip+Randolph%2C+';
var metaContents  = 'ACES+MUSEUM+Honoring+Black++Minority+Veterans+of+WWII%2C+ACES+MUSEUM+Honoring+Black++Minority+Veterans+of+World+War+II++Their+Families%2C+ACES+MUSEUM%2C+ACES%2C+Minority+Veterans+WWII';
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();
};
