/* [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+QPAFCU'),jdecode(''),'/32.html','true',[],'',''],
	['PAGE','7658',jdecode('About+us'),jdecode(''),'/7658.html','true',[],'',''],
	['PAGE','7180',jdecode('Newsletter'),jdecode(''),'/7180.html','true',[],'',''],
	['PAGE','1374',jdecode('QPAFCU+FAQ'),jdecode(''),'/1374.html','true',[],'',''],
	['PAGE','1383',jdecode('OLQP+Church'),jdecode(''),'/1383.html','true',[],'',''],
	['PAGE','7439',jdecode('Why+a+Church+CU%3F'),jdecode(''),'/7439.html','true',[],'',''],
	['PAGE','7939',jdecode('Church+CUs'),jdecode(''),'/7939.html','true',[],'',''],
	['PAGE','8482',jdecode('Free+Stuff'),jdecode(''),'/8482.html','true',[],'',''],
	['PAGE','9195',jdecode('DebitPass+Card'),jdecode(''),'/9195.html','true',[],'',''],
	['PAGE','9089',jdecode('Loans'),jdecode(''),'/9089.html','true',[],'',''],
	['PAGE','1088',jdecode('Rates'),jdecode(''),'/1088/index.html','true',[ 
		['PAGE','2056',jdecode('Savings+Rates'),jdecode(''),'/1088/2056.html','true',[],'',''],
		['PAGE','8606',jdecode('Full+TIS+Disclosure'),jdecode(''),'/1088/8606.html','true',[],'',''],
		['PAGE','2065',jdecode('Loan+Rates'),jdecode(''),'/1088/2065.html','true',[],'','']
	],'',''],
	['PAGE','6252',jdecode('Financial+Reports'),jdecode(''),'/6252/index.html','true',[ 
		['PAGE','8347',jdecode('Annual+Reports'),jdecode(''),'/6252/8347.html','true',[],'',''],
		['PAGE','1106',jdecode('Monthly+Reports'),jdecode(''),'/6252/1106.html','true',[],'','']
	],'',''],
	['PAGE','1079',jdecode('News'),jdecode(''),'/1079.html','true',[],'',''],
	['PAGE','1742',jdecode('QPAFCU+Services'),jdecode(''),'/1742.html','true',[],'',''],
	['PAGE','1751',jdecode('Officials'),jdecode(''),'/1751.html','true',[],'',''],
	['PAGE','2280',jdecode('Directions'),jdecode(''),'/2280.html','true',[],'',''],
	['PAGE','2734',jdecode('Privacy+Policy'),jdecode(''),'/2734.html','true',[],'',''],
	['PAGE','7004',jdecode('EITC'),jdecode(''),'/7004.html','true',[],'',''],
	['PAGE','7734',jdecode('Article+on+Disabled'),jdecode(''),'/7734.html','true',[],'',''],
	['PAGE','8180',jdecode('Emergency+Fund'),jdecode(''),'/8180.html','true',[],'',''],
	['PAGE','8251',jdecode('Youth%2FTeens'),jdecode(''),'/8251.html','true',[],'',''],
	['PAGE','9939',jdecode('Balance+Program'),jdecode(''),'/9939.html','true',[],'',''],
	['PAGE','1760',jdecode('CU_Use'),jdecode(''),'/1760.html','true',[],'','']];
var siteelementCount=28;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='4A587F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10449';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='4A587F';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Akropolis',
				paletteFamily: 	'4A587F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10449',
				contentColor: 	'FFFFFF',
				contentBGColor: '4A587F',
				a_color: 		'4A587F',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '32',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-849139']={
webappId:    '1501',
documentId:  '32',
internalId:  '849139',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '2280',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32',
internalId:  '',
customField: '20100725-183649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1088',
internalId:  '',
customField: '20100724-094039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2065',
internalId:  '',
customField: '20100724-093920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2056',
internalId:  '',
customField: '20100718-093917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7658',
internalId:  '',
customField: '20081006-170142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7180',
internalId:  '',
customField: '20100710-112357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1374',
internalId:  '',
customField: '20081006-165507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1383',
internalId:  '',
customField: '20080223-214343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7439',
internalId:  '',
customField: '20080220-173049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7939',
internalId:  '',
customField: '20080223-150317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8482',
internalId:  '',
customField: '20081009-150928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9195',
internalId:  '',
customField: '20080224-233510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9089',
internalId:  '',
customField: '20080329-190416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8606',
internalId:  '',
customField: '20100725-184215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6252',
internalId:  '',
customField: '20080511-223232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8347',
internalId:  '',
customField: '20100710-122645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1106',
internalId:  '',
customField: '20100710-115315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1079',
internalId:  '',
customField: '20100710-124929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1742',
internalId:  '',
customField: '20081006-165936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1751',
internalId:  '',
customField: '20100711-080045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2280',
internalId:  '',
customField: '20080719-102131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2734',
internalId:  '',
customField: '20100713-142535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7004',
internalId:  '',
customField: '20071130-231503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7734',
internalId:  '',
customField: '20080221-165447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8180',
internalId:  '',
customField: '20080223-153854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8251',
internalId:  '',
customField: '20080223-161839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9939',
internalId:  '',
customField: '20080329-192528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1760',
internalId:  '',
customField: '20100211-132553'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INE9JI';
var companyName   = 'Queen+of+Peace+Arlington+Federal+Credit+Union++QPAFCU';
var htmlTitle	  = 'Queen+of+Peace+Arlington+Federal+Credit+Union';
var metaKeywords  = 'credit+union%2C+church%2C+savings%2C+loans%2C+cooperative%2C+faith+based%2C+socially+conscious+investing%2C+lending';
var metaContents  = 'The+credit+union+offers+savings%2C+loans+and+other+services+to+its+members.';
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();
};
