/* [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','5201',jdecode('Mornington+Boat+and+Kayak+Hire'),jdecode(''),'/5201.html','true',[],'',''],
	['PAGE','25401',jdecode('Boat+Hire+Fleet'),jdecode(''),'/25401.html','true',[],'',''],
	['PAGE','26901',jdecode('Polycraft+hire+boat'),jdecode(''),'/26901.html','false',[],'',''],
	['PAGE','26922',jdecode('Savage+Dolfin+Hire+Boat'),jdecode(''),'/26922.html','false',[],'',''],
	['PAGE','26943',jdecode('4.5m+Quintrex+'),jdecode(''),'/26943.html','false',[],'',''],
	['PAGE','26964',jdecode('4.3m+Stacer'),jdecode(''),'/26964.html','false',[],'',''],
	['PAGE','26985',jdecode('4.3m+dehavland'),jdecode(''),'/26985.html','false',[],'',''],
	['PAGE','27006',jdecode('429+stacer'),jdecode(''),'/27006.html','false',[],'',''],
	['PAGE','27027',jdecode('395+stacer'),jdecode(''),'/27027.html','false',[],'',''],
	['PAGE','27048',jdecode('Boat+Rates'),jdecode(''),'/27048.html','true',[],'',''],
	['PAGE','9743',jdecode('Kayak+Rates'),jdecode(''),'/9743.html','true',[],'',''],
	['PAGE','28701',jdecode('Fishing+Hire'),jdecode(''),'/28701.html','true',[],'',''],
	['PAGE','28722',jdecode('Bait+%26+Tackle'),jdecode(''),'/28722.html','true',[],'',''],
	['PAGE','27069',jdecode('Fishing+Map'),jdecode(''),'/27069.html','true',[],'',''],
	['PAGE','9827',jdecode('Boat+Hire+Location'),jdecode(''),'/9827.html','true',[],'',''],
	['PAGE','9848',jdecode('FAQ'),jdecode(''),'/9848.html','true',[],'',''],
	['PAGE','9869',jdecode('What+to+bring'),jdecode(''),'/9869.html','true',[],'',''],
	['PAGE','12343',jdecode('Why+choose+us'),jdecode(''),'/12343.html','true',[],'',''],
	['PAGE','9890',jdecode('Contact'),jdecode(''),'/9890.html','true',[],'',''],
	['PAGE','27090',jdecode('Fishing'),jdecode(''),'/27090.html','true',[],'',''],
	['PAGE','28743',jdecode('Fish+species'),jdecode(''),'/28743.html','true',[],'',''],
	['PAGE','27111',jdecode('Snapper+Tips'),jdecode(''),'/27111.html','true',[],'',''],
	['PAGE','27132',jdecode('Snapper+Tactics'),jdecode(''),'/27132.html','true',[],'',''],
	['PAGE','27153',jdecode('Whiting'),jdecode(''),'/27153.html','true',[],'',''],
	['PAGE','27174',jdecode('Squid'),jdecode(''),'/27174.html','true',[],'',''],
	['PAGE','12385',jdecode('Weather'),jdecode(''),'/12385.html','true',[],'',''],
	['PAGE','16501',jdecode('Comments'),jdecode(''),'/16501.html','true',[],'',''],
	['PAGE','23201',jdecode('+Face+Book'),jdecode(''),'/23201.html','true',[],'','']];
var siteelementCount=28;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='93A6CC';
theSitetree.keyvisualId='2224';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='364';
theSitetree.graphicsetId='415';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='93A6CC';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'93A6CC',
				keyvisualId: 	'2224',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'364',
				graphicsetId: 	'415',
				contentColor: 	'FFFFFF',
				contentBGColor: '93A6CC',
				a_color: 		'93A6CC',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5201',
internalId:  '',
customField: '20100527-030109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27090',
internalId:  '',
customField: '20100325-070829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27111',
internalId:  '',
customField: '20100325-071549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9743',
internalId:  '',
customField: '20100325-053133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26922',
internalId:  '',
customField: '20100325-054221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26901',
internalId:  '',
customField: '20100325-054221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27153',
internalId:  '',
customField: '20100325-075014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9827',
internalId:  '',
customField: '20100325-064051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9848',
internalId:  '',
customField: '20100527-040705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9869',
internalId:  '',
customField: '20100527-040822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9890',
internalId:  '',
customField: '20100325-065424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26943',
internalId:  '',
customField: '20100325-054221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27132',
internalId:  '',
customField: '20100325-072058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12343',
internalId:  '',
customField: '20100527-041433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12385',
internalId:  '',
customField: '20091103-091424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27174',
internalId:  '',
customField: '20100325-072414'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5201',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-22475962']={
webappId:    '1501',
documentId:  '5201',
internalId:  '22475962',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16501',
internalId:  '',
customField: '20100527-041810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28743',
internalId:  '',
customField: '20100325-074930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20100527-033654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25401',
internalId:  '',
customField: '20100527-031451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27048',
internalId:  '',
customField: '20100527-033524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27069',
internalId:  '',
customField: '20100527-034625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23201',
internalId:  '',
customField: '20100224-033634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26964',
internalId:  '',
customField: '20100325-054221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26985',
internalId:  '',
customField: '20100325-054221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27006',
internalId:  '',
customField: '20100325-054221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27027',
internalId:  '',
customField: '20100325-054221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28722',
internalId:  '',
customField: '20100527-034554'
};
var canonHostname = 'wscwrk01.ehost-services.com';
var accountId     = 'AEN330INFN79';
var companyName   = 'Mornington+Boat+Hire+Bait+%26+Tackle';
var htmlTitle	  = 'Mornington+Boat+Hire+bait+%26+tackle%2C+Kiosk+and++Kayak+Hire';
var metaKeywords  = 'Mornington%2C+Boat%2C+Boats%2C+Hire%2C+hires%2C+rent%2C+rental%2C+fishing%2C+Peninsula%2C+frankston%2C+snapper%2C+Kayak%2C+Bait%2C+tackle%2C+port+phillip+bay%2C+fish%2C+kayaks%2C+charter%2C+shop%2C+store%2C+shop%2C+squid%2C+sport%2C+marine%2C+schnapper%2C+point%2C+angeling%2C+boat+hire%2C+boat+rental%2C+gear%2C+pier%2C+melbourne%2C+rosebud%2C+rye%2C+southern%2C+south%2C+baits';
var metaContents  = 'Mornington+Boat+Hire+bait+and+Tackle%2C+Kayak+Hire%2C+fishing+Boat+rental%2C+hire+boats%2C+close+to+mebloune+and+frankston%2C+on+the+shores+of+port+phillip+bay+and+on+the+Mornington+peninsula.+Snapper%2F+Schnapper+is+King+in+Mornington+let+us+get+you+in+a+rental%2F+Hire%2F+charter+boat+and+get+you+fishing';
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();
};
