/* [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','2001',jdecode('AEX+KDP+WU+HOMEPAGE'),jdecode(''),'/2001.html','true',[],''],
	['PAGE','2052',jdecode('ABOUT+OUR+CHAPTER...'),jdecode(''),'/2052/index.html','true',[ 
		['PAGE','2073',jdecode('Our+Honor+Society'),jdecode(''),'/2052/2073.html','true',[],'']
	],''],
	['PAGE','2136',jdecode('OFFICERS+%26+ADVISORS'),jdecode(''),'/2136/index.html','true',[ 
		['PAGE','2094',jdecode('Our+Chapter+Officers'),jdecode(''),'/2136/2094.html','true',[],'']
	],''],
	['PAGE','2178',jdecode('AEX+CHARTERING+YEAR'),jdecode(''),'/2178.html','true',[],''],
	['PAGE','39753',jdecode('KDP+Founder%26%23x27%3Bs+Day+3%2F8%2F10'),jdecode(''),'/39753.html','true',[],''],
	['PAGE','2601',jdecode('MEMBERSHIP+INFO'),jdecode(''),'/2601/index.html','true',[ 
		['PAGE','18501',jdecode('MONTHLY+NEW+MEMBERS'),jdecode(''),'/2601/18501.html','true',[],''],
		['PAGE','2622',jdecode('Requirements'),jdecode(''),'/2601/2622.html','true',[],''],
		['PAGE','2643',jdecode('Membership+Dues'),jdecode(''),'/2601/2643.html','true',[],''],
		['PAGE','2115',jdecode('Applying+for+Membership'),jdecode(''),'/2601/2115.html','true',[],''],
		['PAGE','14101',jdecode('Membership+Questions'),jdecode(''),'/2601/14101.html','true',[],'']
	],''],
	['PAGE','20001',jdecode('AEX+APPLICATION+PAGE'),jdecode(''),'/20001.html','true',[],''],
	['PAGE','5901',jdecode('INITIATIONS'),jdecode(''),'/5901/index.html','true',[ 
		['PAGE','37601',jdecode('IMPORTANT+INFO%21%21%21'),jdecode(''),'/5901/37601.html','true',[],''],
		['PAGE','5943',jdecode('IN+PERSON+INITIATION+INFO'),jdecode(''),'/5901/5943.html','true',[],''],
		['PAGE','5922',jdecode('Online%2FVirtual+Initiation'),jdecode(''),'/5901/5922.html','true',[],''],
		['PAGE','31601',jdecode('INITIATIONS+HISTORY'),jdecode(''),'/5901/31601.html','true',[],''],
		['PAGE','35401',jdecode('MEMBERS+OF+AEX+KDP'),jdecode(''),'/5901/35401.html','true',[],'']
	],''],
	['PAGE','2664',jdecode('KDP+CENTENNIAL+2011'),jdecode(''),'/2664.html','true',[],''],
	['PAGE','5301',jdecode('COMMITTEES'),jdecode(''),'/5301/index.html','true',[ 
		['PAGE','5322',jdecode('How+to+join+committees'),jdecode(''),'/5301/5322.html','true',[],'']
	],''],
	['PAGE','2685',jdecode('AEX+LEGACY+NEWSLETTER'),jdecode(''),'/2685/index.html','true',[ 
		['PAGE','3422',jdecode('Current+Issue'),jdecode(''),'/2685/3422.html','true',[],''],
		['PAGE','3443',jdecode('Archived+Issues'),jdecode(''),'/2685/3443.html','true',[],''],
		['PAGE','3464',jdecode('Submit+Articles'),jdecode(''),'/2685/3464.html','true',[],'']
	],''],
	['PAGE','2706',jdecode('PEER+REVIEWED+RESEARCH'),jdecode(''),'/2706/index.html','true',[ 
		['PAGE','3485',jdecode('Current+Issue'),jdecode(''),'/2706/3485.html','true',[],''],
		['PAGE','3506',jdecode('Archived+Issues'),jdecode(''),'/2706/3506.html','true',[],''],
		['PAGE','3527',jdecode('Submit+for+Publication'),jdecode(''),'/2706/3527.html','true',[],'']
	],''],
	['PAGE','34101',jdecode('HEALTH+SMARTS+4+Educators'),jdecode(''),'/34101/index.html','true',[ 
		['PAGE','3401',jdecode('KDP+ABC%26%23x27%3Bs+Wellness+Book'),jdecode(''),'/34101/3401.html','true',[],'']
	],''],
	['PAGE','2157',jdecode('AEX+MEMBERS%26%23x27%3B+STORE'),jdecode(''),'/2157.html','true',[],''],
	['PAGE','2199',jdecode('BULLETIN+BOARD'),jdecode(''),'/2199.html','true',[],''],
	['PAGE','2220',jdecode('CHAPTER+ALBUM'),jdecode(''),'/2220.html','true',[],''],
	['PAGE','2262',jdecode('SPONSORSHIP'),jdecode(''),'/2262.html','true',[],''],
	['PAGE','32101',jdecode('VOTE+ON+CHAPTER+MODEL'),jdecode(''),'/32101.html','true',[],''],
	['PAGE','2283',jdecode('FAQ'),jdecode(''),'/2283.html','true',[],''],
	['PAGE','2727',jdecode('KDP+LINKS'),jdecode(''),'/2727.html','true',[],''],
	['PAGE','2304',jdecode('SEARCH'),jdecode(''),'/2304.html','true',[],''],
	['PAGE','2325',jdecode('MEMBER+FEEDBACK'),jdecode(''),'/2325.html','true',[],''],
	['PAGE','2346',jdecode('MEMBER+BLOG'),jdecode(''),'/2346.html','true',[],''],
	['PAGE','2241',jdecode('GUESTBOOK'),jdecode(''),'/2241.html','true',[],''],
	['PAGE','20022',jdecode('COMMENTS+%26+IDEAS'),jdecode(''),'/20022.html','true',[],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Gaudy';
theSitetree.paletteFamily='6E359F';
theSitetree.keyvisualId='5976';
theSitetree.keyvisualName='kv_5976.jpg';
theSitetree.fontsetId='11113';
theSitetree.graphicsetId='11908';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='9858B6';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Gaudy',
				paletteFamily: 	'6E359F',
				keyvisualId: 	'5976',
				keyvisualName: 	'kv_5976.jpg',
				fontsetId: 		'11113',
				graphicsetId: 	'11908',
				contentColor: 	'FFFFFF',
				contentBGColor: '9858B6',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['4001']=webappMappings['4001-20667766']={
webappId:    '4001',
documentId:  '2157',
internalId:  '20667766',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-22fc368d64e9367f5f37364536f2aed9']={
webappId:    '7060',
documentId:  '2220',
internalId:  '22fc368d64e9367f5f37364536f2aed9',
customField: 'language:en;country:US;'
};
webappMappings['1002']=webappMappings['1002-2241aendu0in3z6z']={
webappId:    '1002',
documentId:  '2241',
internalId:  '2241aendu0in3z6z',
customField: 'icq=false'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '2304',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['1003']=webappMappings['1003-aendu0in3z6z122c3d8b221']={
webappId:    '1003',
documentId:  '2325',
internalId:  'aendu0in3z6z122c3d8b221',
customField: 'en:US'
};
webappMappings['7050']=webappMappings['7050-11096']={
webappId:    '7050',
documentId:  '2346',
internalId:  '11096',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2001',
internalId:  '',
customField: '20100611-130638'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2052',
internalId:  '',
customField: '20090815-084802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2073',
internalId:  '',
customField: '20090815-090143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2094',
internalId:  '',
customField: '20100223-202231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2136',
internalId:  '',
customField: '20090823-230231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2157',
internalId:  '',
customField: '20090924-111025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2178',
internalId:  '',
customField: '20100424-134311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2601',
internalId:  '',
customField: '20090815-092620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2622',
internalId:  '',
customField: '20090815-094204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2643',
internalId:  '',
customField: '20091121-202140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2115',
internalId:  '',
customField: '20090901-193314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2664',
internalId:  '',
customField: '20100223-201211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3401',
internalId:  '',
customField: '20091104-104147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2685',
internalId:  '',
customField: '20100223-205359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3422',
internalId:  '',
customField: '20100223-234045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3443',
internalId:  '',
customField: '20090728-204746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3464',
internalId:  '',
customField: '20090912-194402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2706',
internalId:  '',
customField: '20100403-182516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3485',
internalId:  '',
customField: '20090728-204746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3506',
internalId:  '',
customField: '20090728-204746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3527',
internalId:  '',
customField: '20090728-204746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2199',
internalId:  '',
customField: '20091121-200842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2220',
internalId:  '',
customField: '20090924-110322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2241',
internalId:  '',
customField: '20090924-110758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2262',
internalId:  '',
customField: '20091104-103255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2283',
internalId:  '',
customField: '20090728-201114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2727',
internalId:  '',
customField: '20090728-202230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2304',
internalId:  '',
customField: '20090728-201114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2325',
internalId:  '',
customField: '20090728-201114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2346',
internalId:  '',
customField: '20090820-170402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5901',
internalId:  '',
customField: '20100424-130713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5922',
internalId:  '',
customField: '20100429-095052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5943',
internalId:  '',
customField: '20100424-132905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5301',
internalId:  '',
customField: '20090818-122423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5322',
internalId:  '',
customField: '20090924-105945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18501',
internalId:  '',
customField: '20100203-105610'
};
webappMappings['1501']=webappMappings['1501-20668628']={
webappId:    '1501',
documentId:  '2001',
internalId:  '20668628',
customField: '1501'
};
webappMappings['7008']=webappMappings['7008-19788']={
webappId:    '7008',
documentId:  '14101',
internalId:  '19788',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20001',
internalId:  '',
customField: '20100528-113955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20090815-103737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35401',
internalId:  '',
customField: '20100617-000024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34101',
internalId:  '',
customField: '20100403-183224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20022',
internalId:  '',
customField: '20090820-172540'
};
webappMappings['7008']=webappMappings['7008-19942']={
webappId:    '7008',
documentId:  '20022',
internalId:  '19942',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31601',
internalId:  '',
customField: '20100616-235034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32101',
internalId:  '',
customField: '20090930-110933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37601',
internalId:  '',
customField: '20100424-131243'
};
webappMappings['7008']=webappMappings['7008-26743']={
webappId:    '7008',
documentId:  '39753',
internalId:  '26743',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39753',
internalId:  '',
customField: '20100319-140944'
};
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0IN3Z6Z';
var companyName   = 'Alpha+Epsilon+Xi+Chapter%2C+Kappa+Delta+Pi%2C+the+International+Honor+Society+in+Education';
var htmlTitle	  = 'Alpha+Epsilon+Xi+Chapter+of+Kappa+Delta+Pi%2C+the+International+Honor+Society+in+Education+at+Walden+University';
var metaKeywords  = 'Alpha+Epsilon+Xi+Chapter%2C+Alpha+Epsilon+Xi+Kappa+Delta+Pi%2C+Walden+University+Education+Honor+Society%2C+Walden+University+AEX+Chapter%2C+Education+Honor+Society+Walden+University%2C+Kappa+Delta+Pi+Walden+University%2C+Honor+Society+in+Education%2C+International+Honor+Society+in+Education';
var metaContents  = 'Alpha+Epsilon+Xi+Chapter%2C+Alpha+Epsilon+Xi+Kappa+Delta+Pi%2C+Walden+University+Education+Honor+Society%2C+Walden+University+AEX+Chapter%2C+Education+Honor+Society+Walden+University%2C+Kappa+Delta+Pi+Walden+University';
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();
};
