{"id":6518,"date":"2025-07-07T06:41:08","date_gmt":"2025-07-06T18:41:08","guid":{"rendered":"https:\/\/www.zoyinc.com\/?p=6518"},"modified":"2026-01-18T10:48:57","modified_gmt":"2026-01-17T21:48:57","slug":"station-trains","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=6518","title":{"rendered":"Station Trains"},"content":{"rendered":"\n<div class=\"wp-block-group zoyinc_curr_station_details has-global-padding is-layout-constrained wp-container-core-group-is-layout-4 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-1 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_top\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">Want to find out which Auckland metro trains are currently at a particular station or another location on the rail network, this is the place to look. <br>At the bottom you will see links to similar pages for other featured locations. For these featured locations there is couple of location photos along with a short introduction to the location.<br><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group zoyinc_curr_location_second_image_row is-nowrap is-layout-flex wp-container-core-group-is-layout-2 wp-block-group-is-layout-flex\" style=\"margin-top:0%;margin-bottom:0%;padding-top:0;padding-bottom:0\">\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"630\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2025\/07\/StationTrainsDummySecondayImage01.jpg\" alt=\"\" class=\"wp-image-6621\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2025\/07\/StationTrainsDummySecondayImage01.jpg 1200w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2025\/07\/StationTrainsDummySecondayImage01-300x158.jpg 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2025\/07\/StationTrainsDummySecondayImage01-250x131.jpg 250w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2025\/07\/StationTrainsDummySecondayImage01-768x403.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-3 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_bottom\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">Bottom Description<\/p>\n<\/div>\n<\/div>\n\n\n<p><script>\r\n\/\/\r\n\/\/ Update the details for the currently selected location\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\/\/ 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_station_details\")[0];\r\ncurrTrainTitleElement.innerHTML = \"Trains at Waitemata Station\"; \nfeaturedImageFigureElement = document.getElementsByClassName(\"zoyinc_featured_image_single\")[0]; \nfeaturedImgElement = featuredImageFigureElement.getElementsByTagName(\"img\")[0]; \nfeaturedImgElement.src= \"\/wp-content\/uploads\/2025\/12\/WaitemataStation01.jpg\"; \nfeaturedImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/WaitemataStation01.jpg\" + \" 1200w\"; \ndelete featuredImgElement.style.removeProperty('aspect-ratio'); \ncurrLocationGroupElement = document.getElementsByClassName(\"zoyinc_curr_station_details\")[0]; \ncurrLocationDescriptionTop = currLocationGroupElement.getElementsByClassName(\"zoyinc_curr_train_description_top\")[0]; \ncurrLocationDescriptionBottom = currLocationGroupElement.getElementsByClassName(\"zoyinc_curr_train_description_bottom\")[0]; \ncurrLocationDescriptionTop.innerHTML = \"Opened in 1912 as the Chief Post Office, and then in 2001 renovated as the Britomart Transport Centre, it is now called the Waitemata Station, and is the central hub of the Auckland train network.<br><br>Located at Te Komititanga Square at the bottom of Queen St, Waitemata station is adjacent to the ferry and cruise ship terminals with the Commercial Bay shopping mall and  bus hub on the opposite side of the square.\"; \ncurrLocationDescriptionBottom.innerHTML = \"Waitemata station along with its siblings CBD stations Karanga-a-Hape Station and Te Waihorotiu Station, they are excellent locations to start your exploration of Auckland\u2019s vibrant and spiritual heart.\"; \nsecondaryImgElement = currLocationGroupElement.getElementsByTagName(\"img\")[0]; \nsecondaryImgElement.src= \"\/wp-content\/uploads\/2025\/12\/WaitemataStation02.jpg\"; \nsecondaryImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/WaitemataStation02.jpg\" + \" 1200w\"; \ndelete secondaryImgElement.style.removeProperty('aspect-ratio'); \nstationGoogleMapsElement = document.getElementsByClassName(\"zoyinc-station-google-maps-url\")[0]; \nstationGoogleMapsElement.innerHTML = \"<a href='https:\/\/www.google.com\/maps\/search\/?api=1&query=-36.844655,174.76947'>See on Google Maps<\/a>\"; \n});\t\r\n<\/script>\t <!-- Station Trains - Update Current Station Details --><\/p>\n\n\n<p><script>\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 = \"location_number\";\r\n\tlocationSelect.name = \"location_number\";\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 = \"20\";  \n\toption.text = \"Avondale Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"24\";  \n\toption.text = \"Baldwin Ave Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"96\";  \n\toption.text = \"Drury Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"45\";  \n\toption.text = \"Ellerslie Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"15\";  \n\toption.text = \"Fruitvale Rd\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"13\";  \n\toption.text = \"Glen Eden Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"83\";  \n\toption.text = \"Glen Innes Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"32\";  \n\toption.text = \"Grafton Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"43\";  \n\toption.text = \"Greenlane Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"9\";  \n\toption.text = \"Henderson Stabling Yard\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"7\";  \n\toption.text = \"Henderson Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"66\";  \n\toption.text = \"Homai\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"93\";  \n\toption.text = \"Karanaga-a-Hape Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"28\";  \n\toption.text = \"Kingsland Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"70\";  \n\toption.text = \"Manukau Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"68\";  \n\toption.text = \"Manurewa Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"30\";  \n\toption.text = \"Maungawhau Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"81\";  \n\toption.text = \"Meadowbank Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"56\";  \n\toption.text = \"Middlemore Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"26\";  \n\toption.text = \"Morningside Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"22\";  \n\toption.text = \"Mt Albert Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"17\";  \n\toption.text = \"New Lynn Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"34\";  \n\toption.text = \"Newmarket Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"98\";  \n\toption.text = \"Ngakoroa  Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"51\";  \n\toption.text = \"Onehunga Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"79\";  \n\toption.text = \"Orakei Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"54\";  \n\toption.text = \"Otahuhu Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"100\";  \n\toption.text = \"Paerata Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"85\";  \n\toption.text = \"Panmure Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"77\";  \n\toption.text = \"Papakura Stabling Yard\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"76\";  \n\toption.text = \"Papakura Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"58\";  \n\toption.text = \"Papatoetoe Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"36\";  \n\toption.text = \"Parnell Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"47\";  \n\toption.text = \"Penrose Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"60\";  \n\toption.text = \"Puhinui Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"104\";  \n\toption.text = \"Pukekohe Stabling Yard\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"102\";  \n\toption.text = \"Pukekohe Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"3\";  \n\toption.text = \"Ranui Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"41\";  \n\toption.text = \"Remuera Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"5\";  \n\toption.text = \"Sturges Rd Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"11\";  \n\toption.text = \"Sunnyvale Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"1\";  \n\toption.text = \"Swanson Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"87\";  \n\toption.text = \"Sylvia Park Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"74\";  \n\toption.text = \"Takaanini Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"72\";  \n\toption.text = \"Te Mahia Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"49\";  \n\toption.text = \"Te Papapa Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"91\";  \n\toption.text = \"Te Waihorotiu Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"38\";  \n\toption.text = \"The Strand\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"105\";  \n\toption.text = \"The Strand Stabling Yard\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"39\";  \n\toption.text = \"Waitemata Entrance\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"89\";  \n\toption.text = \"Waitemata Station\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\tvar option = document.createElement(\"option\"); \n\toption.value = \"64\";  \n\toption.text = \"Wiri Stabling Yard\";  \n\toption.style.color = getComputedStyle(dummyButtonAnchor, null).getPropertyValue(\"color\"); \n\tlocationSelect.appendChild(option); \n\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><!-- Station Trains - Location Select Dropdown --><\/p>\n\n\n<p><script>\r\n\/\/\r\n\/\/ Trains At Location\r\n\/\/ ====================\r\n\/\/ \r\n\/\/ This shortcode takes a group with class:\r\n\/\/     zoyinc-find_my_train-location_trains_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-find_my_train-location_trains_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\ncurrTrainsNotPresentHeaderElement = document.getElementsByClassName(\"zoyinc-heading-currently-no-trains\")[0]; \n\/\/$config_default_location = \"89\" \n\/\/ Debug point A - curr_location_id = 89; \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 = \"Waitemata To Manukau\";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.84448,174.76915'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1087\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"09\/04\/2026 - 1: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=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 = \"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.84448,174.76915'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1142\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"02\/04\/2026 - 7: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=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 = \"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.84448,174.76915'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1170\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"09\/04\/2026 - 8:53 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=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 = \"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 = \"Waitemata To Swanson\";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.84448,174.76915'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1183\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"09\/04\/2026 - 11: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\/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 = \"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=-36.84448,174.76915'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"1210\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"02\/04\/2026 - 7: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=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 = \"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 = \"Swanson To Waitemata\";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.84493392884658,174.7707636845349'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"375\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"09\/04\/2026 - 1: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=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 = \"AM973\"; \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.84448,174.76915'>Waitemata Station<\/a>\"; \nstatusTableElement.rows[1].cells[1].innerHTML = routeFullName; \nstatusTableElement.rows[2].cells[1].innerHTML = \"973\"; \nstatusTableElement.rows[3].cells[1].innerHTML = \"08\/04\/2026 - 10:43 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=973\"; \ncurrTrainsNotPresentHeaderElement.style.display = 'none'; \n\t\r\n\r\n});\r\n<\/script><!-- Station Trains - Trains At Location --><\/p>\n\n\n<p><script>\r\n\/\/\r\n\/\/ Featured location\r\n\/\/ ====================\r\n\/\/ \r\n\/\/ This shortcode takes a group with class:\r\n\/\/     zoyinc-featured_locations_group\r\n\/\/     \r\n\/\/ It then hides this original group and replicates it for each \"special\", or wrapped train\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-featured_locations_group\")){\r\n\t\t\tstatusDivIndex = i;\r\n\t\t};\r\n    };\r\n\tif (statusDivIndex == -1){\r\n\t\talert(\"Location 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_location_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"Waitemata Station\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Updating featured image 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\/12\/WaitemataStation01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/WaitemataStation01.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=6518&location_number=89\"; \ndescriptionElementList = currStatusGroup.getElementsByClassName(\"zoyic-featured-location-description\"); \nif ( descriptionElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \ndescriptionElementList[0].textContent = \"Opened in 1912 as the Chief Post Office, and then in 2001 renovated as the Britomart Transport Centre, it is now called the Waitemata Station, and is the central hub of the Auckland train...\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"Penrose Station\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Updating featured image 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\/12\/PenroseStation01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/PenroseStation01.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=6518&location_number=47\"; \ndescriptionElementList = currStatusGroup.getElementsByClassName(\"zoyic-featured-location-description\"); \nif ( descriptionElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \ndescriptionElementList[0].textContent = \"Located in the middle of the industrial suburb of Penrose it opened in 1873 as part of the Auckland to Onehunga line, the first government owned rail line in the North Island. Being the closest...\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"Newmarket Station\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Updating featured image 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\/12\/NewmarketStation.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/NewmarketStation.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=6518&location_number=34\"; \ndescriptionElementList = currStatusGroup.getElementsByClassName(\"zoyic-featured-location-description\"); \nif ( descriptionElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \ndescriptionElementList[0].textContent = \"With 3 tracks and 4 platforms located in the centre of the upmarket precinct of Newmarket, the station is one of the busiest stations on the network. Whether it\u2019s high fashion shopping, the cinema...\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"Manukau Station\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Updating featured image 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\/12\/ManukauStation01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/ManukauStation01.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=6518&location_number=70\"; \ndescriptionElementList = currStatusGroup.getElementsByClassName(\"zoyic-featured-location-description\"); \nif ( descriptionElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \ndescriptionElementList[0].textContent = \"Sitting beneath the Manukau Institute of Technology since 2012, the Manukau train station rests at the end of the Eastern Line service on a 2.5 spur line off the North Island Main Trunk. Students,...\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"Papakura Station\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Updating featured image 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\/12\/PapakuraStation01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/PapakuraStation01.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=6518&location_number=76\"; \ndescriptionElementList = currStatusGroup.getElementsByClassName(\"zoyic-featured-location-description\"); \nif ( descriptionElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \ndescriptionElementList[0].textContent = \"Opening in 1875 as part of the Auckland to Mercer railway, it has seen several renovations including an electrification in 2015. The historic ticket office building was refurbished in 2012 and...\"; \ncurrStatusGroup.after(defaultStatusGroup.cloneNode(true)); \ncurrStatusGroup = currStatusGroup.nextSibling;  \/\/ Add After the default group \ncurrStatusGroup.style.display = ''; \/\/ Unhide the new group \nheadingElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_heading\"); \nif ( headingElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \nheadingElementList[0].textContent = \"Onehunga Station\"; \nfigureElementList = currStatusGroup.getElementsByClassName(\"zoyinc_location_group_img\"); \nif ( figureElementList.length != 1){ \n\talert(\"Updating featured image 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\/12\/OnehungaStation01.jpg\"; \ntableImgElement.srcset= \"\/wp-content\/uploads\/2025\/12\/OnehungaStation01.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=6518&location_number=51\"; \ndescriptionElementList = currStatusGroup.getElementsByClassName(\"zoyic-featured-location-description\"); \nif ( descriptionElementList.length != 1){ \n\talert(\"Status info heading not found\"); \n}; \ndescriptionElementList[0].textContent = \"Like the Penrose station the Onehunga station opened in 1873 as part of the Auckland to Onehunga line, with the line being extended to Onehunga Wharf on 28 November 1878. Onehunga line services...\"; \n\t\r\n});\r\n<\/script><!-- Station Trains - Featured Locations --><\/p>\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-5 wp-block-group-is-layout-flex\">\n<div class=\"wp-block-columns is-not-stacked-on-mobile wp-container-content-1 is-layout-flex wp-container-core-columns-is-layout-1 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-1 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-2 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:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center zoyinc-station-google-maps-url\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0\">Find on Google Maps<\/p>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:20px\" 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:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center zoyinc-heading-currently-no-trains has-medium-font-size\">Currently there are no trains at <\/p>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:18px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group zoyinc-find_my_train-location_trains_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-2 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-3 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&#038;p=5571\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"315\" src=\"http:\/\/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=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg 600w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01-300x158.jpg 300w, http:\/\/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-4 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:33px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0\">Featured Locations<\/h3>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group zoyinc-featured_locations_group has-global-padding is-layout-constrained wp-container-core-group-is-layout-11 wp-block-group-is-layout-constrained\" style=\"border-style:none;border-width:0px;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-8 wp-block-group-is-layout-flex\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0\">\n<h5 class=\"wp-block-heading zoyinc_location_group_heading\" style=\"margin-bottom:0%;padding-right:0;padding-left:0\">Fancy Train Station<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-9 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full has-custom-border zoyinc_location_group_img\" style=\"margin-top:0;margin-bottom:0\"><a  href=\"https:\/\/www.zoyinc.com\/?train_number=212&#038;p=5571\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"315\" src=\"http:\/\/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=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01.jpg 600w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2023\/11\/FindMyTrainAMP000Small_01-300x158.jpg 300w, http:\/\/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-group is-nowrap is-layout-flex wp-container-core-group-is-layout-10 wp-block-group-is-layout-flex\">\n<p class=\"zoyic-featured-location-description\">What a fine station this is<\/p>\n<\/div>\n\n\n\n<div style=\"margin-top:0;margin-bottom:0;height:36px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Want to find out which Auckland metro trains are currently at a particular station or another location on the rail network, this is the place to look. At the bottom you will see links to similar pages for other featured locations. For these featured locations there is couple of location photos along with a short [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":6590,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[796,761,837],"tags":[],"class_list":["post-6518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-page","category-trains","category-yarpp-group-find-my-train"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/6518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6518"}],"version-history":[{"count":67,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/6518\/revisions"}],"predecessor-version":[{"id":6686,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/6518\/revisions\/6686"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/6590"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6518"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}