BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Lough Ree Yacht Club - ECPv4.9.14//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Lough Ree Yacht Club
X-ORIGINAL-URL:https://www.lryc.ie
X-WR-CALDESC:Events for Lough Ree Yacht Club
BEGIN:VTIMEZONE
TZID:UTC
BEGIN:STANDARD
TZOFFSETFROM:+0000
TZOFFSETTO:+0000
TZNAME:UTC
DTSTART:20220101T000000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=UTC:20220402T080000
DTEND;TZID=UTC:20220403T170000
DTSTAMP:20260421T140811
CREATED:20220212T144021Z
LAST-MODIFIED:20220315T104207Z
UID:8221-1648886400-1649005200@www.lryc.ie
SUMMARY:Mirror Coaching April
DESCRIPTION:\n//numericalTotals\nvar total = 0;\n//Summary Strings\nvar summaryMsg = [];\n//Arrays\nvar errors = [];\nfunction continuePurchase() {\n        var xhr = new XMLHttpRequest()\n        xhr.open("GET"\, 'https://www.lryc.ie/?clear-cart'\, true);\n        xhr.setRequestHeader("Content-Type"\, "application/x-www-form-urlencoded; charset=UTF-8");\n        xhr.onload = function () {\n            getAdultMealFees();\n        };\n        xhr.send();\n}\nfunction clearCart() {\n   this.summaryMsg = [];\n   thereAreValidationErrors()\n   if (this.errors.length > 0) {\n      printErrors();\n      return;\n   }\n   disableButton();\n   continuePurchase(); \n}\nfunction thereAreValidationErrors(){\n   this.errors = [];\n   var validation = document.getElementById("validation");\n   var helm = document.getElementsByName("helm");\n   var crew = document.getElementsByName("crew");\n   if (helm[0].value === ""){\n      this.errors.push("Please enter the name of the helm")\n   }\n   if (crew[0].value.length < 1) {\n      this.errors.push("Please enter name of crew.")\n   }\n   validation.innerHTML = "";\n}\nfunction isNumeric(str) {\n  if (typeof str != "string") return false // we only process strings!  \n  return !isNaN(str) && // use type coercion to parse the _entirety_ of the string (`parseFloat` alone does not do this)...\n         !isNaN(parseFloat(str)) // ...and ensure strings of whitespace fail\n}\nfunction getAdultMealFees() {\n   var helm = document.getElementsByName("helm");\n   var crew = document.getElementsByName("crew");\n   var additionalInfo="Helm: "+helm[0].value + " Crew :"+ crew[0].value;\n   var additionalInfo = additionalInfo.replace("&"\, " and ");\n     var xhr = new XMLHttpRequest();\n     xhr.open("POST"\, 'https://www.lryc.ie/?add-to-cart'\, true);\n     xhr.setRequestHeader("Content-Type"\, "application/x-www-form-urlencoded; charset=UTF-8");\n     xhr.onload = function () {\n        goToCart();\n     };\n     xhr.send('AdditionalInfo='+additionalInfo+'&quantity=1&add-to-cart=8358');\n}\n\n\n1Book a place €50\n \n \n \n \n
URL:https://www.lryc.ie/event/mirror-coaching-april/
END:VEVENT
END:VCALENDAR