/* [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','182901',jdecode('taxpayer+%24+stolen%3F'),jdecode(''), jdecode('%2F182901.html'), 'true',[],'',''],
	['PAGE','199913',jdecode('URGENT+MESSAGE+'),jdecode(''), jdecode('%2F199913.html'), 'true',[],'',''],
	['PAGE','202013',jdecode('Supv+Nolan+Cooks+Books'),jdecode(''), jdecode('%2F202013.html'), 'true',[],'',''],
	['PAGE','206',jdecode('INTRODUTIONS'),jdecode(''), jdecode('%2F206.html'), 'true',[],'',''],
	['PAGE','89601',jdecode('NEW+Hirees'),jdecode(''), jdecode('%2F89601.html'), 'true',[],'',''],
	['PAGE','197813',jdecode('FAULTY+WADING+POOL+%24'),jdecode(''), jdecode('%2F197813.html'), 'true',[],'',''],
	['PAGE','176101',jdecode('SOLD+OUT+BY+TWN'),jdecode(''), jdecode('%2F176101.html'), 'true',[],'',''],
	['PAGE','59753',jdecode('CORRUPTION%2C+ISLIP%3F'),jdecode(''), jdecode('%2F59753.html'), 'true',[],'',''],
	['PAGE','175101',jdecode('CODE+ENF+ILLEGAL'),jdecode(''), jdecode('%2F175101.html'), 'true',[],'',''],
	['PAGE','149801',jdecode('TAX+MONEY+THEFT'),jdecode(''), jdecode('%2F149801.html'), 'true',[],'',''],
	['PAGE','59966',jdecode('Bloopers+you+fell+for'),jdecode(''), jdecode('%2F59966.html'), 'true',[],'',''],
	['PAGE','59571',jdecode('Greed+with+your+%24'),jdecode(''), jdecode('%2F59571.html'), 'true',[],'',''],
	['PAGE','42124',jdecode('Should+be+VERY+CONCERNED+'),jdecode(''), jdecode('%2F42124.html'), 'true',[],'',''],
	['PAGE','42233',jdecode('%24+wasted+by+a+hypocrite'),jdecode(''), jdecode('%2F42233.html'), 'true',[],'',''],
	['PAGE','42303',jdecode('GPS+Fraud'),jdecode(''), jdecode('%2F42303.html'), 'true',[],'',''],
	['PAGE','42481',jdecode('Free+Cars+your+%24%24%24'),jdecode(''), jdecode('%2F42481.html'), 'true',[],'',''],
	['PAGE','42522',jdecode('Freedom+of+Information'),jdecode(''), jdecode('%2F42522.html'), 'true',[],'',''],
	['PAGE','42728',jdecode('Councilmens+Jobs'),jdecode(''), jdecode('%2F42728.html'), 'true',[],'',''],
	['PAGE','42765',jdecode('One+for+All%2C+All+for+me%3F'),jdecode(''), jdecode('%2F42765.html'), 'true',[],'',''],
	['PAGE','42912',jdecode('What%26%23x27%3Bs+in+your+backround'),jdecode(''), jdecode('%2F42912.html'), 'true',[],'',''],
	['PAGE','43279',jdecode('How+are+you+taxed%3F'),jdecode(''), jdecode('%2F43279.html'), 'true',[],'',''],
	['PAGE','43419',jdecode('Caught'),jdecode(''), jdecode('%2F43419.html'), 'true',[],'',''],
	['PAGE','43821',jdecode('Islip+same+corruption%21'),jdecode(''), jdecode('%2F43821.html'), 'true',[],'',''],
	['PAGE','43920',jdecode('Airport+hot+air%3F'),jdecode(''), jdecode('%2F43920.html'), 'true',[],'',''],
	['PAGE','43968',jdecode('My+out+of+towners+your%24%24%24'),jdecode(''), jdecode('%2F43968.html'), 'true',[],'',''],
	['PAGE','44391',jdecode('Spy+games'),jdecode(''), jdecode('%2F44391.html'), 'true',[],'',''],
	['PAGE','44520',jdecode('Financial+Rape'),jdecode(''), jdecode('%2F44520.html'), 'true',[],'',''],
	['PAGE','44819',jdecode('Vehicle+abuse'),jdecode(''), jdecode('%2F44819.html'), 'true',[],'',''],
	['PAGE','44978',jdecode('Scenario+Lane'),jdecode(''), jdecode('%2F44978.html'), 'true',[],'',''],
	['PAGE','45044',jdecode('Payback-using+your+%24%24%24'),jdecode(''), jdecode('%2F45044.html'), 'true',[],'',''],
	['PAGE','45137',jdecode('Disgracing+the+town'),jdecode(''), jdecode('%2F45137.html'), 'true',[],'',''],
	['PAGE','45253',jdecode('Cellphone+abuse'),jdecode(''), jdecode('%2F45253.html'), 'true',[],'',''],
	['PAGE','150601',jdecode('GROUND+CONTAMINATION'),jdecode(''), jdecode('%2F150601.html'), 'true',[],'',''],
	['PAGE','152801',jdecode('+COVER+UP%2F+CONTAMI..'),jdecode(''), jdecode('%2F152801.html'), 'true',[],'',''],
	['PAGE','156201',jdecode('MORE+CONTAMINATION'),jdecode(''), jdecode('%2F156201.html'), 'true',[],'',''],
	['PAGE','153301',jdecode('Water+results+are+in%21'),jdecode(''), jdecode('%2F153301.html'), 'true',[],'',''],
	['PAGE','59218',jdecode('NEW+Laws+not+for+%3F'),jdecode(''), jdecode('%2F59218.html'), 'true',[],'',''],
	['PAGE','60065',jdecode('Disrespect'),jdecode(''), jdecode('%2F60065.html'), 'true',[],'',''],
	['PAGE','60157',jdecode('OUT+OF+CONTROL+%24%24%24%24%24'),jdecode(''), jdecode('%2F60157.html'), 'true',[],'',''],
	['PAGE','60319',jdecode('EXTORTION%3F'),jdecode(''), jdecode('%2F60319.html'), 'true',[],'',''],
	['PAGE','63201',jdecode('Selective+harrassment'),jdecode(''), jdecode('%2F63201.html'), 'true',[],'',''],
	['PAGE','65901',jdecode('BONDS+at+YOUR+COST'),jdecode(''), jdecode('%2F65901.html'), 'true',[],'',''],
	['PAGE','76901',jdecode('Taxpayer+Funds+used'),jdecode(''), jdecode('%2F76901.html'), 'true',[],'',''],
	['PAGE','77901',jdecode('ATTORNEY+EXPLOSION'),jdecode(''), jdecode('%2F77901.html'), 'true',[],'',''],
	['PAGE','79001',jdecode('Work+given+out+for+%24+++%3F'),jdecode(''), jdecode('%2F79001.html'), 'true',[],'',''],
	['PAGE','85001',jdecode('A+Real+Plow+Job'),jdecode(''), jdecode('%2F85001.html'), 'true',[],'',''],
	['PAGE','93901',jdecode('Special+Streets'),jdecode(''), jdecode('%2F93901.html'), 'true',[],'',''],
	['PAGE','97101',jdecode('Where%26%23x27%3Bs+the+sand+%26+salt'),jdecode(''), jdecode('%2F97101.html'), 'true',[],'',''],
	['PAGE','103301',jdecode('Town+Law+Suit+Filed'),jdecode(''), jdecode('%2F103301.html'), 'true',[],'',''],
	['PAGE','105401',jdecode('Disgrace+to+this+town'),jdecode(''), jdecode('%2F105401.html'), 'true',[],'',''],
	['PAGE','108101',jdecode('Town+Has+Lied+to+Us+%24%24'),jdecode(''), jdecode('%2F108101.html'), 'true',[],'',''],
	['PAGE','117301',jdecode('GAS+SAVINGS+FRAUD'),jdecode(''), jdecode('%2F117301.html'), 'true',[],'',''],
	['PAGE','118101',jdecode('PARKS+CLOSED+YOU+PAY+FOR'),jdecode(''), jdecode('%2F118101.html'), 'true',[],'',''],
	['PAGE','119401',jdecode('NON+UNION+WORK'),jdecode(''), jdecode('%2F119401.html'), 'true',[],'',''],
	['PAGE','126801',jdecode('Town+Clerk+Spec+Friend'),jdecode(''), jdecode('%2F126801.html'), 'true',[],'',''],
	['PAGE','128401',jdecode('LABOR+ATTORNEYS+%24%24'),jdecode(''), jdecode('%2F128401.html'), 'true',[],'',''],
	['PAGE','129501',jdecode('Nolan+and+crimminals%21'),jdecode(''), jdecode('%2F129501.html'), 'true',[],'',''],
	['PAGE','130001',jdecode('EXTORTION%21'),jdecode(''), jdecode('%2F130001.html'), 'true',[],'',''],
	['PAGE','130401',jdecode('Campaign+Fraud%3F'),jdecode(''), jdecode('%2F130401.html'), 'true',[],'',''],
	['PAGE','131101',jdecode('Mega+%24%24+spent'),jdecode(''), jdecode('%2F131101.html'), 'true',[],'',''],
	['PAGE','133301',jdecode('TOWN+CLERK+ABUSEFUL'),jdecode(''), jdecode('%2F133301.html'), 'true',[],'',''],
	['PAGE','134201',jdecode('PAY+TO+PLAY+SCHEME'),jdecode(''), jdecode('%2F134201.html'), 'true',[],'',''],
	['PAGE','134601',jdecode('You+fell+for+this+lie+%24'),jdecode(''), jdecode('%2F134601.html'), 'true',[],'',''],
	['PAGE','138301',jdecode('In+Your+Face+%24+spent'),jdecode(''), jdecode('%2F138301.html'), 'true',[],'',''],
	['PAGE','140101',jdecode('Gov%26%23x27%3Bt+funds+illegal'),jdecode(''), jdecode('%2F140101.html'), 'true',[],'',''],
	['PAGE','141001',jdecode('we+are+above+law'),jdecode(''), jdecode('%2F141001.html'), 'true',[],'',''],
	['PAGE','163901',jdecode('BOATERS+WAIT+FRAUD'),jdecode(''), jdecode('%2F163901.html'), 'true',[],'',''],
	['PAGE','167301',jdecode('SUPERVISOR+LIES%21'),jdecode(''), jdecode('%2F167301.html'), 'true',[],'',''],
	['PAGE','168501',jdecode('HOW+IT+WAS+HIDDEN'),jdecode(''), jdecode('%2F168501.html'), 'true',[],'',''],
	['PAGE','168522',jdecode('VIOLATIONS+IGNORED%21'),jdecode(''), jdecode('%2F168522.html'), 'true',[],'',''],
	['PAGE','172101',jdecode('TAXPAYERS+SCAMMED'),jdecode(''), jdecode('%2F172101.html'), 'true',[],'',''],
	['PAGE','203313',jdecode('ELECTRIC+CAR+FRAUD'),jdecode(''), jdecode('%2F203313.html'), 'true',[],'','']];
var siteelementCount=72;
theSitetree.topTemplateName='Column';
theSitetree.paletteFamily='6266AD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10400';
theSitetree.graphicsetId='10615';
theSitetree.contentColor='121447';
theSitetree.contentBGColor='D7D8ED';
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: 			'Column',
				paletteFamily: 	'6266AD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10400',
				graphicsetId: 	'10615',
				contentColor: 	'121447',
				contentBGColor: 'D7D8ED',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'6266AD',
				e_color: 		'3A3C83',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '182901',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '206',
internalId:  '',
customField: '20110427-183306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59753',
internalId:  '',
customField: '20110319-181032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59966',
internalId:  '',
customField: '20080825-205246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59571',
internalId:  '',
customField: '20100507-130941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42124',
internalId:  '',
customField: '20090701-210140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42233',
internalId:  '',
customField: '20091025-101225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42303',
internalId:  '',
customField: '20100311-151927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42481',
internalId:  '',
customField: '20080218-203908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42522',
internalId:  '',
customField: '20081114-190740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197813',
internalId:  '',
customField: '20110706-220307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42728',
internalId:  '',
customField: '20090425-120109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42765',
internalId:  '',
customField: '20080527-020249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42912',
internalId:  '',
customField: '20090117-203002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '182901',
internalId:  '',
customField: '20111014-095736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '176101',
internalId:  '',
customField: '20100922-224339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43279',
internalId:  '',
customField: '20081114-200236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43419',
internalId:  '',
customField: '20080527-004626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43821',
internalId:  '',
customField: '20090802-203922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43920',
internalId:  '',
customField: '20101127-154459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43968',
internalId:  '',
customField: '20080612-003912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44391',
internalId:  '',
customField: '20080403-114726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126801',
internalId:  '',
customField: '20091023-210535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44520',
internalId:  '',
customField: '20090117-201237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128401',
internalId:  '',
customField: '20090701-203609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44819',
internalId:  '',
customField: '20090202-022928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44978',
internalId:  '',
customField: '20080626-071348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45044',
internalId:  '',
customField: '20080825-210935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45137',
internalId:  '',
customField: '20090418-214642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45253',
internalId:  '',
customField: '20080610-132424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59218',
internalId:  '',
customField: '20091021-061237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60065',
internalId:  '',
customField: '20090806-075801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60157',
internalId:  '',
customField: '20090530-215619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60319',
internalId:  '',
customField: '20080907-205743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202013',
internalId:  '',
customField: '20111002-191032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63201',
internalId:  '',
customField: '20080928-173810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65901',
internalId:  '',
customField: '20100902-075741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76901',
internalId:  '',
customField: '20091023-090743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77901',
internalId:  '',
customField: '20090904-174415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79001',
internalId:  '',
customField: '20081205-065056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85001',
internalId:  '',
customField: '20090126-113020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93901',
internalId:  '',
customField: '20100815-210644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89601',
internalId:  '',
customField: '20110811-192531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97101',
internalId:  '',
customField: '20090127-093343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '199913',
internalId:  '',
customField: '20110922-105807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103301',
internalId:  '',
customField: '20090806-080142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105401',
internalId:  '',
customField: '20090219-081320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108101',
internalId:  '',
customField: '20090312-213148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163901',
internalId:  '',
customField: '20100815-111429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '203313',
internalId:  '',
customField: '20111002-191458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117301',
internalId:  '',
customField: '20090322-204525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118101',
internalId:  '',
customField: '20090819-201848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119401',
internalId:  '',
customField: '20090403-113235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129501',
internalId:  '',
customField: '20091023-210514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130001',
internalId:  '',
customField: '20090709-162616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130401',
internalId:  '',
customField: '20110316-220338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131101',
internalId:  '',
customField: '20090722-121237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133301',
internalId:  '',
customField: '20090806-090916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134201',
internalId:  '',
customField: '20090818-150654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134601',
internalId:  '',
customField: '20090811-153926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138301',
internalId:  '',
customField: '20090822-151228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140101',
internalId:  '',
customField: '20090904-175005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141001',
internalId:  '',
customField: '20091027-214320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '175101',
internalId:  '',
customField: '20100831-211522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '149801',
internalId:  '',
customField: '20091118-063432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150601',
internalId:  '',
customField: '20091215-211249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152801',
internalId:  '',
customField: '20091231-220109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153301',
internalId:  '',
customField: '20100101-103205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156201',
internalId:  '',
customField: '20100116-191154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172101',
internalId:  '',
customField: '20111002-191426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167301',
internalId:  '',
customField: '20100815-100816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168522',
internalId:  '',
customField: '20100818-091800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168501',
internalId:  '',
customField: '20110316-221146'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHW050INXECW';
var companyName   = 'isliptownshipwatch';
var htmlTitle	  = 'Islip+Township+Watch';
var metaKeywords  = 'Islip%2C+Islip+Town%2C+Islip+Township%2C+McGowan%2C+Bodkin%2C+Flotteron%2C+Greene%2C+Rowley%2C+Brentwood%2C+Central+Ilip%2C+Ronkonkoma%2C+Bohemia%2C+Sayville%2C+West+Sayville%2C+Oakdale%2C+East+Islip%2C+West+Islip%2C+Brightwaters%2C+Great+River%2C+Bayport%2C+Hauppage';
var metaContents  = '';
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();
};

