/* [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','1201',jdecode('Home'),jdecode(''),'/1201.html','true',[],''],
	['PAGE','1252',jdecode('About+the+WCT'),jdecode(''),'/1252.html','true',[],''],
	['PAGE','14201',jdecode('How+to+Reach+Us'),jdecode(''),'/14201.html','true',[],''],
	['PAGE','14801',jdecode('Executive+Board'),jdecode(''),'/14801/index.html','true',[ 
		['PAGE','91112',jdecode('Delegates'),jdecode(''),'/14801/91112.html','true',[],'']
	],''],
	['PAGE','14822',jdecode('Building+Reps'),jdecode(''),'/14822.html','true',[],''],
	['PAGE','1273',jdecode('Benefits'),jdecode(''),'/1273/index.html','true',[ 
		['PAGE','105612',jdecode('Financial+Advisor'),jdecode(''),'/1273/105612.html','true',[],''],
		['PAGE','98112',jdecode('Health+Advocate'),jdecode(''),'/1273/98112.html','true',[],''],
		['PAGE','14843',jdecode('Health+Care'),jdecode(''),'/1273/14843.html','true',[],''],
		['PAGE','22201',jdecode('Legal+Services'),jdecode(''),'/1273/22201.html','true',[],''],
		['PAGE','22222',jdecode('Life+Insurance'),jdecode(''),'/1273/22222.html','true',[],''],
		['PAGE','14864',jdecode('RX+Reimbursement'),jdecode(''),'/1273/14864.html','true',[],''],
		['PAGE','14885',jdecode('Tax+Shelter'),jdecode(''),'/1273/14885.html','true',[],''],
		['PAGE','22243',jdecode('Teacher+Loan+Changes'),jdecode(''),'/1273/22243.html','true',[],''],
		['PAGE','147912',jdecode('AFLAC'),jdecode(''),'/1273/147912.html','true',[],'']
	],''],
	['PAGE','128312',jdecode('Career+Center'),jdecode(''),'/128312.html','true',[],''],
	['PAGE','1294',jdecode('COMMENTATOR'),jdecode(''),'/1294/index.html','true',[ 
		['PAGE','134212',jdecode('09-10+Issues'),jdecode(''),'/1294/134212.html','true',[],''],
		['PAGE','100712',jdecode('08-09+Issues'),jdecode(''),'/1294/100712.html','true',[],''],
		['PAGE','101612',jdecode('07-08+Issues'),jdecode(''),'/1294/101612.html','true',[],''],
		['PAGE','94212',jdecode('06-07+Issues'),jdecode(''),'/1294/94212.html','true',[],''],
		['PAGE','94233',jdecode('05-06+Issues'),jdecode(''),'/1294/94233.html','true',[],'']
	],''],
	['PAGE','34401',jdecode('Dates+to+Know'),jdecode(''),'/34401/index.html','true',[ 
		['PAGE','99512',jdecode('Executive+Board'),jdecode(''),'/34401/99512.html','true',[],''],
		['PAGE','99533',jdecode('R.A.+Meetings'),jdecode(''),'/34401/99533.html','true',[],''],
		['PAGE','99554',jdecode('BOE+Meetings'),jdecode(''),'/34401/99554.html','true',[],'']
	],''],
	['PAGE','1315',jdecode('District+%26+Community'),jdecode(''),'/1315.html','true',[],''],
	['PAGE','124112',jdecode('Events'),jdecode(''),'/124112.html','true',[],''],
	['PAGE','107012',jdecode('Fair+Trade'),jdecode(''),'/107012.html','true',[],''],
	['PAGE','70501',jdecode('FMLA'),jdecode(''),'/70501.html','true',[],''],
	['PAGE','78201',jdecode('Forms'),jdecode(''),'/78201.html','true',[],''],
	['PAGE','1336',jdecode('Grievance'),jdecode(''),'/1336.html','true',[],''],
	['PAGE','115412',jdecode('Health+%26+Safety'),jdecode(''),'/115412.html','true',[],''],
	['PAGE','92112',jdecode('In+The+News'),jdecode(''),'/92112.html','true',[],''],
	['PAGE','1357',jdecode('Links'),jdecode(''),'/1357/index.html','true',[ 
		['PAGE','108612',jdecode('Certification'),jdecode(''),'/1357/108612.html','true',[],''],
		['PAGE','108633',jdecode('College+Board'),jdecode(''),'/1357/108633.html','true',[],''],
		['PAGE','30801',jdecode('Education'),jdecode(''),'/1357/30801.html','true',[],''],
		['PAGE','108654',jdecode('Government'),jdecode(''),'/1357/108654.html','true',[],''],
		['PAGE','30822',jdecode('Health+Resources'),jdecode(''),'/1357/30822.html','true',[],''],
		['PAGE','30843',jdecode('Labor+Resources'),jdecode(''),'/1357/30843.html','true',[],''],
		['PAGE','108675',jdecode('Professional+Dev.'),jdecode(''),'/1357/108675.html','true',[],'']
	],''],
	['PAGE','33101',jdecode('New+Members'),jdecode(''),'/33101.html','true',[],''],
	['PAGE','42701',jdecode('Political+Action'),jdecode(''),'/42701.html','true',[],''],
	['PAGE','1378',jdecode('PR+Committee'),jdecode(''),'/1378.html','true',[],''],
	['PAGE','136612',jdecode('Req.+Professional+Dev.'),jdecode(''),'/136612.html','true',[],''],
	['PAGE','68101',jdecode('Retirees'),jdecode(''),'/68101/index.html','true',[ 
		['PAGE','30885',jdecode('Retirement+Resources'),jdecode(''),'/68101/30885.html','true',[],''],
		['PAGE','153312',jdecode('PostScript'),jdecode(''),'/68101/153312.html','true',[],'']
	],''],
	['PAGE','70522',jdecode('Sick+Bank'),jdecode(''),'/70522.html','true',[],''],
	['PAGE','90612',jdecode('Sick+Leave+Guidelines'),jdecode(''),'/90612.html','true',[],''],
	['PAGE','40601',jdecode('Special+Education'),jdecode(''),'/40601.html','true',[],''],
	['PAGE','54001',jdecode('Teacher+Tools'),jdecode(''),'/54001.html','true',[],''],
	['PAGE','12401',jdecode('Welfare+Trust+Fund'),jdecode(''),'/12401/index.html','true',[ 
		['PAGE','125712',jdecode('What+is+WTF%3F'),jdecode(''),'/12401/125712.html','true',[],''],
		['PAGE','20422',jdecode('Dental'),jdecode(''),'/12401/20422.html','true',[],''],
		['PAGE','20443',jdecode('Hearing'),jdecode(''),'/12401/20443.html','true',[],''],
		['PAGE','20464',jdecode('RX+Reimbursement'),jdecode(''),'/12401/20464.html','true',[],''],
		['PAGE','20485',jdecode('Vision'),jdecode(''),'/12401/20485.html','true',[],'']
	],''],
	['PAGE','120312',jdecode('WCT+Gear'),jdecode(''),'/120312.html','true',[],''],
	['PAGE','151612',jdecode('Certification+Workshops'),jdecode(''),'/151612/index.html','true',[ 
		['PAGE','151812',jdecode('Information'),jdecode(''),'/151612/151812.html','true',[],'']
	],'']];
var siteelementCount=63;
theSitetree.topTemplateName='Porto';
theSitetree.paletteFamily='999EFF';
theSitetree.keyvisualId='6734';
theSitetree.keyvisualName='kv_6734.jpg';
theSitetree.fontsetId='11206';
theSitetree.graphicsetId='12019';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='999EFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Porto',
				paletteFamily: 	'999EFF',
				keyvisualId: 	'6734',
				keyvisualName: 	'kv_6734.jpg',
				fontsetId: 		'11206',
				graphicsetId: 	'12019',
				contentColor: 	'FFFFFF',
				contentBGColor: '999EFF',
				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: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1201',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '14201',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '151612',
internalId:  '',
customField: '20090930-155718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '151812',
internalId:  '',
customField: '20090930-151933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147912',
internalId:  '',
customField: '20090905-124227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136612',
internalId:  '',
customField: '20090721-114037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1201',
internalId:  '',
customField: '20090605-040131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1252',
internalId:  '',
customField: '20070401-093655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20090430-062802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20090622-173302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91112',
internalId:  '',
customField: '20080605-164659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14822',
internalId:  '',
customField: '20091023-140158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1273',
internalId:  '',
customField: '20090905-124210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105612',
internalId:  '',
customField: '20091028-103835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98112',
internalId:  '',
customField: '20091103-112540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14843',
internalId:  '',
customField: '20090930-144224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20060611-083420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22222',
internalId:  '',
customField: '20060611-083303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14864',
internalId:  '',
customField: '20071220-160935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14885',
internalId:  '',
customField: '20090615-181140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22243',
internalId:  '',
customField: '20060611-083148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1294',
internalId:  '',
customField: '20090905-102923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100712',
internalId:  '',
customField: '20090622-173339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101612',
internalId:  '',
customField: '20080819-185620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94212',
internalId:  '',
customField: '20080623-145255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94233',
internalId:  '',
customField: '20080623-135239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34401',
internalId:  '',
customField: '20091103-111940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99512',
internalId:  '',
customField: '20090813-115146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99533',
internalId:  '',
customField: '20090813-115421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99554',
internalId:  '',
customField: '20090911-073347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1315',
internalId:  '',
customField: '20090612-120755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124112',
internalId:  '',
customField: '20091023-135413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107012',
internalId:  '',
customField: '20090324-173147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70501',
internalId:  '',
customField: '20080506-090303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78201',
internalId:  '',
customField: '20090922-133825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1336',
internalId:  '',
customField: '20080723-154113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115412',
internalId:  '',
customField: '20090905-113345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92112',
internalId:  '',
customField: '20090930-144415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1357',
internalId:  '',
customField: '20090908-164710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108612',
internalId:  '',
customField: '20090930-150527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108633',
internalId:  '',
customField: '20080925-154129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30801',
internalId:  '',
customField: '20090812-120956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108654',
internalId:  '',
customField: '20080925-154238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30822',
internalId:  '',
customField: '20090617-175255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30843',
internalId:  '',
customField: '20081119-115619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108675',
internalId:  '',
customField: '20080925-154526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33101',
internalId:  '',
customField: '20090930-144702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42701',
internalId:  '',
customField: '20090122-101353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153312',
internalId:  '',
customField: '20091021-060933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1378',
internalId:  '',
customField: '20070626-062739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68101',
internalId:  '',
customField: '20090617-033033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30885',
internalId:  '',
customField: '20090812-113739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70522',
internalId:  '',
customField: '20070808-122855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90612',
internalId:  '',
customField: '20080605-163708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40601',
internalId:  '',
customField: '20081202-100750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54001',
internalId:  '',
customField: '20090812-120518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12401',
internalId:  '',
customField: '20080110-095458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20422',
internalId:  '',
customField: '20090905-124043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20443',
internalId:  '',
customField: '20080110-095611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20464',
internalId:  '',
customField: '20071220-161050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20485',
internalId:  '',
customField: '20080110-095736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120312',
internalId:  '',
customField: '20090430-063626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134212',
internalId:  '',
customField: '20091023-140230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125712',
internalId:  '',
customField: '20091103-111756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128312',
internalId:  '',
customField: '20090416-101438'
};
var canonHostname = 'cm4all.aplus.net';
var accountId     = 'AAPLU0IN2VSO';
var companyName   = 'Wappingers+Congress+of+Teachers';
var htmlTitle	  = 'Wappingers+Congress+of+Teachers';
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();
};
