// 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-01A 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([['New York City FC vs. Minnesota United FC','Yankee Stadium','Bronx, NY','Sunday','4/6/2025','3:00 PM','6891650','New-York-City-FC-vs--Minnesota-United-FC-4-6-2025'],['New York City FC vs. CF Montreal','Yankee Stadium','Bronx, NY','Saturday','5/10/2025','7:30 PM','6891666','New-York-City-FC-vs--CF-Montreal-5-10-2025'],['New York City FC vs. Chicago Fire FC','Yankee Stadium','Bronx, NY','Sunday','5/25/2025','3:00 PM','6891672','New-York-City-FC-vs--Chicago-Fire-FC-5-25-2025'],['New York City FC vs. Houston Dynamo FC','Yankee Stadium','Bronx, NY','Wednesday','5/28/2025','7:30 PM','6891685','New-York-City-FC-vs--Houston-Dynamo-FC-5-28-2025'],['New York City FC vs. Atlanta United FC','Yankee Stadium','Bronx, NY','Thursday','6/12/2025','7:30 PM','6891688','New-York-City-FC-vs--Atlanta-United-FC-6-12-2025'],['New York City FC vs. Toronto FC','Yankee Stadium','Bronx, NY','Thursday','7/3/2025','7:30 PM','6891689','New-York-City-FC-vs--Toronto-FC-7-3-2025'],['Leagues Cup: Deportivo Toluca FC vs. New York City FC','Yankee Stadium','Bronx, NY','Tuesday','8/5/2025','TBD','6985581','Leagues-Cup--Deportivo-Toluca-FC-vs--New-York-City-FC-8-5-2025'],['New York City FC vs. Nashville SC','Yankee Stadium','Bronx, NY','Sunday','8/17/2025','5:00 PM','6891694','New-York-City-FC-vs--Nashville-SC-8-17-2025'],['New York City FC vs. D.C. United','Yankee Stadium','Bronx, NY','Saturday','8/30/2025','7:30 PM','6891697','New-York-City-FC-vs--D-C--United-8-30-2025'],['New York City FC vs. Charlotte FC','Yankee Stadium','Bronx, NY','Friday','9/19/2025','7:30 PM','6891716','New-York-City-FC-vs--Charlotte-FC-9-19-2025']],'new york city fc, yankee stadium','http://www.ticketnetwork.com/en/search/?text=new%20york%20city%20fc,%20yankee%20stadium');