/* [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','5914',jdecode('Home+Page'),jdecode(''),'/5914.html','true',[],'',''],
	['PAGE','95923',jdecode('Board+of+Directors'),jdecode(''),'/95923.html','true',[],'',''],
	['PAGE','25109',jdecode('Post+1+Information'),jdecode(''),'/25109/index.html','true',[ 
		['PAGE','85923',jdecode('Weekly+Schedule'),jdecode(''),'/25109/85923.html','true',[],'',''],
		['PAGE','106123',jdecode('Open+Jam'),jdecode(''),'/25109/106123.html','true',[],'',''],
		['PAGE','88923',jdecode('Monthly+Schedule'),jdecode(''),'/25109/88923.html','true',[],'',''],
		['PAGE','96723',jdecode('Weekly+Kitchen+Specials'),jdecode(''),'/25109/96723.html','false',[],'',''],
		['PAGE','97923',jdecode('Where%26%23x27%3Bs+Bridget%3F'),jdecode(''),'/25109/97923.html','true',[],'',''],
		['PAGE','91223',jdecode('Oldies+Music+Fun+Night%21'),jdecode(''),'/25109/91223.html','true',[],'',''],
		['PAGE','91323',jdecode('Full+Moon+Party+Every+Month%21'),jdecode(''),'/25109/91323.html','true',[],'',''],
		['PAGE','25330',jdecode('Bartenders'),jdecode(''),'/25109/25330.html','true',[],'',''],
		['PAGE','25351',jdecode('Bands'),jdecode(''),'/25109/25351.html','true',[],'',''],
		['PAGE','95123',jdecode('Kitchen+Staff'),jdecode(''),'/25109/95123.html','true',[],'',''],
		['PAGE','34130',jdecode('Bffar+Monthly+Flyer'),jdecode(''),'/25109/34130.html','false',[],'',''],
		['PAGE','57430',jdecode('Kitchen-Sunday+Breakfast'),jdecode(''),'/25109/57430.html','true',[],'',''],
		['PAGE','25309',jdecode('Kitchen+Menu'),jdecode(''),'/25109/25309.html','false',[],'',''],
		['PAGE','81323',jdecode('Past+events+at+the+BFFAR+%28fun+times%29'),jdecode(''),'/25109/81323.html','true',[],'',''],
		['PAGE','21302',jdecode('Volunteer'),jdecode(''),'/25109/21302.html','true',[],'','']
	],'',''],
	['PAGE','30509',jdecode('Bffar+Poker+Runs+%26+Events'),jdecode(''),'/30509/index.html','true',[ 
		['PAGE','103323',jdecode('Bennie+Memorial+7%2F31%2F10'),jdecode(''),'/30509/103323.html','true',[],'',''],
		['PAGE','94423',jdecode('Katelynn+Stinnett+Poker+Run+6%2F19%2F10'),jdecode(''),'/30509/94423.html','false',[],'',''],
		['PAGE','108623',jdecode('Harry+Kirby+Poker+Run+8%2F28%2F10'),jdecode(''),'/30509/108623.html','true',[],'',''],
		['PAGE','93723',jdecode('Grotto+Poker+Run+9%2F05%2F10'),jdecode(''),'/30509/93723.html','true',[],'','']
	],'',''],
	['PAGE','30809',jdecode('Adopt-A-Highway'),jdecode(''),'/30809.html','true',[],'',''],
	['PAGE','55009',jdecode('Sunday+Morning+Riders+Group+'),jdecode(''),'/55009.html','true',[],'',''],
	['PAGE','21239',jdecode('Community+%26+Business+Partners'),jdecode(''),'/21239/index.html','true',[ 
		['PAGE','21218',jdecode('Our+Lawyers'),jdecode(''),'/21239/21218.html','true',[],'','']
	],'',''],
	['PAGE','6743',jdecode('B.F.F.A.R.++News+Letter'),jdecode(''),'/6743.html','true',[],'',''],
	['PAGE','95723',jdecode('General+Membership+Meetings'),jdecode(''),'/95723/index.html','true',[ 
		['PAGE','103023',jdecode('Guest+Speakers'),jdecode(''),'/95723/103023.html','true',[],'',''],
		['PAGE','68209',jdecode('Minutes+From+August+2009'),jdecode(''),'/95723/68209.html','true',[],'','']
	],'',''],
	['PAGE','56109',jdecode('We+The+People+Stimulus+Package'),jdecode(''),'/56109.html','true',[],'',''],
	['PAGE','21197',jdecode('B.F.F.A.R+Addresses+Issues'),jdecode(''),'/21197/index.html','true',[ 
		['PAGE','21365',jdecode('Message+to+Local+Government'),jdecode(''),'/21197/21365.html','true',[],'',''],
		['PAGE','97323',jdecode('Emory+L.+Bennett+Updates'),jdecode(''),'/21197/97323.html','true',[],'',''],
		['PAGE','21344',jdecode('Organization+Progress+Report'),jdecode(''),'/21197/21344.html','true',[],'',''],
		['PAGE','6701',jdecode('News'),jdecode(''),'/21197/6701.html','true',[],'',''],
		['PAGE','21281',jdecode('Veterans+Lifeline+to+Gainesville'),jdecode(''),'/21197/21281.html','true',[],'',''],
		['PAGE','90423',jdecode('Red+Knights'),jdecode(''),'/21197/90423.html','true',[],'','']
	],'',''],
	['PAGE','21323',jdecode('The+Candidates'),jdecode(''),'/21323/index.html','true',[ 
		['PAGE','86523',jdecode('Eddie+Colosimo+for+Volusia+County+Council+at+Large'),jdecode(''),'/21323/86523.html','true',[],'',''],
		['PAGE','21597',jdecode('Voter+Registration+Locations'),jdecode(''),'/21323/21597.html','true',[],'','']
	],'',''],
	['PAGE','99223',jdecode('*NEW*+Classified%21'),jdecode(''),'/99223/index.html','true',[ 
		['PAGE','100023',jdecode('Motorcycles%2C+Autos%2C+Boats%2C+RV%26%23x27%3Bs+etc.'),jdecode(''),'/99223/100023.html','true',[],'',''],
		['PAGE','100044',jdecode('Pets...'),jdecode(''),'/99223/100044.html','true',[],'','']
	],'',''],
	['PAGE','21618',jdecode('Club+Merchandise'),jdecode(''),'/21618.html','true',[],'',''],
	['PAGE','7301',jdecode('Become+a+Member'),jdecode(''),'/7301.html','true',[],'',''],
	['PAGE','7343',jdecode('Contact'),jdecode(''),'/7343.html','true',[],'','']];
var siteelementCount=48;
theSitetree.topTemplateName='Meta';
theSitetree.paletteFamily='C0824E';
theSitetree.keyvisualId='11304';
theSitetree.keyvisualName='kv_11304.jpg';
theSitetree.fontsetId='31994';
theSitetree.graphicsetId='13827';
theSitetree.contentColor='020202';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Meta',
				paletteFamily: 	'C0824E',
				keyvisualId: 	'11304',
				keyvisualName: 	'kv_11304.jpg',
				fontsetId: 		'31994',
				graphicsetId: 	'13827',
				contentColor: 	'020202',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5914',
internalId:  '',
customField: '20100828-170115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7301',
internalId:  '',
customField: '20100520-145738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6701',
internalId:  '',
customField: '20081107-083725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96723',
internalId:  '',
customField: '20100630-131715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97323',
internalId:  '',
customField: '20100528-202238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21281',
internalId:  '',
customField: '20081107-103758'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5914',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25109',
internalId:  '',
customField: '20100522-210757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6743',
internalId:  '',
customField: '20090314-132646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21344',
internalId:  '',
customField: '20100520-202345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21302',
internalId:  '',
customField: '20081106-192758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21197',
internalId:  '',
customField: '20100622-143047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7343',
internalId:  '',
customField: '20100614-214131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25351',
internalId:  '',
customField: '20100511-193134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94423',
internalId:  '',
customField: '20100527-185832'
};
webappMappings['1501']=webappMappings['1501-12865211']={
webappId:    '1501',
documentId:  '5914',
internalId:  '12865211',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21218',
internalId:  '',
customField: '20100520-191840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30509',
internalId:  '',
customField: '20100723-150920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30809',
internalId:  '',
customField: '20100524-192317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21597',
internalId:  '',
customField: '20081106-221327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21618',
internalId:  '',
customField: '20091009-085744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25309',
internalId:  '',
customField: '20090228-135755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25330',
internalId:  '',
customField: '20100526-194713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21239',
internalId:  '',
customField: '20100527-135137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21365',
internalId:  '',
customField: '20100520-201132'
};
webappMappings['7008']=webappMappings['7008-10318']={
webappId:    '7008',
documentId:  '21302',
internalId:  '10318',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21323',
internalId:  '',
customField: '20100828-165350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99223',
internalId:  '',
customField: '20100614-214011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97923',
internalId:  '',
customField: '20100817-154903'
};
webappMappings['7060']=webappMappings['7060-ed8a25b73676343fbeeab39cd687ea7d']={
webappId:    '7060',
documentId:  '81323',
internalId:  'ed8a25b73676343fbeeab39cd687ea7d',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57430',
internalId:  '',
customField: '20090706-211856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56109',
internalId:  '',
customField: '20090406-235729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55009',
internalId:  '',
customField: '20090809-130001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95123',
internalId:  '',
customField: '20100526-192242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95723',
internalId:  '',
customField: '20100527-141105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68209',
internalId:  '',
customField: '20100527-141139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81323',
internalId:  '',
customField: '20091106-112500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95923',
internalId:  '',
customField: '20100527-142432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90423',
internalId:  '',
customField: '20100520-202029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91223',
internalId:  '',
customField: '20100722-130634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91323',
internalId:  '',
customField: '20100524-191746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93723',
internalId:  '',
customField: '20100526-184220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85923',
internalId:  '',
customField: '20100817-155103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34130',
internalId:  '',
customField: '20091207-104458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86523',
internalId:  '',
customField: '20100828-165315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88923',
internalId:  '',
customField: '20100828-170008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100044',
internalId:  '',
customField: '20100723-152614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100023',
internalId:  '',
customField: '20100723-152237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103023',
internalId:  '',
customField: '20100622-144057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103323',
internalId:  '',
customField: '20100802-165536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106123',
internalId:  '',
customField: '20100703-121231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108623',
internalId:  '',
customField: '20100723-144708'
};
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0INENWP';
var companyName   = 'Bikers+For+First+Amendment+Rights';
var htmlTitle	  = 'B.F.F.A.R.';
var metaKeywords  = 'bffar%2C+volusia%2C+bikers%2C+bikersforfirstamendmentrights%2C+bikeweek%2C+biketoberfest%2C+bar%2C+daytona%2C+daytona+beach%2C+government%2C+poker+run%2C+live+bands%2C+holly+hill%2C+eddie%2C+Crazy+eddie%2C+suzy+q%2C+voting%2C+voter%2C+voting+locations%2C+vote';
var metaContents  = 'An+Origination+dedicated+to+the+rights+of+our+citizens%2C+We+work+to+make+local+government+accountable+for+their+actions.+';
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();
};
