{"id":6553,"date":"2025-12-24T07:42:52","date_gmt":"2025-12-23T18:42:52","guid":{"rendered":"https:\/\/www.zoyinc.com\/?p=6553"},"modified":"2026-01-06T20:07:57","modified_gmt":"2026-01-06T07:07:57","slug":"trains-by-route","status":"publish","type":"post","link":"https:\/\/www.zoyinc.com\/?p=6553","title":{"rendered":"Trains By Route"},"content":{"rendered":"<p><script>\r\n\/\/ Trains By Route - Route Select Dropdown\r\n\/\/ =======================================\r\n\/\/ We need to run this function after the complete page has been loaded thus using \"window.addEventListener('load'...\"\r\nwindow.addEventListener('load', function () {\t\r\n\t\r\n\t\/\/ Grab a reference to the master WordPress group\r\n\tbyClassElementList = document.getElementsByClassName(\"zoyinc_location_select_form_master_group\");\r\n\tif ( byClassElementList.length != 1){ \r\n\t\talert(\"Could not find the master group element. Length = \" + byClassElementList.length); \r\n\t};\r\n\tmasterGroup = byClassElementList[0];\r\n\r\n\t\/\/ Create a location select form\r\n\tvar locationSelectForm = document.createElement(\"form\");\r\n\tlocationSelectForm.setAttribute(\"method\", \"get\");\r\n\tlocationSelectForm.setAttribute(\"id\", \"location_select_form_id\");\r\n\t\r\n\t\/\/ Wrap the location select form around the master group block\r\n\tmasterGroup.replaceWith(locationSelectForm);\r\n\tlocationSelectForm.appendChild(masterGroup);\r\n\t\r\n\t\/\/ Get the dummy submit button\r\n\t\/\/ In WordPress this is a \"Button\" block but in html it ends up as a div\r\n\tdivElementsList = document.getElementsByClassName(\"zoyinc_dummy_submit_button\");\r\n\tif ( divElementsList.length != 1){ \r\n\t\talert(\"Could not find the submit button. Length = \" + byClassElementList.length); \r\n\t};\r\n\tsubmitButtonDiv = divElementsList[0];\r\n\t\/\/ Get the anchor within the button\r\n\tanchorElements = submitButtonDiv.getElementsByTagName('a');\r\n\tif ( anchorElements.length != 1){ \r\n\t\talert(\"Could not find the anchor inside the dummy button. Length = \" + byClassElementList.length); \r\n\t};\r\n\tsubmitButtonAnchor = anchorElements[0];\r\n\t\/\/ Change the anchor so on click it submits the form\r\n\tsubmitButtonAnchor.setAttribute('href', '#');\r\n\tsubmitButtonAnchor.setAttribute('onclick','document.getElementById(\\'location_select_form_id\\').submit();');\r\n\t\t\r\n\t\/\/ Create a hidden \"input\" field\r\n\t\/\/ This will cause WordPress to return to this page\r\n\tvar locationPostNoInput = document.createElement(\"input\");\r\n\tlocationPostNoInput.setAttribute(\"type\", \"hidden\");\r\n\tlocationPostNoInput.setAttribute(\"id\", \"p\");\r\n\tlocationPostNoInput.setAttribute(\"name\", \"p\");\r\n\tlocationPostNoInput.setAttribute(\"value\", \"\");\r\n\r\n\t\r\n\t\/\/ We are using the button with class \"zoyinc_dummy_select_list_button\" as the\r\n\t\/\/ template for the dynamic select box\r\n\t\/\/ The button ends up in html as an anchor, and a div. The class ends up on the div\r\n\t\/\/ so we have to find the anchor and will assume there is only one\r\n\t \r\n\t\/\/ Get a reference to the div that surrounds the dummy select button\r\n\tbyClassElementList = document.getElementsByClassName(\"zoyinc_dummy_select_list\");\r\n\tif ( byClassElementList.length != 1){ \r\n\t\talert(\"Could not find \\\"div\\\" for dummy list box. Length = \" + byClassElementList.length); \r\n\t};\r\n\tdummyListDiv = byClassElementList[0];\r\n\t\r\n\t\/\/ Find the anchor inside the div\r\n\t\/\/ This is the element that contains the text for the dummy button. As such it contains the settings\r\n\t\/\/ for the font of the dummy button and so on.\r\n\tanchorElements = dummyListDiv.getElementsByTagName('a');\r\n\tif ( anchorElements.length != 1){ \r\n\t\talert(\"Could not find the anchor inside the dummy button. Length = \" + byClassElementList.length); \r\n\t};\r\n\tdummyButtonAnchor = anchorElements[0];\r\n\r\n\t\/\/ Create a select element for location number\r\n\tvar locationSelect = document.createElement(\"select\");\r\n\tlocationSelect.id = \"headsign_short_str\";\r\n\tlocationSelect.name = \"headsign_short_str\";\r\n\tlocationSelect.style.font = getComputedStyle(dummyListDiv, null).getPropertyValue(\"font\");\r\n\tlocationSelect.style.backgroundColor = getComputedStyle(byClassElementList[0], null).getPropertyValue(\"background-color\");\r\n\tlocationSelect.style.width = getComputedStyle(byClassElementList[0], null).getPropertyValue(\"width\");\r\n\tlocationSelect.style.height = getComputedStyle(dummyListDiv, null).getPropertyValue(\"height\");\r\n\tlocationSelect.style.color = getComputedStyle(byClassElementList[0], null).getPropertyValue(\"color\");\t\r\n\tlocationSelect.style.border  = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"border\");\r\n\t\/\/ Align the height and font of the submit button with the details for the select dropdown\r\n\t\/\/ Its actually quite hard to get this working for both PC and mobile browsers\r\n\t\/\/ What we have done is the best we can\r\n\tsubmitButtonDiv.style.height = locationSelect.style.height;\r\n\tsubmitButtonDiv.style.font = locationSelect.style.font;\r\n\tsubmitButtonAnchor.style.height = locationSelect.style.height;\r\n\tsubmitButtonAnchor.style.font = locationSelect.style.font;\r\n\t\/\/Creating dropdown list; \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"Out Of Service\";  \n\toption.text = \"Out Of Service\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n    currTrip = \"Out Of Service\";\t\r\n\t\/\/ Append the various elements to the form\r\n\tdummyListDiv.replaceWith(locationSelect);\r\n\tlocationSelectForm.append(locationPostNoInput);\r\n\t\r\n});\t\r\n<\/script><!-- Trains By Route - Route Select Dropdown --><\/p>\n\n\n<p><script>\r\n\/\/\r\n\/\/ Trains By Route - Trains On Route\r\n\/\/ =================================\r\n\/\/ \r\n\/\/ This shortcode takes a group with class:\r\n\/\/     zoyinc-trains_by_route_train_list_group\r\n\/\/     \r\n\/\/ It then hides this original group and replicates it for each train at the location\r\n\/\/ updating the various fields and image at the same time. \r\n\/\/\r\n\r\n\/\/ We need to run this function after the complete page has been loaded thus using \"window.addEventListener('load'...\"\r\nwindow.addEventListener('load', function () {\r\n\tdivElements = document.getElementsByTagName('div');\r\n\tstatusDivIndex = -1;\r\n\tfor (var i=0, im=divElements.length; im>i; i++) {\r\n\t\tif (divElements[i].classList.contains(\"zoyinc-trains_by_route_train_list_group\")){\r\n\t\t\tstatusDivIndex = i;\r\n\t\t};\r\n    };\r\n\tif (statusDivIndex == -1){\r\n\t\talert(\"Location info group element not found!\");\r\n\t};\t\r\n\tdefaultStatusGroup = divElements[statusDivIndex];\r\n\tdefaultStatusGroup.style.display = 'none'; \/\/ Hide the original WordPress group\t\r\n\tcurrStatusGroup = defaultStatusGroup;\r\n\t\r\ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1249\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0008,174.861094444444'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1249\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 1:22 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1249\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM375\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9995888888889,174.861255555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"375\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:56 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=375\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM131\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0009305555556,174.861555555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"131\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=131\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1210\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0016861111111,174.861905555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1210\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1210\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM823\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0008555555556,174.861802777778'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"823\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=823\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM279\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0014722222222,174.862094444444'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"279\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:23 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=279\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1046\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2025527777778,174.909316666667'>Pukekohe Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1046\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:59 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1046\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM904\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8482666666667,174.780336111111'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"904\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:48 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=904\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM334\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0002027777778,174.861444444444'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"334\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:00 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=334\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1236\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.000375,174.861408333333'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1236\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1236\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM469\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8892555555556,174.631022222222'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"469\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:55 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=469\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM281\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.84491248552389,174.7705611285918'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"281\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:41 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=281\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1061\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2058361111111,174.912577777778'>Pukekohe Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1061\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:36 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1061\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM618\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8895555555556,174.631230555556'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"618\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:54 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=618\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM714\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.063925,174.946177777778'>Papakura Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"714\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:07 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=714\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM266\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8897305555556,174.631063888889'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"266\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:55 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=266\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM537\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8895583333333,174.631333333333'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"537\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:18 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=537\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM321 - Lots Of Bikes And Prams\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2040916666667,174.910863888889'>Pukekohe Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"321\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:37 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2025\/06\/FindMyTrainFSmallAMP321_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2025\/06\/FindMyTrainFSmallAMP321_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=321\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1087\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8892277777778,174.630916666667'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1087\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:02 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1087\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM415\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0022083333333,174.861077777778'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"415\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=415\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM497\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0010277777778,174.8619'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"497\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:23 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=497\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM144\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0027555555556,174.861480555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"144\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=144\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM892\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.889075,174.631294444444'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"892\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:18 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=892\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM362\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0002305555556,174.861322222222'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"362\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=362\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1074\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0644611111111,174.946644444444'>Papakura Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1074\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:50 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1074\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM524\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0016222222222,174.862108333333'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"524\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:19 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=524\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM390\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.001075,174.861761111111'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"390\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:05 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=390\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM253\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2062055555556,174.913122222222'>Pukekohe Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"253\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:28 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=253\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM430\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8897361111111,174.631294444444'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"430\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:38 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=430\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM484\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.84431698033916,174.76870000549897'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"484\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:41 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=484\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1142\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8897111111111,174.631183333333'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1142\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 9:13 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1142\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM103\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8898972222222,174.631025'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"103\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:16 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=103\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM471 - Unwrapped\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9943444444444,174.876416666667'>Manukau Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"471\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:07 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=471\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM198\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9944444444444,174.875786111111'>Manukau Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"198\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:10 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=198\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM552\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8484194444444,174.780111111111'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"552\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:27 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=552\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM172\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0003388888889,174.861636111111'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"172\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=172\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1168\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8483166666667,174.779472222222'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1168\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:58 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1168\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM661 - Unwrapped\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0002416666667,174.861283333333'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"661\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=661\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM294\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0017222222222,174.861838888889'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"294\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=294\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM578\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0002,174.8615'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"578\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:56 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=578\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM511\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8892611111111,174.630813888889'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"511\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:03 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=511\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1005\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0001722222222,174.861563888889'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1005\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:07 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1005\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1196\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9995555555556,174.8613'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1196\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:07 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1196\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM347\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8889166666667,174.631261111111'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"347\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:38 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=347\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM877 - Neon\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9995583333333,174.861330555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"877\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP877_Neon_Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP877_Neon_Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=877\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM157\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9941916666667,174.876758333333'>Manukau Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"157\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:10 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=157\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM185\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.999775,174.861130555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"185\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=185\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM620 - Unwrapped\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.000425,174.860886111111'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"620\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:10 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=620\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1208\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0028305555556,174.861344444444'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1208\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1208\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM973 - Woolworths\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8483888888889,174.778669444444'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"973\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:55 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP973_Woolworths_small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP973_Woolworths_small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=973\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM810 - TradeMe Properties\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0007027777778,174.861144444444'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"810\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:43 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP810_TradeMeProperties_Small02.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP810_TradeMeProperties_Small02.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=810\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1033\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.20405,174.910747222222'>Pukekohe Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1033\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:00 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1033\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM687\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.06465,174.946672222222'>Papakura Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"687\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:07 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=687\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM428\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0017166666667,174.861902777778'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"428\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=428\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1223\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2031805555556,174.909891666667'>Pukekohe Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1223\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:59 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1223\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM851\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8897333333333,174.630902777778'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"851\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:34 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=851\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM932\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8484611111111,174.779291666667'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"932\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:27 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=932\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1059\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0658583333333,174.947547222222'>Papakura Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1059\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:51 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1059\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM319\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0028388888889,174.8613'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"319\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:11 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=319\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM238\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.844558793223975,174.76917141049208'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"238\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 7:16 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=238\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM443\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8892527777778,174.630994444444'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"443\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:16 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=443\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM565\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0640777777778,174.946327777778'>Papakura Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"565\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:50 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=565\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM580\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0029138888889,174.861155555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"580\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:29 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=580\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1101\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8897277777778,174.631008333333'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1101\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:02 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1101\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM945\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8483055555556,174.779669444444'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"945\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:34 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=945\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM958\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8890805555556,174.631180555556'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"958\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:54 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=958\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM456\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0021333333333,174.860897222222'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"456\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"14\/11\/2026 - 9:14 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=456\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM674 - Kia Mataara. Kia Haumaru Te Haere\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9997694444444,174.861177777778'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"674\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP674Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP674Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=674\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1114\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9944833333333,174.875563888889'>Manukau Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1114\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:07 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1114\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM960\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0015138888889,174.861955555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"960\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:05 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=960\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM701\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.84451413152917,174.76848125259514'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"701\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 7:16 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=701\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM836\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0022222222222,174.861027777778'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"836\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=836\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM593 - Unwrapped\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2064194444445,174.913258333333'>Pukekohe Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"593\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:22 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=593\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM864\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0010944444444,174.861666666667'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"864\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=864\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1127\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2063083333333,174.913080555556'>Pukekohe Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1127\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:36 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1127\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM116\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0010555555556,174.861808333333'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"116\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:20 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=116\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM402\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2035361111111,174.910197222222'>Pukekohe Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"402\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:00 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=402\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM917 - One NZ\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8897472222222,174.63085'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"917\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 11:03 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/LiveryV2_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/LiveryV2_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=917\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM388\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2059277777778,174.912702777778'>Pukekohe Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"388\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 8:22 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=388\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM225\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.203025,174.909644444444'>Pukekohe Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"225\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 7:47 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=225\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1155\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8482861111111,174.780283333333'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1155\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:58 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1155\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM212\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.2026416666667,174.909266666667'>Pukekohe Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"212\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 7:47 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=212\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM509 - Unwrapped\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9994805555556,174.860508333333'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"509\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:42 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2026\/10\/FindMyTrainAMP000UnwrappedSmall_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=509\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM605\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.00285,174.861247222222'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"605\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=605\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM849\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8483527777778,174.778883333333'>The Strand Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"849\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:41 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=849\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1018\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0009277777778,174.861647222222'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1018\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1018\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1170\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8890583333333,174.631130555556'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1170\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 9:13 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1170\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM633\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9997694444444,174.861247222222'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"633\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 12:00 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=633\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM646\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0653111111111,174.947122222222'>Papakura Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"646\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:52 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=646\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM306\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9996333333333,174.861030555556'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"306\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=306\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM129\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.9981611111111,174.860586111111'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"129\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"18\/11\/2026 - 10:40 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=129\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1020\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.0028611111111,174.861177777778'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1020\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1020\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM1183\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.84431,174.76869'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1183\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 9:54 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=1183\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM240\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-37.002275,174.860977777778'>Wiri Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"240\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"20\/11\/2026 - 1:32 am\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=240\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"AM659\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_table\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableElementList = figureElementList[0].getElementsByTagName(\"table\"); \nif ( tableElementList.length != 1){ \n\talert(\"Status table not found\"); \n}; \nstatusTableElement = tableElementList[0]; \nrouteFullName = \"Out Of Service\";statusTableElement.rows[0].cells[0].width = \"30%\"; \nstatusTableElement.rows[1].cells[0].width = \"30%\"; \nstatusTableElement.rows[2].cells[0].width = \"30%\"; \nstatusTableElement.rows[3].cells[0].width = \"30%\"; \nstatusTableElement.rows[0].cells[1].innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.8892555555556,174.630875'>Henderson Stabling Yard<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"659\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"19\/11\/2026 - 10:34 pm\"; \ntestElement = statusTableElement.rows[3].cells[1];figureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_status_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Status table surrounding figure element not found\"); \n}; \ntableImgElementList = figureElementList[0].getElementsByTagName(\"img\"); \nif ( tableImgElementList.length != 1){ \n\talert(\"Status table image not found\"); \n}; \ntableImgElement = tableImgElementList[0];tableImgElement.src= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" + \" 600w\"; \ndelete tableImgElement.style.removeProperty('aspect-ratio'); \ntableAnchorElementList = figureElementList[0].getElementsByTagName(\"a\"); \nif ( tableAnchorElementList.length != 1){ \n\talert(\"Status table image link\/anchor not found\"); \n}; \ntableAnchorElement = tableAnchorElementList[0];tableAnchorElement.href= \"\/?p=5571&train_number=659\"; \n\t\r\n\r\n});\r\n<\/script><!-- Trains By Route - Trains On Route --><\/p>\n\n\n<p><script>\r\n\/\/\r\n\/\/ Trains By Route - Update Current Route Details\r\n\/\/ ==============================================\r\n\/\/\r\n\r\n\/\/ We need to wait until the entire page is loaded so use \"window.addEventListener('load'...\"\r\nwindow.addEventListener('load', function () {\r\n\t\r\n\t\/\/ Get reference to current train status heading\r\n\tcurrTrainStatusElement = document.getElementsByClassName(\"zoyinc-find_my_train-curr_train_status\")[0];\r\n\t\r\n\t\/\/ Get a reference to the title heading\r\n\tcurrTrainTitleElement = document.getElementsByClassName(\"zoyinc_post_title\")[0];\r\n\t\r\n\t\/\/ Get a reference to the current train group\r\n\tcurrTrainGroupElement = document.getElementsByClassName(\"zoyinc_curr_train_details\")[0];\r\n\t\r\n\t\/\/ Get references to the current train status\r\n\tcurrTrainCustomName = currTrainGroupElement.getElementsByClassName(\"zoyinc_curr_train_custom_name\")[0];\r\n\tcurrTrainDescription = currTrainGroupElement.getElementsByClassName(\"zoyinc_curr_train_description\")[0];\r\n\t\r\n\tcurrTrainCustomName.innerText = \"Out Of Service\";\r\n\t\t\r\n\t\/\/\r\n\t\/\/ The status details for the current train are in separate tables and\r\n\t\/\/ also using columns. This was primarily done so that it displayed correctly on phones\r\n\t\/\/ \r\n\t\r\n\t\/\/ Get a reference to the cell containing location details\r\n\tcurrTrainLocationTable = currTrainGroupElement.getElementsByClassName(\"zoyinc_curr_train_location\")[0].getElementsByTagName('table')[0];\r\n\tcurrTrainLocationTable.rows[0].cells[0].width = \"35%\";\r\n\tcurrTrainLocationStr = currTrainLocationTable.rows[0].cells[1];\r\n\t\r\n\t\/\/ Get a reference to the cell containing the list of trains in this set details\r\n\tcurrTrainConnectedTrainsTable = currTrainGroupElement.getElementsByClassName(\"zoyinc_curr_train_connected_trains\")[0].getElementsByTagName('table')[0];\r\n\tcurrTrainConnectedTrainsTable.rows[0].cells[0].width = \"35%\";\r\n\tcurrTrainConnectedTrainsStr = currTrainConnectedTrainsTable.rows[0].cells[1];\r\n\t\r\n\t\/\/ Get a reference to the cell containing service details\r\n\tcurrTrainServiceTable = currTrainGroupElement.getElementsByClassName(\"zoyinc_curr_train_service\")[0].getElementsByTagName('table')[0];\r\n\tcurrTrainServiceTable.rows[0].cells[0].width = \"35%\";\r\n\tcurrTrainServiceStr = currTrainServiceTable.rows[0].cells[1];\r\n\t\r\n\t\/\/ Get a reference to the cell containing updated time details\r\n\tcurrTrainUpdatedTable = currTrainGroupElement.getElementsByClassName(\"zoyinc_curr_train_updated_trains\")[0].getElementsByTagName('table')[0];\r\n\tcurrTrainUpdatedTable.rows[0].cells[0].width = \"35%\";\r\n\tcurrTrainUpdatedStr = currTrainUpdatedTable.rows[0].cells[1];\r\n\r\nheightLocationTable = currTrainLocationTable.rows[0].offsetHeight; \nheightConnectedTrainsTable = currTrainConnectedTrainsTable.rows[0].offsetHeight; \nif ( heightLocationTable > heightConnectedTrainsTable){  \n\tcurrTrainConnectedTrainsTable.setAttribute(\"height\", heightLocationTable);  \n} else { \n\tcurrTrainLocationTable.setAttribute(\"height\", heightConnectedTrainsTable);  \n}; \nheightTrainServiceTable = currTrainServiceTable.rows[0].offsetHeight; \nheightTrainUpdatedTable = currTrainUpdatedTable.rows[0].offsetHeight; \nif ( heightTrainServiceTable > heightTrainUpdatedTable){  \n\tcurrTrainUpdatedTable.setAttribute(\"height\", heightTrainServiceTable);  \n} else { \n\tcurrTrainServiceTable.setAttribute(\"height\", heightTrainUpdatedTable);  \n}; \n\t\r\n\t\/\/\r\n\t\/\/ Update the trip details table for the current train\r\n\t\/\/  \r\n\tfigureElement = document.getElementsByClassName(\"zoyinc-find_my_train-cur_train_trips\")[0]; \r\n\tcurTrainTripTable = figureElement.getElementsByTagName(\"table\")[0];\r\n});\t\r\n\r\n<\/script>\t <!-- Trains By Route - Update Current Route Details --><\/p>\n\n\n\n<div class=\"wp-block-group zoyinc_curr_train_details has-global-padding is-layout-constrained wp-container-core-group-is-layout-14c7d415 wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0\">\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-71c143ff wp-block-group-is-layout-flex\" style=\"padding-top:0;padding-bottom:0\">\n<h5 class=\"wp-block-heading zoyinc_curr_train_custom_name\" style=\"padding-bottom:1%;line-height:1.7\">Find which trains are running on your route<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-fa3f03c3 wp-block-group-is-layout-flex\" style=\"margin-top:0%;margin-bottom:0%;padding-top:0;padding-bottom:0\">\n<p class=\"zoyinc_curr_train_description wp-block-paragraph\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">Select the train route that you are interested in<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:0.5em\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group zoyinc_location_select_form_master_group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0\">\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-42c1e200 wp-block-group-is-layout-flex\">\n<div class=\"wp-block-columns is-not-stacked-on-mobile wp-container-content-9cfa9a5a is-layout-flex wp-container-core-columns-is-layout-506c1018 wp-block-columns-is-layout-flex\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:80%\">\n<div class=\"wp-block-buttons is-layout-flex wp-container-core-buttons-is-layout-4444e9bf wp-block-buttons-is-layout-flex\" style=\"margin-top:0;margin-bottom:0\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size zoyinc_dummy_select_list has-medium-font-size\"><a class=\"wp-block-button__link has-contrast-color has-base-background-color has-text-color has-background wp-element-button\" style=\"border-width:1px;padding-top:2.5%;padding-right:10px;padding-bottom:2.5%;padding-left:10px\">List of trains that are running<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:20%\">\n<div class=\"wp-block-buttons is-content-justification-center is-nowrap is-layout-flex wp-container-core-buttons-is-layout-2370da7d wp-block-buttons-is-layout-flex\" style=\"margin-top:0;margin-bottom:0\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size zoyinc_dummy_submit_button has-medium-font-size\"><a class=\"wp-block-button__link has-base-color has-custom-zoyinc-3-background-color has-text-color has-background wp-element-button\" style=\"border-style:none;border-width:0px;padding-top:4%;padding-right:0px;padding-bottom:4%;padding-left:0px\">Go<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:2rem\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0\">Trains<\/h3>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:21px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group zoyinc-trains_by_route_train_list_group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0\">\n<h5 class=\"wp-block-heading zoyinc_status_group_heading\" style=\"margin-bottom:1%;padding-right:2%;padding-left:2%\">AMP123 &#8211; A new wrapped train<\/h5>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b19ddccc wp-block-columns-is-layout-flex\" style=\"margin-top:0%;margin-bottom:0;padding-top:0;padding-bottom:0\">\n<div class=\"wp-block-column is-layout-flow wp-container-core-column-is-layout-334452fe wp-block-column-is-layout-flow\" style=\"padding-top:0;padding-bottom:0;flex-basis:38%\">\n<figure class=\"wp-block-image size-full has-custom-border zoyinc_status_group_img\"><a href=\"https:\/\/www.zoyinc.com\/?train_number=212&amp;p=5571\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"315\" src=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg\" alt=\"\" class=\"wp-image-5639\" style=\"border-style:none;border-width:0px;aspect-ratio:1.607717041800643;object-fit:cover\" srcset=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg 600w, https:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01-300x158.jpg 300w, https:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01-250x131.jpg 250w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-container-core-column-is-layout-f279d594 wp-block-column-is-layout-flow\" style=\"padding-top:0;padding-bottom:0\">\n<figure class=\"wp-block-table is-style-stripes zoyinc_status_group_table\" style=\"margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-bottom:0;line-height:1\"><table><tbody><tr><td><strong>Location<\/strong><\/td><td>A New Train Station<\/td><\/tr><tr><td><strong>Service<\/strong><\/td><td>From Here To There<\/td><\/tr><tr><td><strong>Trains<\/strong><\/td><td>AMP00 and AMP01<\/td><\/tr><tr><td><strong>Updated<\/strong><\/td><td>01\/01\/1980 &#8211; 12:00am<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:66px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find which trains are running on your route Select the train route that you are interested in Trains AMP123 &#8211; A new wrapped train Location A New Train Station Service From Here To There Trains AMP00 and AMP01 Updated 01\/01\/1980 &#8211; 12:00am<\/p>\n","protected":false},"author":2,"featured_media":6555,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[761,837],"tags":[],"class_list":["post-6553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trains","category-yarpp-group-find-my-train"],"_links":{"self":[{"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/6553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6553"}],"version-history":[{"count":4,"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/6553\/revisions"}],"predecessor-version":[{"id":6574,"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/6553\/revisions\/6574"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/6555"}],"wp:attachment":[{"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}