/* [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','10301',jdecode('Home'),jdecode(''),'/10301.html','true',[],'',''],
	['PAGE','14922',jdecode('Reports'),jdecode(''),'/14922/index.html','true',[ 
		['PAGE','15301',jdecode('Chairman%26%23x27%3Bs+Reports'),jdecode(''),'/14922/15301.html','true',[],'',''],
		['PAGE','15322',jdecode('President%26%23x27%3Bs+Reports'),jdecode(''),'/14922/15322.html','true',[],'',''],
		['PAGE','15343',jdecode('Retiree+Reports'),jdecode(''),'/14922/15343.html','true',[],'',''],
		['PAGE','40001',jdecode('In+Memoriam'),jdecode(''),'/14922/40001.html','true',[],'','']
	],'',''],
	['PAGE','14901',jdecode('Benefits'),jdecode(''),'/14901/index.html','true',[ 
		['PAGE','15501',jdecode('Benefits+Reports'),jdecode(''),'/14901/15501.html','true',[],'',''],
		['PAGE','27401',jdecode('Info+and+Forms'),jdecode(''),'/14901/27401.html','true',[],'',''],
		['PAGE','15522',jdecode('Benefits+Links'),jdecode(''),'/14901/15522.html','true',[],'',''],
		['PAGE','27422',jdecode('Ask+a+Benefit+Rep'),jdecode(''),'/14901/27422.html','true',[],'','']
	],'',''],
	['PAGE','27443',jdecode('EAP'),jdecode(''),'/27443/index.html','true',[ 
		['PAGE','27464',jdecode('EAP+Articles'),jdecode(''),'/27443/27464.html','true',[],'',''],
		['PAGE','27485',jdecode('EAP+Links'),jdecode(''),'/27443/27485.html','true',[],'','']
	],'',''],
	['PAGE','20501',jdecode('Transition+Area'),jdecode(''),'/20501.html','true',[],'',''],
	['PAGE','15069',jdecode('Links'),jdecode(''),'/15069.html','true',[],'',''],
	['PAGE','14985',jdecode('Archives'),jdecode(''),'/14985/index.html','true',[ 
		['PAGE','15801',jdecode('Auto+Know'),jdecode(''),'/14985/15801.html','true',[],'',''],
		['PAGE','15822',jdecode('Focus+on+Labor'),jdecode(''),'/14985/15822.html','true',[],'',''],
		['PAGE','15027',jdecode('History'),jdecode(''),'/14985/15027.html','true',[],'','']
	],'',''],
	['PAGE','21901',jdecode('Photos'),jdecode(''),'/21901/index.html','true',[ 
		['PAGE','22201',jdecode('Christmas+2009'),jdecode(''),'/21901/22201.html','true',[],'',''],
		['PAGE','21922',jdecode('March+for+Babies'),jdecode(''),'/21901/21922.html','true',[],'',''],
		['PAGE','22701',jdecode('Early+Workers'),jdecode(''),'/21901/22701.html','true',[],'',''],
		['PAGE','22722',jdecode('2009+Picnic+1'),jdecode(''),'/21901/22722.html','true',[],'',''],
		['PAGE','25501',jdecode('2009+Picnic+2'),jdecode(''),'/21901/25501.html','true',[],'',''],
		['PAGE','25522',jdecode('2009+Picnic+3'),jdecode(''),'/21901/25522.html','true',[],'',''],
		['PAGE','22743',jdecode('Management'),jdecode(''),'/21901/22743.html','true',[],'',''],
		['PAGE','22764',jdecode('The+40s+and+50s'),jdecode(''),'/21901/22764.html','true',[],'',''],
		['PAGE','22785',jdecode('The+Plant'),jdecode(''),'/21901/22785.html','true',[],'','']
	],'',''],
	['PAGE','33501',jdecode('Search'),jdecode(''),'/33501.html','true',[],'',''],
	['PAGE','14964',jdecode('Contact+Us'),jdecode(''),'/14964.html','true',[],'','']];
var siteelementCount=32;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='1243CC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10381';
theSitetree.graphicsetId='10562';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circulation',
				paletteFamily: 	'1243CC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10381',
				graphicsetId: 	'10562',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10301',
internalId:  '',
customField: '20100302-161902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22701',
internalId:  '',
customField: '20091229-135819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14922',
internalId:  '',
customField: '20091229-153710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15301',
internalId:  '',
customField: '20100106-150005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15343',
internalId:  '',
customField: '20100201-155601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14964',
internalId:  '',
customField: '20100103-054323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20100104-053308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15322',
internalId:  '',
customField: '20100106-105530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20100302-171330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20100302-171458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14985',
internalId:  '',
customField: '20100114-161827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15069',
internalId:  '',
customField: '20100105-142757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15801',
internalId:  '',
customField: '20100104-230040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15822',
internalId:  '',
customField: '20100104-230201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15027',
internalId:  '',
customField: '20091229-013948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20501',
internalId:  '',
customField: '20100218-173703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22764',
internalId:  '',
customField: '20091229-142317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21901',
internalId:  '',
customField: '20100104-051655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21922',
internalId:  '',
customField: '20091229-130247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22785',
internalId:  '',
customField: '20091229-144016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22743',
internalId:  '',
customField: '20091229-145818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22722',
internalId:  '',
customField: '20091229-200917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25501',
internalId:  '',
customField: '20091229-201015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25522',
internalId:  '',
customField: '20091229-201134'
};
webappMappings['7008']=webappMappings['7008-13978']={
webappId:    '7008',
documentId:  '27422',
internalId:  '13978',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15522',
internalId:  '',
customField: '20100302-174808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27401',
internalId:  '',
customField: '20100302-174948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27422',
internalId:  '',
customField: '20100102-201335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27443',
internalId:  '',
customField: '20100302-162518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27464',
internalId:  '',
customField: '20100111-202720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27485',
internalId:  '',
customField: '20100302-164915'
};
webappMappings['7008']=webappMappings['7008-13984']={
webappId:    '7008',
documentId:  '14964',
internalId:  '13984',
customField: 'language:en;country:US;'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '33501',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33501',
internalId:  '',
customField: '20100103-074204'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10301',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40001',
internalId:  '',
customField: '20100218-095220'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVF340I7CWW7';
var companyName   = 'UAW+Local+730';
var htmlTitle	  = '';
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();
};
