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:20210101T000000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210904
DTEND;VALUE=DATE:20210906
DTSTAMP:20260420T040324
CREATED:20191114T135942Z
LAST-MODIFIED:20210902T152840Z
UID:4293-1630713600-1630886399@www.lryc.ie
SUMMARY:The Pathfinder Weekend
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 names = document.getElementsByName("names");\n   var numberAdult = document.getElementsByName("numberAdult");\n    if (numberAdult[0].value === "") {\n      this.errors.push("Please select a number of meals")\n    } \n   if (names[0].value.length < 1) {\n      this.errors.push("Please enter names of attendees.")\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 additionalInfo=" Name of attendees "+ names[0].value;\n   var additionalInfo = additionalInfo.replace("&"\, " and ");\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('AdditionalInfo='+additionalInfo+'&quantity='+sundayInt+'&add-to-cart=7664');\n  }\n}\n\n\n1Book a table\n\n\nNumber of Meals \n1\n2\n3\n4\n5\n6\n7\n8\n\n \n \n \n \n
URL:https://www.lryc.ie/event/the-pathfinder-weekend/
ATTACH;FMTTYPE=image/jpeg:https://www.lryc.ie/wp-content/uploads/2018/04/18839357_1442206359159330_992762910557945292_n.jpg
END:VEVENT
END:VCALENDAR