/* [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','32',jdecode('HOME'),jdecode(''), jdecode('%2F32.html'), 'true',[],'',''],
	['PAGE','601',jdecode('ABOUT+US'),jdecode(''), jdecode('%2F601.html'), 'true',[],'',''],
	['PAGE','3919',jdecode('MISSION+STATEMENT'),jdecode(''), jdecode('%2F3919.html'), 'true',[],'',''],
	['PAGE','49612',jdecode('BILAWS'),jdecode(''), jdecode('%2F49612.html'), 'true',[],'',''],
	['PAGE','2745',jdecode('OFFICERS'),jdecode(''), jdecode('%2F2745.html'), 'true',[],'',''],
	['PAGE','5308',jdecode('CONTACT+US'),jdecode(''), jdecode('%2F5308%2Findex.html'), 'true',[ 
		['PAGE','5374',jdecode('GUESTBOOK+%28follow+up+page%29'),jdecode(''), jdecode('%2F5308%2F5374.html'), 'false',[],'','']
	],'',''],
	['PAGE','619',jdecode('MEMBERSHIP'),jdecode(''), jdecode('%2F619.html'), 'true',[],'',''],
	['PAGE','37312',jdecode('IN+MEMORIAM'),jdecode(''), jdecode('%2F37312.html'), 'true',[],'',''],
	['PAGE','5252',jdecode('JSRA+FORUM'),jdecode(''), jdecode('%2F5252.html'), 'true',[],'',''],
	['PAGE','53912',jdecode('SERIES+CHAMPIONS'),jdecode(''), jdecode('%2F53912.html'), 'true',[],'',''],
	['PAGE','55312',jdecode('COMPETITION'),jdecode(''), jdecode('%2F55312%2Findex.html'), 'true',[ 
		['PAGE','60612',jdecode('2010+Event+calendar'),jdecode(''), jdecode('%2F55312%2F60612.html'), 'true',[],'',''],
		['PAGE','61712',jdecode('2010+Results'),jdecode(''), jdecode('%2F55312%2F61712.html'), 'true',[],'',''],
		['PAGE','37712',jdecode('2009+Event+Calendar'),jdecode(''), jdecode('%2F55312%2F37712.html'), 'true',[],'',''],
		['PAGE','42512',jdecode('09+RACE+RESULTS'),jdecode(''), jdecode('%2F55312%2F42512.html'), 'true',[],'',''],
		['PAGE','14483',jdecode('08+Race+Results'),jdecode(''), jdecode('%2F55312%2F14483.html'), 'true',[],'',''],
		['PAGE','7602',jdecode('07+Race+Results'),jdecode(''), jdecode('%2F55312%2F7602.html'), 'true',[],'',''],
		['PAGE','3797',jdecode('06+Race+Results'),jdecode(''), jdecode('%2F55312%2F3797.html'), 'true',[],'',''],
		['PAGE','13998',jdecode('07+Winter+Series'),jdecode(''), jdecode('%2F55312%2F13998.html'), 'true',[],'','']
	],'',''],
	['PAGE','14860',jdecode('08+PHOTOS'),jdecode(''), jdecode('%2F14860%2Findex.html'), 'true',[ 
		['PAGE','14735',jdecode('Shrewsbury+Cup+08'),jdecode(''), jdecode('%2F14860%2F14735.html'), 'true',[],'',''],
		['PAGE','23501',jdecode('Shark+River+Cup'),jdecode(''), jdecode('%2F14860%2F23501.html'), 'true',[],'',''],
		['PAGE','26712',jdecode('Around+The+Island'),jdecode(''), jdecode('%2F14860%2F26712.html'), 'true',[],'','']
	],'',''],
	['PAGE','6052',jdecode('PHOTO+ALBUM'),jdecode(''), jdecode('%2F6052.html'), 'true',[],'',''],
	['PAGE','58512',jdecode('VINTAGE'),jdecode(''), jdecode('%2F58512.html'), 'true',[],'',''],
	['PAGE','7678',jdecode('07+PHOTOS'),jdecode(''), jdecode('%2F7678.html'), 'true',[],'',''],
	['PAGE','4034',jdecode('MEDIA'),jdecode(''), jdecode('%2F4034%2Findex.html'), 'true',[ 
		['PAGE','5041',jdecode('AP+Press+8-26-06'),jdecode(''), jdecode('%2F4034%2F5041.html'), 'true',[],'',''],
		['PAGE','7357',jdecode('Star+Ledger+5-24-07'),jdecode(''), jdecode('%2F4034%2F7357.html'), 'true',[],'',''],
		['PAGE','11392',jdecode('NJ+Monthly+June+07'),jdecode(''), jdecode('%2F4034%2F11392.html'), 'true',[],'',''],
		['PAGE','12091',jdecode('Coast+Star+6-21-07'),jdecode(''), jdecode('%2F4034%2F12091.html'), 'true',[],'',''],
		['PAGE','13021',jdecode('Super+Doc+APP+7-7-07'),jdecode(''), jdecode('%2F4034%2F13021.html'), 'true',[],'','']
	],'',''],
	['PAGE','6123',jdecode('NEWS+CLIPPINGS'),jdecode(''), jdecode('%2F6123.html'), 'true',[],'',''],
	['PAGE','36412',jdecode('GOOD+READING'),jdecode(''), jdecode('%2F36412.html'), 'true',[],'',''],
	['PAGE','3863',jdecode('OUR+SPONSORS'),jdecode(''), jdecode('%2F3863.html'), 'true',[],'',''],
	['PAGE','7417',jdecode('SPONSORSHIP'),jdecode(''), jdecode('%2F7417.html'), 'true',[],'',''],
	['PAGE','13353',jdecode('JR+GUARD+CLINIC'),jdecode(''), jdecode('%2F13353.html'), 'true',[],'',''],
	['PAGE','5929',jdecode('LINKS'),jdecode(''), jdecode('%2F5929.html'), 'true',[],'','']];
var siteelementCount=39;
theSitetree.topTemplateName='Cable';
theSitetree.paletteFamily='3B34A1';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10575';
theSitetree.graphicsetId='10528';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'optimum',
  product: 'WSCSYSSSSLYTC245'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cable',
				paletteFamily: 	'3B34A1',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10575',
				graphicsetId: 	'10528',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-75180']={
webappId:    '1501',
documentId:  '32',
internalId:  '75180',
customField: '1501'
};
webappMappings['1003']=webappMappings['1003-ahw050inxx3n11aa1503077']={
webappId:    '1003',
documentId:  '5252',
internalId:  'ahw050inxx3n11aa1503077',
customField: 'en:US:'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '32',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-4700a8419a0a35591a3bc042f1243cb7']={
webappId:    '7060',
documentId:  '6052',
internalId:  '4700a8419a0a35591a3bc042f1243cb7',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-5360404503409d43321b5e25590da7f0']={
webappId:    '7060',
documentId:  '6123',
internalId:  '5360404503409d43321b5e25590da7f0',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-f945de4415899315a183c416f210778c']={
webappId:    '7060',
documentId:  '7678',
internalId:  'f945de4415899315a183c416f210778c',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61712',
internalId:  '',
customField: '20100811-125753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60612',
internalId:  '',
customField: '20100516-205350'
};
webappMappings['5003']=webappMappings['5003-tid:1;pid:WSCSYSSSSLYTC245']={
webappId:    '5003',
documentId:  '32',
internalId:  'tid:1;pid:WSCSYSSSSLYTC245',
customField: 'en:US:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32',
internalId:  '',
customField: '20100811-120409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55312',
internalId:  '',
customField: '20090905-134135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14483',
internalId:  '',
customField: '20080706-123808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14860',
internalId:  '',
customField: '20081213-094014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14735',
internalId:  '',
customField: '20080706-171211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23501',
internalId:  '',
customField: '20080621-211044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26712',
internalId:  '',
customField: '20080706-135032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3919',
internalId:  '',
customField: '20070211-231705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20070226-002113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2745',
internalId:  '',
customField: '20110511-115743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5252',
internalId:  '',
customField: '20070916-171700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3863',
internalId:  '',
customField: '20070711-222206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7417',
internalId:  '',
customField: '20070705-193258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13353',
internalId:  '',
customField: '20070714-233138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5308',
internalId:  '',
customField: '20070215-031046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5374',
internalId:  '',
customField: '20070215-030509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '619',
internalId:  '',
customField: '20090524-190744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5929',
internalId:  '',
customField: '20070714-192311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6052',
internalId:  '',
customField: '20070310-174629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7678',
internalId:  '',
customField: '20070528-023411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7602',
internalId:  '',
customField: '20070901-231416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13998',
internalId:  '',
customField: '20080517-162912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3797',
internalId:  '',
customField: '20070325-174443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4034',
internalId:  '',
customField: '20080330-013843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5041',
internalId:  '',
customField: '20070220-032627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7357',
internalId:  '',
customField: '20070525-011407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11392',
internalId:  '',
customField: '20070530-230004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12091',
internalId:  '',
customField: '20070629-222614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13021',
internalId:  '',
customField: '20070709-172427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6123',
internalId:  '',
customField: '20070310-181442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36412',
internalId:  '',
customField: '20090518-152033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37312',
internalId:  '',
customField: '20090518-153707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37712',
internalId:  '',
customField: '20090626-114147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42512',
internalId:  '',
customField: '20090907-192831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49612',
internalId:  '',
customField: '20090720-192011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53912',
internalId:  '',
customField: '20101007-191550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58512',
internalId:  '',
customField: '20100331-184940'
};
webappMappings['7008']=webappMappings['7008-8144']={
webappId:    '7008',
documentId:  '5308',
internalId:  '8144',
customField: 'language:en;country:US;'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INXX3N';
var companyName   = 'JERSEY+SHORE+ROWING+ASSOCIATION';
var htmlTitle	  = '%2F%2FJersey+Shore+Rowing+Association%2F';
var metaKeywords  = 'HEADMETA+name%3Dkeywords+content%3Drowing%2C+shore%2C+jersey%2C+boat%2C+surfboat%2C+asay%2C+usla%2C+oars%2C++surfboat+racing+%2FHEAD';
var metaContents  = 'HEAD+TITLEjersey+shore+rowing+association%2FTITLE+META+name%3Ddescription+content%3Djersey+shore+rowing+association.+';
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();
};

