diff --git a/index.html b/index.html
index 37a4253..4ae4d79 100644
--- a/index.html
+++ b/index.html
@@ -26,7 +26,6 @@
@@ -69,32 +68,12 @@
incorrect or unavailable on Tiger, you will be redirected to a
blank board. CRS codes will be verified against a lookup file
before redirecting.
- Use the TIPLOC Lookup option from the menu to look up a TIPLOC from
- a given CRS code.
Some stations are not on Tiger and these stations are not supported
here either. Notably TfW and Chiltern stations that border the GWR
network. Most GWR Central served stations are now available to
lookup.
- Until there is a more modern public API offering access to Darwin,
- I have no interest in supporting any more than simply linking to
- the relevent Tiger page.
-
-
-
diff --git a/scripts/tiploc-finder.js b/scripts/tiploc-finder.js
index 1920ae1..f7c6dc0 100644
--- a/scripts/tiploc-finder.js
+++ b/scripts/tiploc-finder.js
@@ -88,38 +88,3 @@ function gotoInfoBoard(station) {
console.groupEnd();
return 0;
}
-
-/*This function provides the Lookup TIPLOC from CRS function from the menu*/
-function tiplocFinder() {
- console.group("Athena: function: tiplocFinder()");
- let crs_to_find = document.getElementById("lookup-tiploc").value;
- console.info("You are trying to lookup the TIPLOC for:" + crs_to_find.toUpperCase());
- console.info("Checking if CRS code exists in look up data");
- let hasKey = dataGlobal.hasOwnProperty(crs_to_find);
- if (hasKey) { //If key exists then log and continue
- console.info(crs_to_find.toUpperCase() + " does exist in lookup file");
- } else { //If key does not exist then stop further processing
- console.warn(crs_to_find.toUpperCase() + "does not exist in lookup file");
- console.error(crs_to_find.toUpperCase() + " is an incorrect code or not supported.");
- alert(crs_to_find.toUpperCase() + " is not a valid or supported CRS, " +
- "please see the help section for more information");
- console.groupEnd();
- return 0;
- }
- let crs_obj = dataGlobal[crs_to_find];
- let name = crs_obj['name'].toUpperCase();
- let crs = crs_to_find.toUpperCase();
- let stanme = crs_obj['stanme'].toUpperCase();
- let stanox = crs_obj['stanox'];
- let tiploc = crs_obj['tiploc'];
- console.info("Found Data for " + crs +": Name: " + name + ", STANME: " + stanme +
- ", STANOX: " + stanox + ", TIPLOC: " + tiploc);
- console.warn("Attempt writing to DOM, feature incomplete");
- document.getElementById("resultCRS").innerHTML = "CRS: " + crs_to_find.toUpperCase();
- document.getElementById("resultTIPLOC").innerHTML = "TIPLOC: " + tiploc.toUpperCase();
- document.getElementById("resultSTANME").innerHTML = "STANME: " + stanme.toUpperCase();
- document.getElementById("resultName").innerHTML = "Name: " + name.toUpperCase();
- document.getElementById("resultSTANOX").innerHTML = "STANOX: " + stanox;
- console.info("Writing to DOM Complete")
- console.groupEnd();
-}