/* [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('Home+Boat+Hire'),jdecode(''), jdecode('%2F5201.html'), 'true',[],'',''],
	['PAGE','25401',jdecode('Boats+for+Hire'),jdecode(''), jdecode('%2F25401.html'), 'true',[],'',''],
	['PAGE','54301',jdecode('Boat+hire+westernport+bay'),jdecode(''), jdecode('%2F54301.html'), 'true',[],'',''],
	['PAGE','56901',jdecode('boats+for+hire+melbourne'),jdecode(''), jdecode('%2F56901.html'), 'false',[],'',''],
	['PAGE','54401',jdecode('Port+Phillip+Bay+self+drive+fishing+boat+hire+%2F+charter'),jdecode(''), jdecode('%2F54401.html'), 'false',[],'',''],
	['PAGE','54422',jdecode('Boat+Hire%2C+Mordialloc'),jdecode(''), jdecode('%2F54422.html'), 'false',[],'',''],
	['PAGE','54501',jdecode('Frankston+boat+hire'),jdecode(''), jdecode('%2F54501.html'), 'false',[],'',''],
	['PAGE','54522',jdecode('Carrum+Boat+Hire+frankston'),jdecode(''), jdecode('%2F54522.html'), 'false',[],'',''],
	['PAGE','54601',jdecode('Boat+Hire%2C+Warneet'),jdecode(''), jdecode('%2F54601.html'), 'false',[],'',''],
	['PAGE','54701',jdecode('Hastings+boat+hire'),jdecode(''), jdecode('%2F54701.html'), 'false',[],'',''],
	['PAGE','54801',jdecode('Mount+martha+boat+hire+self+drive+fishing+charter'),jdecode(''), jdecode('%2F54801.html'), 'false',[],'',''],
	['PAGE','55201',jdecode('Dromana+self+drive+fishing+charter+for+hire'),jdecode(''), jdecode('%2F55201.html'), 'false',[],'',''],
	['PAGE','55601',jdecode('boat+hire+safety+beach'),jdecode(''), jdecode('%2F55601.html'), 'false',[],'',''],
	['PAGE','55701',jdecode('Rosebud+self+drive+fishing+charter+boat+hire+'),jdecode(''), jdecode('%2F55701.html'), 'false',[],'',''],
	['PAGE','55801',jdecode('rye+fishing+charter+self+drive+hire+boats'),jdecode(''), jdecode('%2F55801.html'), 'false',[],'',''],
	['PAGE','55822',jdecode('sorrento+fishing+boat+hire+charter'),jdecode(''), jdecode('%2F55822.html'), 'false',[],'',''],
	['PAGE','55843',jdecode('Portsea+boat+hire+fishing+charter'),jdecode(''), jdecode('%2F55843.html'), 'false',[],'',''],
	['PAGE','26901',jdecode('Polycraft+hire+boat'),jdecode(''), jdecode('%2F26901.html'), 'false',[],'',''],
	['PAGE','26922',jdecode('Savage+Dolfin+half+cabin+Hire+Boat'),jdecode(''), jdecode('%2F26922.html'), 'false',[],'',''],
	['PAGE','26943',jdecode('4.5m+Quintrex+'),jdecode(''), jdecode('%2F26943.html'), 'false',[],'',''],
	['PAGE','26964',jdecode('4.3m+Stacer'),jdecode(''), jdecode('%2F26964.html'), 'false',[],'',''],
	['PAGE','26985',jdecode('4.3m+dehavland'),jdecode(''), jdecode('%2F26985.html'), 'false',[],'',''],
	['PAGE','27006',jdecode('429+stacer'),jdecode(''), jdecode('%2F27006.html'), 'false',[],'',''],
	['PAGE','27027',jdecode('395+stacer'),jdecode(''), jdecode('%2F27027.html'), 'false',[],'',''],
	['PAGE','27048',jdecode('Boat+Hire+Prices'),jdecode(''), jdecode('%2F27048.html'), 'true',[],'',''],
	['PAGE','9743',jdecode('Kayak+Rates'),jdecode(''), jdecode('%2F9743.html'), 'true',[],'',''],
	['PAGE','37801',jdecode('Pedal+Boat+'),jdecode(''), jdecode('%2F37801.html'), 'true',[],'',''],
	['PAGE','28701',jdecode('Fishing+Hire'),jdecode(''), jdecode('%2F28701.html'), 'true',[],'',''],
	['PAGE','32701',jdecode('Fishing+Charters+'),jdecode(''), jdecode('%2F32701.html'), 'true',[],'',''],
	['PAGE','28722',jdecode('Bait+%26+Tackle'),jdecode(''), jdecode('%2F28722.html'), 'true',[],'',''],
	['PAGE','27069',jdecode('Fishing+Map'),jdecode(''), jdecode('%2F27069.html'), 'true',[],'',''],
	['PAGE','9827',jdecode('Boat+Hire+Location'),jdecode(''), jdecode('%2F9827.html'), 'true',[],'',''],
	['PAGE','9848',jdecode('FAQ'),jdecode(''), jdecode('%2F9848.html'), 'true',[],'',''],
	['PAGE','9869',jdecode('What+to+bring'),jdecode(''), jdecode('%2F9869.html'), 'false',[],'',''],
	['PAGE','12343',jdecode('Why+choose+us'),jdecode(''), jdecode('%2F12343.html'), 'false',[],'',''],
	['PAGE','9890',jdecode('Contact'),jdecode(''), jdecode('%2F9890.html'), 'true',[],'',''],
	['PAGE','50701',jdecode('Fishing+Tips'),jdecode(''), jdecode('%2F50701.html'), 'true',[],'',''],
	['PAGE','27090',jdecode('Fishing'),jdecode(''), jdecode('%2F27090.html'), 'false',[],'',''],
	['PAGE','28743',jdecode('Fish+species'),jdecode(''), jdecode('%2F28743.html'), 'true',[],'',''],
	['PAGE','27111',jdecode('Snapper+Tips'),jdecode(''), jdecode('%2F27111.html'), 'false',[],'',''],
	['PAGE','27132',jdecode('Snapper+Tactics'),jdecode(''), jdecode('%2F27132.html'), 'false',[],'',''],
	['PAGE','27153',jdecode('Whiting'),jdecode(''), jdecode('%2F27153.html'), 'false',[],'',''],
	['PAGE','27174',jdecode('Squid'),jdecode(''), jdecode('%2F27174.html'), 'false',[],'',''],
	['PAGE','12385',jdecode('Weather'),jdecode(''), jdecode('%2F12385.html'), 'true',[],'',''],
	['PAGE','16501',jdecode('Comments'),jdecode(''), jdecode('%2F16501.html'), 'true',[],'',''],
	['PAGE','23201',jdecode('+Face+Book'),jdecode(''), jdecode('%2F23201.html'), 'true',[],'',''],
	['PAGE','38901',jdecode('Photos'),jdecode(''), jdecode('%2F38901.html'), 'true',[],'',''],
	['PAGE','55864',jdecode('Rye+self+drive+fishing+charter+boats+for+hire'),jdecode(''), jdecode('%2F55864.html'), 'false',[],'','']];
var siteelementCount=48;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='136F83';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='154';
theSitetree.graphicsetId='170';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCF4';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'wl_enom',
  product: 'WSCENOSSSLYTC210'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Natural',
				paletteFamily: 	'136F83',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'154',
				graphicsetId: 	'170',
				contentColor: 	'000000',
				contentBGColor: 'FCFCF4',
				a_color: 		'136F83',
				b_color: 		'66CCFF',
				c_color: 		'000000',
				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: '20111129-130117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27090',
internalId:  '',
customField: '20110605-164919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27111',
internalId:  '',
customField: '20110605-165850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9743',
internalId:  '',
customField: '20100610-214057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26922',
internalId:  '',
customField: '20110711-035849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26901',
internalId:  '',
customField: '20110711-035131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27153',
internalId:  '',
customField: '20100803-030811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9827',
internalId:  '',
customField: '20100325-054051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9848',
internalId:  '',
customField: '20110618-001539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9869',
internalId:  '',
customField: '20100527-040822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9890',
internalId:  '',
customField: '20100325-055424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26943',
internalId:  '',
customField: '20110711-040446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27132',
internalId:  '',
customField: '20110605-170700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12343',
internalId:  '',
customField: '20110303-022202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12385',
internalId:  '',
customField: '20110605-055406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27174',
internalId:  '',
customField: '20100803-030704'
};
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: '20100803-024326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20111006-034142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25401',
internalId:  '',
customField: '20111006-032917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27048',
internalId:  '',
customField: '20111006-032507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27069',
internalId:  '',
customField: '20110711-032517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23201',
internalId:  '',
customField: '20110710-180340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26964',
internalId:  '',
customField: '20100325-044221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26985',
internalId:  '',
customField: '20100325-044221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27006',
internalId:  '',
customField: '20100325-044221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27027',
internalId:  '',
customField: '20110711-033642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28722',
internalId:  '',
customField: '20100610-220023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32701',
internalId:  '',
customField: '20110930-161247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37801',
internalId:  '',
customField: '20111006-033531'
};
webappMappings['7060']=webappMappings['7060-8c6b5f22e609376e05e9cd095deb7ab5']={
webappId:    '7060',
documentId:  '38901',
internalId:  '8c6b5f22e609376e05e9cd095deb7ab5',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38901',
internalId:  '',
customField: '20101220-160541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55864',
internalId:  '',
customField: '20110613-165833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55843',
internalId:  '',
customField: '20110617-233227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55822',
internalId:  '',
customField: '20110616-042702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55801',
internalId:  '',
customField: '20110616-041826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55701',
internalId:  '',
customField: '20110616-040854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55601',
internalId:  '',
customField: '20110616-040010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55201',
internalId:  '',
customField: '20110616-035400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54801',
internalId:  '',
customField: '20110616-033442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54701',
internalId:  '',
customField: '20110901-053623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54601',
internalId:  '',
customField: '20110901-053032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54522',
internalId:  '',
customField: '20110616-025215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54501',
internalId:  '',
customField: '20110615-181520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56901',
internalId:  '',
customField: '20110901-052112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54422',
internalId:  '',
customField: '20110613-174002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54401',
internalId:  '',
customField: '20110613-173241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54301',
internalId:  '',
customField: '20110930-160438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50701',
internalId:  '',
customField: '20110605-163648'
};
var webAppHostname = 'wsc.ehost-services.com:80';
var canonHostname = 'wscwrk02.ehost-services.com';
var accountId     = 'AEN330INFN79';
var companyName   = 'Mornington+Boat+Hire+Bait+%26+Tackle';
var htmlTitle	  = 'Mornington+Boat+Hire+bait+%26+tackle%2C+fishing+Boat+Charter%2C+Kayak+Hire%2C+Melbourne%2C+Port+Phillip+Bay';
var metaKeywords  = 'Melbourne%2C+Mornington%2CFrankston%2C+Boat%2C+Boats%2C+Hire%2C+hires%2C+rent%2C+rental%2C+fishing%2C+Peninsula%2C+Rates%2C+snapper%2C+Kayak%2C+Bait%2C+tackle%2C+port+phillip+bay%2C+fish%2C+kayaks%2C+pedal+boat%2C+half+cabin%2C+no%2C+licence%2C+self+drive%2C+drive%2Ccharter%2C+shop%2C+store%2C+shop%2C+squid%2C+sport%2C+phillip%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%2C+polycraft%2C+tinnie%2C+tinny%2C+licenced%2C+no+licence+required%2C+mornington+peninsula';
var metaContents  = 'Melbourne+Boat+Hire%2C+Mornington+Boat+Hire+bait+and+Tackle%2C+Kayak+Hire%2C+fishing+Boat+rental%2C+hire+boats%2CPolycraft+half+cabins+and+tinnies+close+frankston+boat+hire%2CSvhnapper+point+port+phillip+bay+and+on+the+Mornington+peninsula.+Snapper+fishing+is+King+in+Mornington+let+us+get+you+in+a+rental%2F+Hire%2F+charter+boat+and+get+you+fishing%2C+charter+fishing+boat+hire.+If+port+phillip+is+your+destination+and+marine+fishing+your+sport+then+see+us+your+beachside+fishing+profesionals.+Hire+a+boat+from+the+pros%2C+boats+for+both+licenced+and+un+licenced+operators.+No+licence+required';
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();
};

