// 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([['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Thursday','11/21/2024','7:00 PM','6734820','Circus-Vazquez-11-21-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Friday','11/22/2024','7:00 PM','6734821','Circus-Vazquez-11-22-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Saturday','11/23/2024','1:00 PM','6734839','Circus-Vazquez-11-23-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Saturday','11/23/2024','4:00 PM','6734849','Circus-Vazquez-11-23-2024'],['MLS Cup Conference Semifinals: New York City FC vs. New York Red Bulls','Citi Field','Flushing, NY','Saturday','11/23/2024','5:30 PM','6690015','MLS-Cup-Conference-Semifinals--New-York-City-FC-vs--New-York-Red-Bulls-11-23-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Saturday','11/23/2024','7:00 PM','6734859','Circus-Vazquez-11-23-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Sunday','11/24/2024','1:00 PM','6734840','Circus-Vazquez-11-24-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Sunday','11/24/2024','4:00 PM','6734850','Circus-Vazquez-11-24-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Sunday','11/24/2024','7:00 PM','6734860','Circus-Vazquez-11-24-2024'],['Circus Vazquez','Circus Vazquez - Citi Field','Flushing, NY','Monday','11/25/2024','7:00 PM','6734822','Circus-Vazquez-11-25-2024']],'Citi Field Flushing','http://www.ticketnetwork.com/en/search/?text=Citi%20Field%20Flushing');