// Function to hilite the property on rollover
function hilite_Geomac (target_id) {
	var svgdoc = document.SVGMAP.getSVGDocument();

	// If rollover is disabled exit this function
	if (!optRollover) return true;

	showSVG (svgdoc, target_id, true);
	// Propagate the event to other handlers.
	return true;
}

function hide_Geomac (target_id) {
	var svgdoc = document.SVGMAP.getSVGDocument();

	// If rollover is disabled exit this function
	if (!optRollover) return true;

	if (target_id == lastPropertyID) return true;

	hideSVG (svgdoc, target_id, true);
	// Propagate the event to other handlers.
	return true;
}

function click_Geomac (target_id)
  {
	var svgdoc = document.SVGMAP.getSVGDocument();
	var lastID = lastPropertyID;

	//getSVGLocation();

        seeData();

	if (!showSVG (svgdoc, target_id, true)) return true;

	// Display the database HTML page
	var mslink = target_id.substr (4, target_id.length - 3);
	var cgiString = "http://gis.mcphersoncountyks.us/pl/getdata.pl?" + mslink;
	CGIDATA.document.location = cgiString;

	lastPropertyID = target_id;
	hideSVG (svgdoc, lastID, true);

	// Propagate the event to other handlers.
	return true;
  }
