/* [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','55',jdecode('Home'),jdecode(''),'/55.html','true',[],'',''],
	['PAGE','2704',jdecode('Kayak+Rentals'),jdecode(''),'/2704.html','true',[],'',''],
	['PAGE','2869',jdecode('Photos'),jdecode(''),'/2869.html','true',[],'',''],
	['PAGE','3782',jdecode('Kayak+Sales'),jdecode(''),'/3782.html','true',[],'',''],
	['PAGE','5652',jdecode('Directions'),jdecode(''),'/5652.html','true',[],'','']];
var siteelementCount=5;
theSitetree.topTemplateName='Beach';
theSitetree.paletteFamily='E7D794';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10565';
theSitetree.graphicsetId='10926';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E7C794';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Beach',
				paletteFamily: 	'E7D794',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10565',
				graphicsetId: 	'10926',
				contentColor: 	'000000',
				contentBGColor: 'E7C794',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FF503F',
				e_color: 		'FF503F',
				f_color: 		'FF503F',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '55',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-6c85f11a83bd34201a3f5bf0faaa6a52']={
webappId:    '7060',
documentId:  '2869',
internalId:  '6c85f11a83bd34201a3f5bf0faaa6a52',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55',
internalId:  '',
customField: '20100622-113445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2704',
internalId:  '',
customField: '20100514-184824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2869',
internalId:  '',
customField: '20091027-192633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3782',
internalId:  '',
customField: '20100514-185353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5652',
internalId:  '',
customField: '20100514-190055'
};
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHW050INX278';
var companyName   = 'Kayak+Cafe+*+Kayak+Rentals+*+Tours+*+Kayak+Sales*+Tropical+Kayaks++%26+Boat+Rentals';
var htmlTitle	  = 'Florida+kayak+rentals%2C+kayak+tours%2C++kayak+sales%2C+bike+rentals%2C+in+palm+coast%2C+flagler+beach%2C+Ormond+beach+%2C+florida+Kayak+';
var metaKeywords  = 'tropical+kayaks%2C++palm+coast%2CFlorida%2Ckayak+with+dolphins%2Ckayak%2C+bike+rentals+%2CPalm+coast++boat+rentals+%2Ckayaking+%2C+marineland+kayak+eco+tours%2Cflagler+beach%2C+tropical+Kayaks%2CFlorida+kayak+eco+tours%2C+kayak++with++dolphins%2C+kayak+rental%2Cdolphins+with++kayaks+rentals%2C+kayaking+with++manatees++%2Ctropical++kayaking++with+dolphins%2C+kayak+marineland%2C+and+bike++rentals+in++palm+coast+%2Cestuary+guided+kayak+trips%2Cvisit+flagler+%2Ckayak+cafe%2C+marineland+kayak+dolphins%2Cboats+for+sale+florida%2C+flagler+chamber+of+commerce%2C+tropical+kayaks%2C+Bings+Landing%2C+chamber+of+commerce+events+Washington+Oaks%2C+Ocean+hammock+beach+resort+%2C+kayak++Flagler+beach%2CFlagler+parks+kayaking%2C+Princess+Place%2C++florida+eco+tours%2C++dolpjond++marineland%2C+jacksonville+fishing%2C+guided+kayaking++trips%2C+paddling%2C++flagler+beach%2C++used+kayaks+for+sale%2Cflorida+state+parks%2Ckayak+trips++%2C++pellicer+creek%2CFavre+Dykes%2C++boats+for+sale+%2C+palm++coast+tours%2Cflorida+kayaking%2C+fl+kayak+tours%2C+daytona+yacht+brokers+%2C+ginn+hammock+beach+resort%2C+flagler+county%2C++palm+coast+marina+%2C++kayak+sales%2C+longs+landing%2C+st.augustine%2C+daytona+kayaks%2C++kayak++eco+tours%2C+jacksonville+fishing%2Cwashington+oaks%2Cgamble+rogers+%2Cpalm+coast+resort%2C++Bings+Landing%2Cginn+resort%2C+faa%2Cyachtworld%2Celectric+boats%2Ccheoy+lee+boat+for+salemobile+boat+broker%2Cpalm+coast+yachts';
var metaContents  = 'Paddle+with+dolphins%21+Manatees%21+Florida+kayak+eco+tours%2C+kayak++with++dolphins%2C+kayaks+rentals%2Cdolphins+with++kayaks+%2C+palm+coast+kayaking+with++manatees++%2Ctropical++kayaking++with+dolphins%2C+kayak+marineland%2C+and+bike++rentals+in++palm+coast+%2Cestuary+guided+kayak+trips%2Cvisit+flagler+%2Ckayak+cafe%2C+marineland+kayak+dolphins%2Cboat+flagler%2C+boats+for+sale+florida+%2C+daytona+yachts+flagler+chamber+of+commerce%2C+tropical+kayaks%2C+Bings+Landing%2C+chamber+of+commerce+events+Washington+Oaks%2C+Ocean+hammock+beach+resort+%2C+kayak++Flagler+beach%2CFlagler+parks+kayaking%2C+Princess+Place%2C++florida+eco+tours%2C++dolpjond++marineland%2C+jacksonville+fishing%2C+guided+kayaking++trips%2C+paddling%2C++flagler+beach%2C++used+kayaks+for+sale%2Cflorida+state+parks%2Ckayak+trips++%2C++pellicer+creek%2CFavre+Dykes%2C++boats+for+sale+%2C++%2Cpalm++coast+tours%2Cflorida+kayaking%2C+fl+kayak+tours%2C+daytona+yacht+brokers+%2Cmobile+boat+broker';
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();
};
