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:20250101T000000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;VALUE=DATE:20250405
DTEND;VALUE=DATE:20250407
DTSTAMP:20260420T042245
CREATED:20250312T104832Z
LAST-MODIFIED:20250403T111116Z
UID:14524-1743811200-1743983999@www.lryc.ie
SUMMARY:420 Ulster Championship & Fireball Open Championship
DESCRIPTION:\n//numericalTotals\nvar total = 0;\n//Summary Strings\nvar summaryMsg = [];\nthis.statusA=[];\n//Arrays\nvar errors = [];\nvar boatCount = 1;\n//Constants\nvar kidsMealFee = 20;\nvar adultMealFee = 22;\n\nfunction calculateTotal() {\n   this.summaryMsg = [];\n   thereAreValidationErrors()\n   if (this.errors.length > 0) {\n      printErrors();\n      return;\n   }\n   disableButton();\n}\nfunction goToCart() {\n   window.location.href = 'www.lryc.ie/cart';\n}\nfunction getEntryProductSingleFleet(){\n   var today = new Date();\n   var dd = today.getDate();\n   var mm = today.getMonth()+1; //January is 0!\n   \n   if (mm === 7 && dd > 18) {\n      return '1657';\n   } else if (mm > 7) {\n      return '1657';\n   }\n   return '1656'\n}\nfunction thereAreValidationErrors(){\n   this.errors = [];\n   var helm = document.getElementsByName("helm");\n   var club = document.getElementsByName("club");\n   var crewClub = document.getElementsByName("crewClub");\n   var crew = document.getElementsByName("crew");\n   var boatNo = document.getElementsByName("boatNo");\nvar classS = document.getElementsByName("classS");\n   var name = document.getElementsByName("name");\n   var phone = document.getElementsByName("phone");\nif (classS[0].value === "" && helm[0].value.length < 3 && crewClub[0].value.length < 3 && boatNo[0].value.length < 3 && crew[0].value.length < 3){\n   var sunday = document.getElementsByName("numberAdult");\n   var sundayT = document.getElementsByName("numberTeen");\n   var camp = document.getElementsByName("camp");\n   if (sunday[0].value==="" && sundayT[0].value==="" && camp[0].value==="") {\n      this.errors.push("No boat entered or meals selected")\n   }\n} else {\n   if (classS[0].value === "") {\n      this.errors.push("Please enter a class")\n   } \n   if (helm[0].value.length < 3) {\n      this.errors.push("Please enter a helm name")\n   } \n   if (club[0].value.length < 3) {\n      this.errors.push("Please enter a Helm club name")\n   } \n   if (crewClub[0].value.length < 3) {\n      this.errors.push("Please enter a Crew club name")\n   } \n   if (crew[0].value.length < 3) {\n      this.errors.push("Please enter a crew name")\n   }   \n   if (boatNo[0].value.length < 3) {\n      this.errors.push("Please enter a boat number")\n   } \n   if (name[0].value.length < 3) {\n      this.errors.push("Please enter an emergency contact name")\n   } \n   if (phone[0].value.length < 3) {\n      this.errors.push("Please enter an emergency contact number")\n   } \n   var declaration = document.getElementById("declaration");\n   if (!declaration.checked) {\n      this.errors.push("Please confirm you agree with the terms and conditions of the event by ticking the box.")\n   }\n}\n   var validation = document.getElementById("validation");\n   validation.innerHTML = "";\n}\nfunction printErrors(){\n    var validation = document.getElementById("validation");\n    for (i = 0; i < errors.length; i++) {\n        validation.innerHTML += (errors[i] + "");\n    }\n}\nfunction createCartButton(){ \n   this.cartHref += "\″ onclick=\"disableButton()\" id=\"goToCheckout\">Add to Cart"\n   var summary = document.getElementById("addToCart").innerHTML = this.cartHref;    \n}\nfunction disableButton(){\n   var goToCheckout = document.getElementById("Next");\n   goToCheckout.disabled = true;\n   goToCheckout.value='Thank you please wait a few moments while we build your entry';\n   printStatus("Clearing Cart");\n   goToCheckout.style.background = "#909090"\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        getTotalBoatEntryFees();\n     };\n     xhr.send();\n}\nfunction getTotalBoatEntryFees(){\n  var helm = document.getElementsByName("helm");\n  var club = document.getElementsByName("club");\n  var classSelect = document.getElementsByName("classS");\n  var cDobDay = document.getElementsByName("dobDay");\n  var cDobMonth = document.getElementsByName("dobMonth");\n  var cDobYear = document.getElementsByName("dobYear");\n  var cDobDay2 = document.getElementsByName("dobDayC");\n  var cDobMonth2 = document.getElementsByName("dobMonthC");\n  var cDobYear2 = document.getElementsByName("dobYearC");\n  var crew = document.getElementsByName("crew");\n  var crewClub = document.getElementsByName("crewClub");\n  var boatNo = document.getElementsByName("boatNo");\n   var sailNo = document.getElementsByName("sailNo");\n  var boatName = document.getElementsByName("boatName");\nif(classSelect[0].value!=""){\n   printStatus("Entering Boat");\n   var name = document.getElementsByName("name");\n   var phone = document.getElementsByName("phone");\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    adultMeals();\n  };\n  var dob = cDobDay[0].value+"/"+cDobMonth[0].value+"/"+cDobYear[0].value;\n  var dob2 = cDobDay2[0].value+"/"+cDobMonth2[0].value+"/"+cDobYear2[0].value;\n  var additionalInfo ='Class:'+classSelect[0].value+' Emergency contact:'+name[0].value+' '+phone[0].value+' Helm Club:'+club[0].value+' Crew Club:'+crewClub[0].value;\n  if (sailNo[0].value.length > 0){\n     additionalInfo += ' Sail Number:'+sailNo[0].value;\n  }  \n  if (dob!='0/0/0'){\n     additionalInfo += ' Helm DOB:'+dob;\n  }\n  if (dob2!='0/0/0'){\n     additionalInfo += ' Crew DOB:'+dob2;\n  }\n  var productId = 12454;\n  if (boatName[0].value.length > 0){  \n xhr.send('boatNumber='+boatNo[0].value+'&helm='+helm[0].value+'&crew='+crew[0].value+'&&boatName='+boatName[0].value+'&AdditionalInfo='+additionalInfo+'&quantity=1&add-to-cart='+productId);\n   } else {\n xhr.send('boatNumber='+boatNo[0].value+'&helm='+helm[0].value+'&crew='+crew[0].value+'&AdditionalInfo='+additionalInfo+'&quantity=1&add-to-cart='+productId);\n  }\n}else {\nadultMeals();\n}\n} \nfunction getTotalMealFees() {\n   var sunday = document.getElementsByName("selectSundayMeal");\n   var sundayInt = parseInt(sunday[0].value); \n   if (sundayInt>0) {\n      printStatus("Adding Junior Meals");\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         adultMeals();\n      };\n      xhr.send('quantity='+sundayInt+'&add-to-cart=3349');\n   } else {\n       adultMeals();\n   }\n}\nfunction adultMeals() {\n   var sunday = document.getElementsByName("numberAdult");\n   var sundayInt = parseInt(sunday[0].value); \n   if (sundayInt>0) {\n     printStatus("Adding Adult Meals");\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       teenMeals();\n     };\n     xhr.send('quantity='+sundayInt+'&add-to-cart=14541');\n  } else {\n       teenMeals();\n  }\n}\nfunction teenMeals() {\n   var sunday = document.getElementsByName("numberTeen");\n   var sundayInt = parseInt(sunday[0].value); \n   if (sundayInt>0) {\n     printStatus("Adding Teen Meals");\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       printStatus("Checking additional requests");\n       getAdditionalInfo();\n     };\n     xhr.send('quantity='+sundayInt+'&add-to-cart=14542');\n  } else {\n       getAdditionalInfo();\n  }\n}\nfunction createSummary(){\n   this.total = 0; \n    this.summaryMsg = [];\n    var kidsMeal= document.getElementsByName("numberTeen");\n    var kidsMealInt = parseInt(kidsMeal[0].value); \n    this.total += (kidsMealInt*kidsMealFee );\n    if (kidsMealInt > 0) {\n        this.summaryMsg.push(kidsMealInt + " x Saturday Teen Meal = €" + kidsMealFee*kidsMealInt  );\n    }\n    var adultsMeal= document.getElementsByName("numberAdult");\n    var adultsMealInt = parseInt(adultsMeal[0].value); \n    this.total += (adultsMealInt*adultMealFee);\n    if (adultsMealInt > 0) {\n        this.summaryMsg.push(adultsMealInt + " x Saturday Adult Meal = €" + adultMealFee*adultsMealInt  );\n    }\n    var fleet = document.getElementsByName("fleet")[0].value;\n    var today = new Date();\n    var dd = today.getDate();\n    var mm = today.getMonth()+1; //January is 0!\n    var entry=50;\n    if (mm === 7 && dd > 18) {\n       entry=60;\n    }\n    if (fleet.length > 0) {\n      var productSum = getEntryProductSingleFleet();\n      if (productSum == '1657') {\n         this.total += 60;\n      } else {\n         this.total += 50;\n      }\n    }\n    var summary = document.getElementById("entrySummary");\n    summary.innerHTML = "";\n    for (i = 0; i < summaryMsg.length; i++) {\n        summary.innerHTML += (summaryMsg[i] + "");\n    }\n   document.getElementById("Total").innerHTML = "€ "+ this.total; \n   document.getElementById("regattaFormTotal").style.display= "block";\n}\nfunction getAdditionalInfo(){\n       var additional = document.getElementsByName("paragraph_text");\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           camping();\n       };\n       var additionalInfo =  additional[0].value;\n       xhr.send('AdditionalInfo='+additionalInfo+'&quantity=1&add-to-cart='+2150);\n}\nfunction camping() {\n   var sunday = document.getElementsByName("camp");\n   if (sunday[0].value != "") {\n     printStatus("Adding Camping");\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       printStatus("Adding camping");\n       goToCart();\n     };\n     xhr.send('quantity=1&add-to-cart=7646');\n  } else {\n       goToCart();\n  }\n}\nfunction printStatus(newMsg){\n    this.statusA.push(newMsg)\n    var status= document.getElementById("status");\n    status.innerHTML="";\n    for (i = 0; i < this.statusA.length; i++) {\n        status.innerHTML += (this.statusA[i] + "");\n    }\n}\n\n\n\n\n\n1Documents to read before arriving\n420 Ulster Championships & Fireball Open Championship Notice Of Race\n420 Ulster Championships & Fireball Open Championship Notice Of Race Amendment 1\n420 Ulster Championships & Fireball Open Championship Sailing Instructions\n\n\n\n2Boat to Enter\nClass\n\n\nClass\n420\nFireball\n\n\nHelm\n\n\nHelm Club\n\n\nHelm Date Of Birth (If under 18)\nDay12345678910111213141516171819202122232425262728293031\nMonth123456789101112\nYear20162015201420132012201120102009200820072006\nCrew\nCrew Club\nCrew Date Of Birth (If under 18)\nDay12345678910111213141516171819202122232425262728293031\nMonth123456789101112\nYear2015201420132012201120102009200820072006\nBoat No\n\nSail No (If different to boat number)\n\nBoat Name (If applicable)\n\nEmergency Contact Name \n\nEmergency Contact Phone Number\n\nBY SUBMITTING THIS APPLICATION I CONFIRM THAT:-\n  I agree to be bound by The Racing Rules Of Sailing and by all other rules which govern this event.\n  I agree to waive any claim against Lough Ree Yacht Club\, its members and\n servants\, for any loss or damage to my property or my child’s property or for any personal\n injury to me or my child which may arise at any time during the event.\n\n  I confirm the boat to be entered is insured with adequate and valid third-party with a minimum cover of 3 million Euro (or equivalent) per incident in respect of damage to property\, bodily injury or death. \n\n\n\n\nPlease tick the box to confirm you agree with the above conditions\n\n\n3Book Meal\n\n\n\n\nNumber of Adult Meals (€22 each)\n1\n2\n3\n4\n5\n6\n7\n8\n\n \n\n\n\nNumber of Teen Meals (€16 each)\n1\n2\n3\n4\n5\n6\n7\n8\n\n \n\n\n\nIf you have any dietary requirements\, please enter here and we will endeavour\, to fulfill the request if practical/possible. \n \n\n\n\n\n\n3Camping €20\nDo you wish to add camping?\n\n\nAdd camping?\nYes add camping\n\n \n\n\n5 Summary\nPlease check that all items needed have been selected correctly. For more information contact sailing@lryc.ie\n\n\n\n \n\n\n\n
URL:https://www.lryc.ie/event/420-ulster-championship-fireball-open-championship/
ATTACH;FMTTYPE=image/jpeg:https://www.lryc.ie/wp-content/uploads/2025/03/420Fire.jpg
END:VEVENT
END:VCALENDAR