/* [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','9101',jdecode('Home'),jdecode(''), jdecode('%2F9101.html'), 'true',[],'',''],
	['PAGE','9173',jdecode('About+us'),jdecode(''), jdecode('%2F9173%2Findex.html'), 'true',[ 
		['PAGE','20401',jdecode('Board+of+Directors'),jdecode(''), jdecode('%2F9173%2F20401.html'), 'true',[],'',''],
		['PAGE','9194',jdecode('Our+team'),jdecode(''), jdecode('%2F9173%2F9194.html'), 'true',[],'',''],
		['PAGE','20422',jdecode('History'),jdecode(''), jdecode('%2F9173%2F20422.html'), 'true',[],'',''],
		['PAGE','27901',jdecode('Farm+Credit+System'),jdecode(''), jdecode('%2F9173%2F27901.html'), 'true',[],'',''],
		['PAGE','27401',jdecode('AgriBank'),jdecode(''), jdecode('%2F9173%2F27401.html'), 'true',[],'',''],
		['PAGE','27422',jdecode('Farm+Credit+Administration'),jdecode(''), jdecode('%2F9173%2F27422.html'), 'true',[],'','']
	],'',''],
	['PAGE','20122',jdecode('News+%26+Information'),jdecode(''), jdecode('%2F20122.html'), 'true',[],'',''],
	['PAGE','52801',jdecode('Quarterly+Report'),jdecode(''), jdecode('%2F52801.html'), 'true',[],'',''],
	['PAGE','46101',jdecode('Annual+Report'),jdecode(''), jdecode('%2F46101.html'), 'true',[],'',''],
	['PAGE','9152',jdecode('Contact%2FLocations'),jdecode(''), jdecode('%2F9152.html'), 'true',[],'',''],
	['PAGE','20222',jdecode('PCA+Loans'),jdecode(''), jdecode('%2F20222%2Findex.html'), 'true',[ 
		['PAGE','20685',jdecode('Farm+Operating+Loans'),jdecode(''), jdecode('%2F20222%2F20685.html'), 'true',[],'',''],
		['PAGE','20706',jdecode('Equipment+Loans'),jdecode(''), jdecode('%2F20222%2F20706.html'), 'true',[],'',''],
		['PAGE','26801',jdecode('YBS+Program'),jdecode(''), jdecode('%2F20222%2F26801.html'), 'true',[],'','']
	],'',''],
	['PAGE','20243',jdecode('FLCA+Loans'),jdecode(''), jdecode('%2F20243%2Findex.html'), 'true',[ 
		['PAGE','20727',jdecode('Variable+Rate'),jdecode(''), jdecode('%2F20243%2F20727.html'), 'true',[],'',''],
		['PAGE','20748',jdecode('Adjustable+Rates'),jdecode(''), jdecode('%2F20243%2F20748.html'), 'true',[],'',''],
		['PAGE','20769',jdecode('Fixed+Rates'),jdecode(''), jdecode('%2F20243%2F20769.html'), 'true',[],'','']
	],'',''],
	['PAGE','47401',jdecode('Weather'),jdecode(''), jdecode('%2F47401.html'), 'true',[],'',''],
	['PAGE','28801',jdecode('Privacy+Notice'),jdecode(''), jdecode('%2F28801.html'), 'true',[],'','']];
var siteelementCount=22;
theSitetree.topTemplateName='Display';
theSitetree.paletteFamily='19120C';
theSitetree.keyvisualId='11387';
theSitetree.keyvisualName='kv_11387.jpg';
theSitetree.fontsetId='31963';
theSitetree.graphicsetId='13800';
theSitetree.contentColor='395565';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp35-attweb',
  product: 'WSCSYSSSSLY0X9RC'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Display',
				paletteFamily: 	'19120C',
				keyvisualId: 	'11387',
				keyvisualName: 	'kv_11387.jpg',
				fontsetId: 		'31963',
				graphicsetId: 	'13800',
				contentColor: 	'395565',
				contentBGColor: 'FFFFFF',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20110107-105334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9152',
internalId:  '',
customField: '20110623-142142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9173',
internalId:  '',
customField: '20090702-150742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47401',
internalId:  '',
customField: '20110406-165014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52801',
internalId:  '',
customField: '20111103-145901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20122',
internalId:  '',
customField: '20110623-141026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20401',
internalId:  '',
customField: '20111028-164245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20222',
internalId:  '',
customField: '20090625-153806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20243',
internalId:  '',
customField: '20090630-104517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46101',
internalId:  '',
customField: '20110308-144900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9194',
internalId:  '',
customField: '20101117-143456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20422',
internalId:  '',
customField: '20090717-095609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20685',
internalId:  '',
customField: '20110623-141321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20706',
internalId:  '',
customField: '20101123-121509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20727',
internalId:  '',
customField: '20090624-161329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20748',
internalId:  '',
customField: '20090624-161755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20769',
internalId:  '',
customField: '20110607-104358'
};
webappMappings['1501']=webappMappings['1501-14185105']={
webappId:    '1501',
documentId:  '9101',
internalId:  '14185105',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '9101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26801',
internalId:  '',
customField: '20101123-161622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27401',
internalId:  '',
customField: '20090630-164646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27422',
internalId:  '',
customField: '20100823-204047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27901',
internalId:  '',
customField: '20090717-101021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28801',
internalId:  '',
customField: '20110623-141607'
};
webappMappings['7080']=webappMappings['7080-322']={
webappId:    '7080',
documentId:  '47401',
internalId:  '322',
customField: 'language:en;country:US;'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVFL30INHGAL';
var companyName   = 'Delta+ACA+Farm+Credit+';
var htmlTitle	  = 'Delta+ACA+Farm+Credit+';
var metaKeywords  = 'Delta%0D%0A%0D%0AArkansas+Farm+Credit%0D%0A%0D%0AFCS+of+Arkansas%0D%0A%0D%0AArkansas+ag+lenders%0D%0A%0D%0AArkansas+agriculture+lenders%0D%0A%0D%0Afarming+in+arkansas%0D%0A%0D%0AArkansas+farm+real+estate%0D%0A%0D%0ADelta+farm+real+estate%0D%0A%0D%0ADelta+farmland%0D%0A%0D%0Aarkansas+farmland%0D%0A%0D%0Afarm+credit+services+delta%0D%0A%0D%0Asouthern+arkansas+agri+lenders%0D%0A%0D%0Asouthern+arkansas+farm+credit%0D%0A%0D%0Asoutheast+arkansas+farm+real+estate%0D%0A%0D%0Aarkansas+farm+real+estate%0D%0A%0D%0Aarkansas+agriculture%0D%0A%0D%0Aarkansas+timber+land+lender%0D%0A%0D%0Asoutheast+arkansas+real+estate%0D%0A%0D%0Amonticello+farm+credit%0D%0A%0D%0Amonticello+agriculture+lenders%0D%0A%0D%0Afarm+service+agency+guaranteed+loans%0D%0A%0D%0A4B+company%0D%0A%0D%0Asoutheast+arkansas%0D%0A%0D%0Achicot+county%2C+arkansas%0D%0A%0D%0Adesha+county%2C+arkansas%0D%0A%0D%0Adrew+county%2C+arkansas%0D%0A%0D%0Aashley+county%2C+arkansas%0D%0A%0D%0Alincoln+county%2C+arkansas%0D%0A%0D%0Au.s.+agriculture%0D%0A%0D%0Aamerican+farm+credit%0D%0A%0D%0Asoybeans%0D%0A%0D%0Acotton%0D%0A%0D%0Arice+%0D%0A%0D%0Acorn%0D%0A%0D%0Agrain+sorghum%0D%0A%0D%0Aarkansas+water+fowel%0D%0A%0D%0Aduck+hunting+arkansas%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAg+Credit%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAgricultural+Credit+Association%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAgricultural+Credit+%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AACA%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AFarm%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AFarm+ACA%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0ADelta+ACA%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0ADelta+ACA+Farm+Credit+Services%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AFarm+Credit+Services';
var metaContents  = 'Delta%0D%0A%0D%0AFarm+Credit+Council%0D%0A%0D%0AArkansas+Farm+Credit%0D%0A%0D%0AFarm+Credit+of+Arkansas%0D%0A%0D%0AFCS+of+Arkansas%0D%0A%0D%0AArkansas+FCS%0D%0A%0D%0AArkansas+Ag+Lender%0D%0A%0D%0AArkansas+Agri+Lender%0D%0A%0D%0AArkansas+Farm+loans%0D%0A%0D%0ADelta+Farm+loans%0D%0A%0D%0Adelta+farm+land+loans%0D%0A%0D%0Aarkansas+farmland+loans%0D%0A%0D%0Adesha+county+farm+credit%0D%0A%0D%0Achicot+county+farm+credit%0D%0A%0D%0Aashley+county+farm+credit%0D%0A%0D%0Adrew+county+farm+credit%0D%0A%0D%0Alincoln+county+farm+credit%0D%0A%0D%0Adermott+farm+credit%0D%0A%0D%0Adermott+ag+lenders%0D%0A%0D%0Asoutheast+arkansas+agriculture+lenders%0D%0A%0D%0Aseark+farm+and+real+estate%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAg+Credit%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAgricultural+Credit+Association%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAgricultural+Credit%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AACA%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AFarm+ACA%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0ADelta+ACA%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0ADelta+ACA+Farm+Credit+Services%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AFarm+Credit%0D%0A%0D%0A%0D%0A%0D%0AFarm+Credit+Services';
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();
};

