/* [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','1401',jdecode('Home'),jdecode(''),'/1401.html','true',[],''],
	['PAGE','20301',jdecode('Take+Action%21+'),jdecode(''),'/20301.html','true',[],''],
	['PAGE','36401',jdecode('Meeting+Calendar'),jdecode(''),'/36401.html','true',[],''],
	['PAGE','1452',jdecode('Find+My+River'),jdecode(''),'/1452.html','true',[],''],
	['PAGE','1473',jdecode('Find+My+Lake'),jdecode(''),'/1473.html','true',[],''],
	['PAGE','7501',jdecode('Find+My+Spring'),jdecode(''),'/7501/index.html','true',[ 
		['PAGE','7601',jdecode('St.+Johns+River'),jdecode(''),'/7501/7601.html','true',[],'']
	],''],
	['PAGE','11201',jdecode('Lake+Amory'),jdecode(''),'/11201.html','true',[],''],
	['PAGE','23601',jdecode('Sailing'),jdecode(''),'/23601.html','true',[],''],
	['PAGE','19001',jdecode('Writer%26%23x27%3Bs+Block+%28reviews%29'),jdecode(''),'/19001.html','true',[],''],
	['PAGE','1557',jdecode('Links'),jdecode(''),'/1557.html','true',[],''],
	['PAGE','22201',jdecode('Important+Documents'),jdecode(''),'/22201.html','true',[],''],
	['PAGE','1578',jdecode('Album'),jdecode(''),'/1578.html','true',[],''],
	['PAGE','1620',jdecode('Press'),jdecode(''),'/1620.html','true',[],''],
	['PAGE','1599',jdecode('Contact%2FAbout+us'),jdecode(''),'/1599.html','true',[],''],
	['PAGE','34501',jdecode('Steve+Barnes'),jdecode(''),'/34501.html','false',[],''],
	['PAGE','1536',jdecode('Join'),jdecode(''),'/1536.html','false',[],''],
	['PAGE','10301',jdecode('River+Talk'),jdecode(''),'/10301.html','false',[],''],
	['PAGE','15701',jdecode('Calendar+of+Events'),jdecode(''),'/15701.html','false',[],''],
	['PAGE','15501',jdecode('map+page'),jdecode(''),'/15501.html','false',[],''],
	['PAGE','15522',jdecode('Boating'),jdecode(''),'/15522.html','false',[],''],
	['PAGE','15543',jdecode('Fishing'),jdecode(''),'/15543.html','false',[],''],
	['PAGE','31901',jdecode('Thoughts+on+the+issues'),jdecode(''),'/31901.html','false',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Gaudy';
theSitetree.paletteFamily='5C5D96';
theSitetree.keyvisualId='5931';
theSitetree.keyvisualName='kv_5931.jpg';
theSitetree.fontsetId='11114';
theSitetree.graphicsetId='11905';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='6E8BCE';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Gaudy',
				paletteFamily: 	'5C5D96',
				keyvisualId: 	'5931',
				keyvisualName: 	'kv_5931.jpg',
				fontsetId: 		'11114',
				graphicsetId: 	'11905',
				contentColor: 	'000000',
				contentBGColor: '6E8BCE',
				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['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '1452',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['1003']=webappMappings['1003-aendu0ine2fl11ea9dc7723']={
webappId:    '1003',
documentId:  '10301',
internalId:  'aendu0ine2fl11ea9dc7723',
customField: 'en:US'
};
webappMappings['7060']=webappMappings['7060-c995da7f2cd6f469f109c7a79fa40196']={
webappId:    '7060',
documentId:  '1578',
internalId:  'c995da7f2cd6f469f109c7a79fa40196',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1401',
internalId:  '',
customField: '20100121-003638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1452',
internalId:  '',
customField: '20090727-164642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1473',
internalId:  '',
customField: '20090727-165356'
};
webappMappings['7050']=webappMappings['7050-7009']={
webappId:    '7050',
documentId:  '1401',
internalId:  '7009',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7501',
internalId:  '',
customField: '20090727-165039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1536',
internalId:  '',
customField: '20090105-231743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1557',
internalId:  '',
customField: '20090727-172524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1578',
internalId:  '',
customField: '20090105-183524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1599',
internalId:  '',
customField: '20090727-170450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1620',
internalId:  '',
customField: '20090129-125853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31901',
internalId:  '',
customField: '20090802-153454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7601',
internalId:  '',
customField: '20091101-224114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10301',
internalId:  '',
customField: '20090105-223055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11201',
internalId:  '',
customField: '20090107-142815'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '15501',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:true;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20090106-220105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15522',
internalId:  '',
customField: '20090106-220107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15543',
internalId:  '',
customField: '20090106-220107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20090114-194817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20090804-173114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20301',
internalId:  '',
customField: '20090813-142604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20090812-175523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23601',
internalId:  '',
customField: '20090129-130410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34501',
internalId:  '',
customField: '20090811-230642'
};
webappMappings['7008']=webappMappings['7008-16604']={
webappId:    '7008',
documentId:  '20301',
internalId:  '16604',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36401',
internalId:  '',
customField: '20090831-085047'
};
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0INE2FL';
var companyName   = '';
var htmlTitle	  = 'My+Florida+River';
var metaKeywords  = 'St.+Johns+River%2C+environment%2C+Wekiva+river%2C+Wekiwa+Springs%2C+pollution%2C+development%2C+manatees%2C+environmental+news%2C+drought%2C+flooding%2C+Florida%2C+restore+your+lake%2C+water+issues%2C+water%2C+water+wars%2C+conservation%2C+water+restrictions%2C+Florida+water%2C+offshore+drilling%2C+irrigation%2C+Tampa+Bay+Water%2C+SRWMD%2C+SWFWMD%2C+SFWMD%2C+NFWMD%2C+ARWMD';
var metaContents  = 'My+Florida+River+is+your+source+for+breaking+environmental+news+as+well+as+a+hub+for+environmental+advocates+from+around+the+state.+Free+link+exchanges+for+environmental+groups.+';
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();
};
