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:20230101T000000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=UTC:20230506T080000
DTEND;TZID=UTC:20230506T170000
DTSTAMP:20260421T140724
CREATED:20230417T082350Z
LAST-MODIFIED:20230503T191725Z
UID:11033-1683360000-1683392400@www.lryc.ie
SUMMARY:Launching Supper
DESCRIPTION:\n\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 numberAdult = document.getElementsByName("numberAdult");\n    if (numberAdult[0].value === "") {\n      this.errors.push("Please select a number of meals")\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 names = document.getElementsByName("names");\n   var numberAdult = document.getElementsByName("numberAdult");\n   var sundayInt = parseInt(numberAdult[0].value); \n   if (sundayInt > 0){\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('&quantity='+sundayInt+'&add-to-cart=11035');\n  }\n}\n\n\nTickets sales are now closed.\n1Book a Meal(s) €25 each\n\n\nNumber of Meals \n1\n2\n3\n4\n5\n6\n7\n8\n\n \n \n \n
URL:https://www.lryc.ie/event/launching-supper/
ATTACH;FMTTYPE=image/jpeg:https://www.lryc.ie/wp-content/uploads/2018/01/whit.jpg
END:VEVENT
END:VCALENDAR