PageSourceSearch

http://www.archercity.org/~navs/CityServ.js

js archercity.org collected 2026-09-24 23:06:23 UTC 25,976 bytes, 510 lines download raw bytes

1var nav_CityServ = new Object();
2
3nav_CityServ.mouseoverTextcolor="#B91806";
4nav_CityServ.numLinks="12";
5nav_CityServ.holidayButton="Christmas_Ornaments";
6nav_CityServ.selectedItalic="false";
7nav_CityServ.modernButton="Basic_Black";
8nav_CityServ.importedImageMouseOver="";
9nav_CityServ.lineWidth="2";
10nav_CityServ.sophisticatedButton="Antique";
11nav_CityServ.textColor="#000066";
12nav_CityServ.buttonCategory="basic";
13nav_CityServ.selectedUnderline="false";
14nav_CityServ.underline="true";
15nav_CityServ.accentStyle="Arrow";
16nav_CityServ.mouseoverItalic="false";
17nav_CityServ.horizontalWrap="5";
18nav_CityServ.bold="false";
19nav_CityServ.accentType="none";
20nav_CityServ.border="";
21nav_CityServ.selectedBgcolor="";
22nav_CityServ.orientation="vertical";
23nav_CityServ.squareTab="Camel";
24nav_CityServ.selectedTextcolor="#B91806";
25nav_CityServ.style="text";
26nav_CityServ.horizontalSpacing="10";
27nav_CityServ.mouseoverBgcolor="";
28nav_CityServ.accentColor="Black";
29nav_CityServ.imageWidth="114";
30nav_CityServ.basicTab="White";
31nav_CityServ.graphicMouseover="true";
32nav_CityServ.tabCategory="basic";
33nav_CityServ.funButton="Arts_and_Crafts";
34nav_CityServ.texturedButton="Brick";
35nav_CityServ.dirty="false";
36nav_CityServ.simpleButton="Autumn_Leaves";
37nav_CityServ.selectedEffect="true";
38nav_CityServ.basicButton="Gray";
39nav_CityServ.mouseoverBold="false";
40nav_CityServ.hasLinks="true";
41nav_CityServ.importedImage="";
42nav_CityServ.mouseoverUnderline="false";
43nav_CityServ.lineColor="#000000";
44nav_CityServ.textSize="12";
45nav_CityServ.selectedBold="false";
46nav_CityServ.type="Navigation";
47nav_CityServ.mouseoverEffect="true";
48nav_CityServ.importedImageSelected="";
49nav_CityServ.textFont="Times New Roman";
50nav_CityServ.background="";
51nav_CityServ.darkButton="Basic_Black";
52nav_CityServ.version="5";
53nav_CityServ.italic="false";
54nav_CityServ.shinyButton="Shiny_Aqua";
55nav_CityServ.justification="left";
56nav_CityServ.imageHeight="31";
57nav_CityServ.graphicSelected="true";
58nav_CityServ.brightButton="Chicky";
59nav_CityServ.verticalSpacing="10";
60nav_CityServ.navID="nav_CityServ";
61
62nav_CityServ.navName = "CityServ";
63nav_CityServ.imagePath = "null";
64nav_CityServ.selectedImagePath = "/~media/elements/LayoutClipart/";
65nav_CityServ.mouseOverImagePath = "/~media/elements/LayoutClipart/";
66nav_CityServ.imageWidth = "16";
67nav_CityServ.imageHeight = "16";
68nav_CityServ.fontClass = "size12 TimesRoman12";
69nav_CityServ.fontFace = "'Times New Roman', Times, serif";
70
71
72var baseHref = '';
73// this will only work if getElementsByTagName works
74if (document.getElementsByTagName)
75{
76    // this will only work if we can find a base tag
77    var base = document.getElementsByTagName('base');
78    // Verify that the base object exists
79    if (base && base.length > 0)
80    {
81        // if you don't specify a base href, href comes back as undefined
82        if (base[0].href != undefined)
83        {
84            // get the base href
85            baseHref = base[0].href;
86            // add a trailing slash if base href doesn't already have one
87            if (baseHref != '' && baseHref.charAt(baseHref.length - 1) != '/')
88            {
89                baseHref += '/';
90            }
91        }
92    }
93}
94
95
96nav_CityServ.links=new Array(12);
97var nav_CityServ_Link1 = new Object();
98nav_CityServ_Link1.type = "existing";
99nav_CityServ_Link1.displayName = "Ambulance";
100nav_CityServ_Link1.linkWindow = "_self";
101nav_CityServ_Link1.linkValue = "cityservices\/ambulance.html";
102nav_CityServ_Link1.linkIndex = "1";
103nav_CityServ.links[0] = nav_CityServ_Link1;
104var nav_CityServ_Link2 = new Object();
105nav_CityServ_Link2.type = "existing";
106nav_CityServ_Link2.displayName = "Animal Control";
107nav_CityServ_Link2.linkWindow = "_self";
108nav_CityServ_Link2.linkValue = "cityservices\/animal-control.html";
109nav_CityServ_Link2.linkIndex = "2";
110nav_CityServ.links[1] = nav_CityServ_Link2;
111var nav_CityServ_Link3 = new Object();
112nav_CityServ_Link3.type = "existing";
113nav_CityServ_Link3.displayName = "Boards & Commissions";
114nav_CityServ_Link3.linkWindow = "_self";
115nav_CityServ_Link3.linkValue = "cityservices\/boards.html";
116nav_CityServ_Link3.linkIndex = "3";
117nav_CityServ.links[2] = nav_CityServ_Link3;
118var nav_CityServ_Link4 = new Object();
119nav_CityServ_Link4.type = "existing";
120nav_CityServ_Link4.displayName = "Citizens Collection Center";
121nav_CityServ_Link4.linkWindow = "_self";
122nav_CityServ_Link4.linkValue = "cityservices\/collection-center.html";
123nav_CityServ_Link4.linkIndex = "4";
124nav_CityServ.links[3] = nav_CityServ_Link4;
125var nav_CityServ_Link5 = new Object();
126nav_CityServ_Link5.type = "existing";
127nav_CityServ_Link5.displayName = "City Utilities";
128nav_CityServ_Link5.linkWindow = "_self";
129nav_CityServ_Link5.linkValue = "cityservices\/utilities.html";
130nav_CityServ_Link5.linkIndex = "5";
131nav_CityServ.links[4] = nav_CityServ_Link5;
132var nav_CityServ_Link6 = new Object();
133nav_CityServ_Link6.type = "existing";
134nav_CityServ_Link6.displayName = "Code Compliance";
135nav_CityServ_Link6.linkWindow = "_self";
136nav_CityServ_Link6.linkValue = "cityservices\/code.html";
137nav_CityServ_Link6.linkIndex = "6";
138nav_CityServ.links[5] = nav_CityServ_Link6;
139var nav_CityServ_Link7 = new Object();
140nav_CityServ_Link7.type = "existing";
141nav_CityServ_Link7.displayName = "Emergency Management";
142nav_CityServ_Link7.linkWindow = "_self";
143nav_CityServ_Link7.linkValue = "cityservices\/emerg-mgmt.html";
144nav_CityServ_Link7.linkIndex = "7";
145nav_CityServ.links[6] = nav_CityServ_Link7;
146var nav_CityServ_Link8 = new Object();
147nav_CityServ_Link8.type = "existing";
148nav_CityServ_Link8.displayName = "Municipal Court";
149nav_CityServ_Link8.linkWindow = "_self";
150nav_CityServ_Link8.linkValue = "cityservices\/court.html";
151nav_CityServ_Link8.linkIndex = "8";
152nav_CityServ.links[7] = nav_CityServ_Link8;
153var nav_CityServ_Link9 = new Object();
154nav_CityServ_Link9.type = "existing";
155nav_CityServ_Link9.displayName = "Parks & Recreation";
156nav_CityServ_Link9.linkWindow = "_self";
157nav_CityServ_Link9.linkValue = "cityservices\/parks-rec.html";
158nav_CityServ_Link9.linkIndex = "9";
159nav_CityServ.links[8] = nav_CityServ_Link9;
160var nav_CityServ_Link10 = new Object();
161nav_CityServ_Link10.type = "existing";
162nav_CityServ_Link10.displayName = "Police Department";
163nav_CityServ_Link10.linkWindow = "_self";
164nav_CityServ_Link10.linkValue = "cityservices\/police.html";
165nav_CityServ_Link10.linkIndex = "10";
166nav_CityServ.links[9] = nav_CityServ_Link10;
167var nav_CityServ_Link11 = new Object();
168nav_CityServ_Link11.type = "existing";
169nav_CityServ_Link11.displayName = "Streetlights";
170nav_CityServ_Link11.linkWindow = "_self";
171nav_CityServ_Link11.linkValue = "cityservices\/streetlights.html";
172nav_CityServ_Link11.linkIndex = "11";
173nav_CityServ.links[10] = nav_CityServ_Link11;
174var nav_CityServ_Link12 = new Object();
175nav_CityServ_Link12.type = "existing";
176nav_CityServ_Link12.displayName = "Volunteer Fire Department";
177nav_CityServ_Link12.linkWindow = "_self";
178nav_CityServ_Link12.linkValue = "cityservices\/vfd.html";
179nav_CityServ_Link12.linkIndex = "12";
180nav_CityServ.links[11] = nav_CityServ_Link12;
181function backgroundMouseOn(tdElement, newColor)
182{
183	if(tdElement != null) {
184		tdElement.oldBGColor = tdElement.style.backgroundColor;
185		tdElement.style.backgroundColor = newColor;
186	}
187}
188function backgroundMouseOff(tdElement)
189{
190	if(tdElement != null) {
191		tdElement.style.backgroundColor = tdElement.oldBGColor;
192	}
193} 
194
195function doMouseChange(Navigation,tdElement,linkIndex,bisMouseOver) {
196	if (Navigation.mouseoverEffect != 'true') {
197		return;
198	}	
199	var link = Navigation.links[linkIndex-1];
200	var bIsCurrentPage = isCurrentPage(link);
201	var bShowMouseoverBg = !(bIsCurrentPage
202			&& 'true' == Navigation.selectedEffect && Navigation.selectedBgcolor);
203	var fontElement = getLinkFontElement(tdElement);
204	if(fontElement != null) {
205		doFontChange(Navigation,fontElement,bIsCurrentPage,bisMouseOver);
206	}
207	
208	if (Navigation.mouseoverBgcolor && bShowMouseoverBg) {
209		if(bisMouseOver) {
210			backgroundMouseOn(tdElement,Navigation.mouseoverBgcolor);
211		} else {
212			backgroundMouseOff(tdElement);
213		}
214	}
215}
216function addStyle(Navigation, Link, tdElement,vNavTrElement) {
217	if (tdElement == null) {
218		return;
219	}
220	var strFontColor = Navigation.textColor;
221	if ('true' == Navigation.selectedEffect) {
222		if (Navigation.selectedTextcolor) {
223			strFontColor = Navigation.selectedTextcolor;
224		}
225		if (Navigation.selectedBgcolor) {
226			if (Navigation.orientation == 'horizontal') {
227				tdElement.style.backgroundColor = Navigation.selectedBgcolor;
228			} else {
229				if (vNavTrElement != null) {
230					vNavTrElement.style.backgroundColor = Navigation.selectedBgcolor;
231				}
232			}
233		}
234	}
235	var fontElement = getLinkFontElement(tdElement);
236	if (fontElement != null) {
237		fontElement.style.color = strFontColor;
238	}
239	tdElement.style.color = strFontColor;
240	if ('true' == Navigation.selectedEffect) {
241		if ('true' == Navigation.selectedBold) {
242			tdElement.style.fontWeight = "bold";
243		}
244		if ('true' == Navigation.selectedItalic) {
245			tdElement.style.fontStyle = "italic";
246		}
247		if ('true' == Navigation.selectedUnderline) {
248			tdElement.style.textDecoration = "underline";
249		}
250	}
251}
252
253// Combined escape html and javascript
254function escapeHtmlInlineScript(s, escapeSingleQuotes, escapeDoubleQuotes){
255	return htmlEncode(escapeScript(s, escapeSingleQuotes, escapeDoubleQuotes));
256}
257
258function htmlEncode(s){
259	if (typeof(s) != "string") return "";
260	
261	var result = "";
262	for (var i = 0; i < s.length; i++) {
263		var ch = s.charAt(i);
264		switch (ch) {
265		case '<':
266			result += "&lt;";
267			break;
268		case '>':
269			result += "&gt;";
270			break;
271		case '&':
272			result += "&amp;";
273			break;
274		case '"':
275			result += "&quot;";
276			break;
277		case "'":
278			result += "&#39;";
279			break;
280		default:
281			result += ch;
282		}
283	}
284	return result;
285}
286
287/* escapes slashes and quotes. the default is to escape quotes,
288 * but this can be turned off.
289 * this function is used for javascript and also for escaping urls
290 * within background-image css.	 
291 */
292function escapeScript(s, escapeSingleQuotes, escapeDoubleQuotes){
293	if (typeof(s) != "string") return "";
294	
295	var result = "";
296	for (var i = 0; i < s.length; i++) {
297		var ch = s.charAt(i);
298		switch (ch) {
299		case '\'':
300			if (escapeSingleQuotes == null || escapeSingleQuotes)
301				result += "\\\'";
302			break;
303		case '\"':
304			if (escapeDoubleQuotes == null || escapeDoubleQuotes)
305				result += "\\\"";
306			break;
307		case '\\':
308			result += "\\\\";
309			break;
310		default:
311			result += ch;
312		}
313	}
314	return result;
315}
316
317//
318// This .js file includes utility functions used by both graphical and text navs
319// in their rendering.  User pages including a nav element will import this file, along
320// with TextNavigation.js and GraphicNavigation.js.  The functions within will
321// be called by the [navname].js file generated at publish time.
322
323function fixLinkValue(Link)
324{
325	if(Link.type!='existing')
326	{
327		return Link.linkValue;
328	}
329	else
330	{
331		return baseHref + strRelativePathToRoot + Link.linkValue;
332	}
333}
334
335function isCurrentPage(Link)
336{
337	if(Link.type!='existing')
338	{
339		return false;
340	}
341	var strLinkValue = Link.linkValue.toLowerCase();
342	return (strRelativePagePath == strLinkValue);
343}
344
345function toggleOnMouseChange(fontElement,newColor, bold, underline, italic)
346{
347	if(fontElement == null) {
348		return;
349	}
350	if(newColor)
351	{
352		fontElement.style.color=newColor;
353	}
354	fontElement.style.fontWeight = (bold=='true' ? 'bold' : 'normal');
355	fontElement.style.textDecoration = (underline=='true' ? 'underline' : 'none');
356	fontElement.style.fontStyle = (italic=='true' ? 'italic' : 'normal');
357
358}
359
360function doFontChange(Navigation,fontElement,bIsCurrentPage,bisMouseOver) {
361	if(fontElement == null) {
362		return;
363	}
364	var textColor;
365	var baseTextColor = Navigation.textColor;
366	var bold;
367	var baseBold = Navigation.bold;
368	var underline;
369	var baseUnderline = Navigation.underline;
370	var italic;
371	var baseItalic = Navigation.italic;
372	if (bIsCurrentPage && 'true' == Navigation.selectedEffect) {
373		textColor = Navigation.selectedTextcolor ? Navigation.selectedTextcolor
374				: (Navigation.mouseoverTextColor ? Navigation.mouseoverTextcolor
375						: Navigation.textColor);
376		baseTextColor = Navigation.selectedTextcolor ? Navigation.selectedTextcolor
377				: Navigation.textColor;
378		baseBold = bold = Navigation.selectedBold;
379		baseUnderline = underline = Navigation.selectedUnderline;
380		baseItalic = italic = Navigation.selectedItalic;
381	} else {
382		textColor = Navigation.mouseoverTextcolor ? Navigation.mouseoverTextcolor
383				: Navigation.textColor;
384		bold = Navigation.mouseoverBold;
385		underline = Navigation.mouseoverUnderline;
386		italic = Navigation.mouseoverItalic;
387	}
388	
389	if(bisMouseOver) {
390		toggleOnMouseChange(fontElement,textColor,bold,underline,italic);
391	} else {
392		toggleOnMouseChange(fontElement,baseTextColor,baseBold,baseUnderline,baseItalic);
393	}
394	
395
396}
397
398function addMouseAndStyleSupportCityServ(Navigation,navTbId) {
399	var startNode;
400
401	if(typeof(nav_element_id) != 'undefined' && document.getElementById(nav_element_id) != null) {
402		startNode = document.getElementById(nav_element_id);
403			
404	} else if(navTbId != null) {
405		startNode = document.getElementById(navTbId);
406			
407	}
408	
409	if(startNode != null) {
410	  searchForCurrentPageTd(Navigation,startNode);
411	}
412	
413
414}
415
416function searchForCurrentPageTd(Navigation,startNode) {
417	
418	if(startNode.childNodes != null) {
419		for(var i=0;i<startNode.childNodes.length;i++){
420			if(addStyleForCurrentPageTd(Navigation,startNode.childNodes[i])){
421			   return;	
422			} else {
423			   searchForCurrentPageTd(Navigation,startNode.childNodes[i]);
424			}
425		}
426	}
427
428}
429
430function addStyleForCurrentPageTd(Navigation,currentNode) {
431	if(Navigation.orientation == 'horizontal') {
432		if(currentNode.tagName == 'TD' && currentNode.id != '' && currentNode.id.indexOf(Navigation.navName+navTDLinkPart) != -1){
433			var currentTDIdPrefix = Navigation.navName+navTDLinkPart;
434			var linkId = currentNode.id.substring(currentTDIdPrefix.length,currentNode.id.length);
435			if(isCurrentPage(Navigation.links[linkId-1]) == true) {
436				addStyle(Navigation, Navigation.links[linkId-1],currentNode);
437				return true;
438			}
439		}
440	} else {
441		if(currentNode.tagName == 'TR' && currentNode.id != '' && currentNode.id.indexOf(navTRLinkPrefix) != -1){	
442			var currentTRIdPrefix = navTRLinkPrefix+Navigation.navName;
443			var linkId = currentNode.id.substring(currentTRIdPrefix.length,currentNode.id.length);
444			if(isCurrentPage(Navigation.links[linkId-1]) == true && currentNode.childNodes != null) {
445				var currentPageTd;
446				for(var i=0;currentNode.childNodes.length;i++) {
447					if(typeof(currentNode.childNodes[i].tagName) != 'undefined' && currentNode.childNodes[i].tagName == 'TD' && currentNode.childNodes[i].id.indexOf(Navigation.navName+navTDLinkPart) != -1) {
448						currentPageTd = currentNode.childNodes[i];
449						addStyle(Navigation, Navigation.links[linkId - 1],currentPageTd,currentNode);
450						return true;
451					}
452				}
453			}
454		}
455	}
456	return false;
457}
458
459function getChildElementFromTree(startNode,nodesToTraverse) {
460	var currentChildNode = startNode;
461	
462	for(var n= 0;n<nodesToTraverse.length;n++) {
463		currentChildNode = getMatchingChildByTag(currentChildNode.childNodes,nodesToTraverse[n]);
464	}
465	
466	return currentChildNode;
467}
468
469
470function getMatchingChildByTag(childNodes,tagName) {
471	var child;
472	for(var i=0;childNodes.length;i++) {
473		if(childNodes[i].tagName == tagName) {
474			child = childNodes[i];
475			break;
476		}
477	}
478	return child;
479}
480function getLinkFontElement(tdElement){
481	var fontElement;
482	var aElement = getChildElementFromTree(tdElement,['A']);
483	for(var i=0;i < aElement.childNodes.length;i++) {
484		if(aElement.childNodes[i].tagName == 'DIV') {
485		 	fontElement = getChildElementFromTree(aElement.childNodes[i],['FONT']);
486		 	break;
487		} else if(aElement.childNodes[i].tagName == 'FONT'){
488		 	fontElement = 	aElement.childNodes[i];
489		 	break;
490		}
491	
492	}
493	return fontElement;
494}
495
496
497
498	if(typeof(navTRLinkPrefix) == 'undefined') {
499		navTRLinkPrefix = 'vNavTR_Link_';
500	}
501	if(typeof(navTDLinkPart) == 'undefined') {
502		navTDLinkPart = '_Link';
503	}
504	if(document.getElementById('nav_version') == null) {
505	if (typeof(navTBSuffix) == 'undefined') {
506	navTBSuffix = 0;
507	} else {navTBSuffix++;}
508		document.write('<TABLE ID="ntb'+navTBSuffix+'"  CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\" ><TR id=\"vNavTR_Link_CityServ1\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link1\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'1\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'1\',false);\"><A HREF=\"\/cityservices\/ambulance.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Ambulance\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f1\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Ambulance<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ2\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link2\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'2\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'2\',false);\"><A HREF=\"\/cityservices\/animal-control.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Animal Control\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f2\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Animal&nbsp;Control<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ3\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link3\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'3\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'3\',false);\"><A HREF=\"\/cityservices\/boards.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Boards & Commissions\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f3\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Boards&nbsp;&amp;&nbsp;Commissions<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ4\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link4\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'4\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'4\',false);\"><A HREF=\"\/cityservices\/collection-center.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Citizens Collection Center\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f4\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Citizens&nbsp;Collection&nbsp;Center<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ5\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link5\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'5\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'5\',false);\"><A HREF=\"\/cityservices\/utilities.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"City Utilities\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f5\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">City&nbsp;Utilities<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ6\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link6\" style=\"curs
508or: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'6\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'6\',false);\"><A HREF=\"\/cityservices\/code.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Code Compliance\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f6\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Code&nbsp;Compliance<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ7\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link7\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'7\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'7\',false);\"><A HREF=\"\/cityservices\/emerg-mgmt.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Emergency Management\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f7\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Emergency&nbsp;Management<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ8\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link8\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'8\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'8\',false);\"><A HREF=\"\/cityservices\/court.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Municipal Court\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f8\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Municipal&nbsp;Court<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ9\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link9\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'9\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'9\',false);\"><A HREF=\"\/cityservices\/parks-rec.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Parks & Recreation\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f9\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Parks&nbsp;&amp;&nbsp;Recreation<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ10\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link10\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'10\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'10\',false);\"><A HREF=\"\/cityservices\/police.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Police Department\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f10\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Police&nbsp;Department<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ11\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link11\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'11\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'11\',false);\"><A HREF=\"\/cityservices\/streetlights.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Streetlights\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\">
508<FONT ID=\"CityServ_f11\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Streetlights<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><TR id=\"vNavTR_Link_CityServ12\"><TD ALIGN=\"left\" VALIGN=\"MIDDLE\" NOWRAP=\"NOWRAP\" id=\"CityServ_Link12\" style=\"cursor: pointer;cursor: hand;color:#000066;font-size: 1px; line-height: 1px;text-decoration: underline;\" onmouseover=\"doMouseChange(nav_CityServ,this,\'12\',true);\" onmouseout=\"doMouseChange(nav_CityServ,this,\'12\',false);\"><A HREF=\"\/cityservices\/vfd.html\" TARGET=\"_self\" STYLE=\"text-decoration:none;\" NAME=\"Volunteer Fire Department\"><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><FONT ID=\"CityServ_f12\" FACE=\"\'Times New Roman\', Times, serif\" CLASS=\"size12 TimesRoman12\" STYLE=\"color:#000066\">Volunteer&nbsp;Fire&nbsp;Department<\/FONT><IMG style=\"display: block;\" SRC=\"\/tp.gif\" WIDTH=\"1\" HEIGHT=\"5.0\" BORDER=\"0\"><\/A><\/TD><\/TR><\/TABLE><script type="text/javascript">addMouseAndStyleSupportCityServ(nav_CityServ,"ntb'+navTBSuffix+'");'+'</scri'+'pt>');
509	}
510

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.