// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var dateArray = row[4].split('/'); var date = months[dateArray[0]] + " " + dateArray[1]; var parking = row[0].split(':')[0] if (parking !== "PARKING") { return "
" + row[3].substring(0,3) + "
" + date + "" + row[5] + "
" + row[0] + "" + row[1] + ", " + row[2] + "
"; } }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newResults = []; for(var cntr = 0; cntr < eventData.length; cntr++) newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '
' + newResults.join('') + '
'; } else document.write('
' + newResults.join('') + '
'); if(eventData.length >= 101 && kwds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kwds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kwds + " on TicketNetwork.com
"); } } } }; }(); //BPW-TNSERV-04A TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css'); TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css'); TN_Widget.CreateTable([['2025 Ryder Cup - Weekly Pass','Bethpage Black','Farmingdale, NY','Tuesday','9/23/2025','TBD','5970191','2025-Ryder-Cup---Weekly-Pass-9-23-2025'],['2025 Ryder Cup - Tuesday','Bethpage Black','Farmingdale, NY','Tuesday','9/23/2025','8:00 AM','5970192','2025-Ryder-Cup---Tuesday-9-23-2025'],['2025 Ryder Cup - Wednesday','Bethpage Black','Farmingdale, NY','Wednesday','9/24/2025','8:00 AM','5970193','2025-Ryder-Cup---Wednesday-9-24-2025'],['2025 Ryder Cup - Thursday','Bethpage Black','Farmingdale, NY','Thursday','9/25/2025','8:00 AM','5970195','2025-Ryder-Cup---Thursday-9-25-2025'],['2025 Ryder Cup - Friday','Bethpage Black','Farmingdale, NY','Friday','9/26/2025','8:00 AM','5970197','2025-Ryder-Cup---Friday-9-26-2025'],['2025 Ryder Cup - Saturday','Bethpage Black','Farmingdale, NY','Saturday','9/27/2025','8:00 AM','5970198','2025-Ryder-Cup---Saturday-9-27-2025'],['2025 Ryder Cup - Sunday','Bethpage Black','Farmingdale, NY','Sunday','9/28/2025','8:00 AM','5970199','2025-Ryder-Cup---Sunday-9-28-2025']],'ryder cup','http://www.ticketnetwork.com/en/search/?text=ryder%20cup');