// CivXplorer Code to support user help

// Suzanne Fliege, Plansight LLC

// hide help
function hideHelp() {
	document.getElementById('cxHelp').style.visibility = "hidden";
	return false;
}

// show help
function showHelp(theTool) {
	// truncate for selectByArea
	if (theTool.indexOf("menuItem_SelectByArea") != -1) theTool = "menuItem_SelectByArea";
	if (theTool.indexOf("menuItem_Zoom2Area") != -1) theTool = "menuItem_Zoom2Area";
	// start help box
	var theString = '';
	theString += '<table width="100%" height="100%"><tr><td align="center" valign="middle" class="mapSplashes">';
	theString += '<table width="50%" cellpadding=0 cellspacing=0>';
	theString += '<tr><td class="mapSplashes"><img src="images/CXhelpNW.gif" galleryimg="no"></td><td background="images/CXhelpTop.gif"></td><td class="mapSplashes"><img src="images/CXhelpNE.gif" galleryimg="no"></td></tr>';
	theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="header1" align="center">Help</td><td background="images/CXhelpRight.gif"></td></tr>';
	switch(theTool) {
// overview map
	case 'overviewMap':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Reference (Overview) Map</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Displays the full map extents, and a box bounding the current main map extents';
		theString += '<hr>Clicking on the reference map when in "center" mode centers the main map on your click, at the same scale.<br>Clicking on the reference map when in "zoom" mode zooms the main map in on the feature you clicked (usually a section or municipality)';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
// sidebar items
	case 'toolLayers':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Map Layers</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Make a layer visible on the map by checking it and then clicking the "Update Map" button.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'toolLegend':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Legend</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Displays the current map legend and symbology.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'toolCurrentSelection':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Current Selection</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Displays the attribute information for selected features in the current active layer.  Clicking on the Current Selection button will also open the Layer Change dialog, so the active layer can be changed.';
		theString += '<hr>The attribute information display can be maximized to the full browser window using the <img src="images/CXmaxAttDisplay.gif" align="bottom"> button at the upper right of the attribute display';
		theString += '<hr>When minimized, the attribute listing includes a button to highlight the specified feature on the map.  When maximized, the attribute list includes checks to include or remove specific features from the current selection.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
// navigation menu
	case 'toolNav':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Map Navigation Tools</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">These tools allow you to navigate the map.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Home':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Reset Map</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">This will reset the map back to starting conditions, including map view, layer visibility, clearing selections and reports.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_ZoomIn':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Zoom In</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Click and drag a box on the map to define the area to zoom in to, or a single click will zoom in one step.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_ZoomOut':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Zoom Out</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Click and drag a box on the map to define the scale to zoom out (small box means a larger zoom out), or a single click will zoom out one step.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Pan':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Pan</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">'
		theString += 'A single click will center map on the spot clicked. Click and drag the map to pan to new area to view.';
		theString += '<hr>The arrows along the border of the map may also be used to pan the map in the direction the arrow points.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_ZoomAll':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Zoom To Full Extent</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Returns the map to the full data extent.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_ZoomPrevious':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Zoom to Previous View</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">The most recent previous view extent is stored, and can be returned to.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_ZoomSelected':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Zoom to Selected</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Zooms map to extent of selected features in <b>current active layer</b>.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Measure':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Measure Distances/Area on Map</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Click points to measure distances on the map, double-click to finish.';
		theString += '<hr>Distances will be displayed on the map until a new measurement is started or another tool is selected.';
		theString += '<br>Checking "area" will show the area of a polygon, once 3 or more points have been clicked.';
		theString += '<hr>Changing the units of measure will allow for measurements in feet, meters, miles and kilometers.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
// location menu
	case 'toolFind':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Location Tools</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Various pre-formatted queries to help you find a location or property.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_FindByID':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Find By Parcel Tax ID</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Search for a property or parcel by its Tax ID number.';
		theString += '<hr>You may enter all or part of the Tax ID number.<br>Be sure to format your entry the same as the sample (including dashes, dots, spaces, etc).';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_FindByAddress':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Find By Address</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Search for a property or parcel by its Street Address.';
		theString += '<hr>You can search by just street name, or just house number, or both.<br>Some data allows you to search for a partial house number<br>(ex. enter "27" to find houses in the 2700 block of a street).';
		theString += '<br>For best results only enter the street name, not directionals or type<br>(ex. "MAIN" instead of "MAIN ST W").';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_FindByOwner':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Find By Owner</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Search for a property or parcel by Owner Name';
		theString += '<hr>For best results enter only the last name<br>(ex. "Johnson" instead of "Robert M Johnson").<br>Partial names work as well.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_FindByIntersection':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Find By Intersection</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Find a location by Street Intersection';
		theString += '<hr>Zooms the map to the street intersection specified.<br>Enter street names, seperated by "&"<br>(ex. "MAIN & STATE").<br>For best results use only street name, not directional or type<br>(ex. "MAIN & STATE", not "MAIN ST W & STATE ST N").';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Zoom2Area':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Find By Area/Landmark</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Find a location by its Name';
		theString += '<hr>Zooms the map to a specified location.<br>Specify an area/landmark name, then click "Find It" to zoom the map.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_SelectByArea':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Select By Landmark</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'A predefined query that selects features in one layer, that are intersected by a feature in another';
		theString += '<hr>Specify the area/landmark feature by name, then click "Find It" to select features that overlap it.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
// query/select menu
	case 'toolQuery':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Selection/Query Tools</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Tools that allow you to find a map feature by clicking on the map, or building a query.  Also tools that help manage your selection sets.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Identify':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Identify</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'View details about features in a map layer.';
		theString += '<hr>Specify a layer, then click on the map to see attribute data for features in that layer.';
		theString += '<br><b>Using Identify will NOT change your selection!</b>';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Select':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Select</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Select features on the map.';
		theString += '<hr>Specify a layer, selection type and selection shape, then draw the shape on the map to select features.<br>Attributes for selected features will be displayed';
		theString += '<hr>You can maintain selections in multiple layers, but only view the selection in one layer at a time!<br>Use "Display Current Selection" tool to change active layer and view different selections.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Hotlink':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Weblinks/Hotlinks</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Open linked webpages with additional information about a map feature.';
		theString += '<hr>Specify a layer, then click on the map to open the linked web pages<br>If more than one webpage is linked to the feature, the attributes for that feature will be displayed on the left, and the additional links can be accessed there.';
		theString += '<br><b>This feature uses pop-up windows!</b> A pop-up blocker will prevent it from working properly!';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_QueryBuilder':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Select By Attribute</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Search for a map feature by querying the database.';
		theString += '<hr>You can build your own custom queries, on one or more attributes.<br>Queries will last during your current mapping session.';
		theString += '<hr>You can combine queries for more specialized searches. Check the queries you want to use, then specify the type of selection ("and" or "or").';
		theString += '<hr>You can add to your current selection or do a subset selection. In the dropdown specify "New Selection", "Add to Selection" or "Select from Current Selection".';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Buffer':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Select By Location (Buffering)</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Select map features based on their proximity to other features.';
		theString += '<hr>You may select features within a specified distance, or just those that overlap the currently selected features in a map layer.';
		theString += '<hr>Specify the layer to select from, the type of selection and distance to search, and the layer to search around, then click "Find It"';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_ClearSelect':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Clear All Selections</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Clears Selections in ALL map layers.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_AttributeDisplay':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Current Selection</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Displays the attribute information for selected features in the current active layer.  Clicking on the Current Selection button will also open the Layer Change dialog, so the active layer can be changed.';
		theString += '<hr>The attribute information display can be maximized to the full browser window using the <img src="images/CXmaxAttDisplay.gif" align="bottom"> button at the upper right of the attribute display';
		theString += '<hr>When minimized, the attribute listing includes a button to highlight the specified feature on the map.  When maximized, the attribute list includes checks to include or remove specific features from the current selection.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
// reports/maps menu
	case 'toolReports':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Reporting Tools</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Tools to help you create maps and/or reports.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Map':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Create a Printable Map</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += '<b>This tool generates a pop-up window for your printable map!</b><br>One or more formats of map may be available.  Most allow you to specify a title.';
		theString += '<hr>PDF-formatted maps will allow you to specify size, orientation and other parameters.<br>PDF-formatted maps should be saved to your computer for future reference!';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Report':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Create a Printable Report</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += '<b>This tool generates a pop-up window for your printable map!</b><br>A basic printable report will be created for the selected features in the current active layer';
		theString += '<hr>Additional custom reports in PDF or other formats may also be available';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Mail':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Mailing Labels and Data</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += '<b>This tool generates a pop-up window for your printable map!</b><br>Web-formatted mailing data will create a basic listing of mailing-related data for the selected features in the current active layer, which can be copied and pasted into your mail-merge software.';
		theString += '<hr>Additional preformatted labels in PDF or other formats may also be available';
		theString += '<hr>"Resident" or "Occupant" labels go to the property address<br>"Owner" labels go to the owner of the property, which may or may not be the property address.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_DataSummaryParams':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Set Data Summary Parameters</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'This tool allows you to set the parameters for map layers for a summary report.';
		theString += '<hr>A summary report aggregates data on selected features, based on attributes or values. Use "Create Data Summary Report" to output the report.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_DataSummaryReport':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Create Data Summary Report</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'This tool creates a summary report for all selected features in all layers, based on the parameters specified.';
		theString += '<hr>Use "Set Data Summary Parameters" to specify layers and fields to report on.<br>Only layers and fields that have been specified in the parameters will be reported!';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_DataExtract':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Data Extraction</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'This tool creates zipped file of shape files, clipped to the area specified, which can be downloaded and saved.';
		theString += '<hr>There may be limits on how much data and what feature layers are available!';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
// misc. menu
	case 'toolMisc':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Other Tools</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Miscellaneous tools, links to information resources and help controls.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Help':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Help Notes</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Turn these help notes on or off.  When turned on, Help Notes pop up to give information on the tools available in this application.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_PrintDisplay':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Printable Report/Map Display</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">You may have reports and maps show as part of this browser window, or in a new pop-up window.';
		theString += '<hr><b>If you chose to have reports and maps display in a pop-up window, be sure all pop-up blockers are turned off!</b><br>Holding "CTRL" key will bypass most pop-up blockers.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_AttributeDisplayType':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Feature Data Display</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">You may have the feature data displayed with a select or identify display in rows or columns.';
		theString += '<hr>Single feature display will always be a column.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Disclaimer':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Disclaimer</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Displays the disclaimer and terms of use for this application.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Sources':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Sources</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Displays the declared source information for the data included on the map and reports.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_FAQ':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">FAQ Document</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center"><b>Frequently Asked Questions</b> are shown, with answers.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_Metadata':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Data Information (Metadata)</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Metadata is information about the data shown in the map and available in reports.  It usually describes where the data came from, when it was created, and who created it.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_SetUnits':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Change Scale and Measurement Units</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Change the map units shown in the scale bar on the map, and in the Measure tool.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_LatLongPtZoom':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Put a Point on Map by Lat/Long</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'Enter a point by Latitude and Longitude coordinates (decimal degrees)<br>and it will zoom to and display it on the map.';
		theString += '<hr>The lat/long point symbol type and color can be specified.<br>If a label is specified, it will be placed on the map alongside the point.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_LatLongPtClear':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Clear Lat/Long Point</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">Clears the Lat/Long point from the map.</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	case 'menuItem_LatLongPtCoord':
		theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">Click on Map for Lat/Long Coords</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		theString += '<tr><td background="images/CXhelpLeft.gif"></td><td class="body1" align="center">';
		theString += 'This tool will return latitude and longitude coordinates for the point clicked.';
		theString += '<hr>Coordinates of the current mouse position on the map, in the map data units, are always displayed in the status bar at the lower left of your browser window.';
		theString += '</td><td background="images/CXhelpRight.gif"></td></tr>';
		break
	default:
		if (useCustomFunctions) {
			theString += addCustomHelp(theTool);
		} else {
			theString += '<tr><td background="images/CXhelpLeft.gif" width="12"></td><td class="toolInfo1" align="center" width="*">' + theTool+ '</td><td background="images/CXhelpRight.gif" width="12"></td></tr>';
		}
	}
	theString += '<tr><td class="mapSplashes"><img src="images/CXhelpSW.gif" galleryimg="no"></td><td background="images/CXhelpBottom.gif"></td><td class="mapSplashes"><img src="images/CXhelpSE.gif" galleryimg="no"></td></tr>';
	theString += '</table></td></tr></table>';
	// show
	updateContent("cxHelp",theString);
	document.getElementById('cxHelp').style.visibility = "visible";
	return false;
}
