// 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 Ballet: Fall Fashion Gala','David H. Koch Theater','New York, NY','Thursday','10/1/2026','7:00 PM','7947388','New-York-City-Ballet--Fall-Fashion-Gala-10-1-2026'],['New York City Ballet: Contemporary Choreography','David H. Koch Theater','New York, NY','Friday','10/2/2026','7:30 PM','7947389','New-York-City-Ballet--Contemporary-Choreography-10-2-2026'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Saturday','10/3/2026','2:00 PM','7947383','New-York-City-Ballet--Masters-at-Work-10-3-2026'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Saturday','10/3/2026','7:30 PM','7947380','New-York-City-Ballet--Masters-at-Work-10-3-2026'],['New York City Ballet: Contemporary Choreography','David H. Koch Theater','New York, NY','Sunday','10/4/2026','3:00 PM','7947390','New-York-City-Ballet--Contemporary-Choreography-10-4-2026'],['New York City Ballet: Contemporary Choreography','David H. Koch Theater','New York, NY','Tuesday','10/6/2026','7:30 PM','7947391','New-York-City-Ballet--Contemporary-Choreography-10-6-2026'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Wednesday','10/7/2026','7:30 PM','7947396','New-York-City-Ballet--Eclectic-10-7-2026'],['Australian Ballet: Oscar','MainStage At New York City Center','New York, NY','Thursday','10/8/2026','7:30 PM','8006331','Australian-Ballet--Oscar-10-8-2026'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Thursday','10/8/2026','7:30 PM','7947404','New-York-City-Ballet--All-Balanchine-10-8-2026'],['Australian Ballet: Oscar','MainStage At New York City Center','New York, NY','Friday','10/9/2026','7:30 PM','8006332','Australian-Ballet--Oscar-10-9-2026'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Friday','10/9/2026','7:30 PM','7947381','New-York-City-Ballet--Masters-at-Work-10-9-2026'],['Australian Ballet: Oscar','MainStage At New York City Center','New York, NY','Saturday','10/10/2026','2:00 PM','8006333','Australian-Ballet--Oscar-10-10-2026'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Saturday','10/10/2026','2:00 PM','7947398','New-York-City-Ballet--Eclectic-10-10-2026'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Saturday','10/10/2026','7:30 PM','7947382','New-York-City-Ballet--Masters-at-Work-10-10-2026'],['Australian Ballet: Oscar','MainStage At New York City Center','New York, NY','Saturday','10/10/2026','7:30 PM','8006334','Australian-Ballet--Oscar-10-10-2026'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Sunday','10/11/2026','3:00 PM','7947399','New-York-City-Ballet--Eclectic-10-11-2026'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Tuesday','10/13/2026','7:30 PM','7947405','New-York-City-Ballet--All-Balanchine-10-13-2026'],['New York City Ballet: Contemporary Choreography','David H. Koch Theater','New York, NY','Wednesday','10/14/2026','7:30 PM','7947392','New-York-City-Ballet--Contemporary-Choreography-10-14-2026'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Thursday','10/15/2026','7:30 PM','7947401','New-York-City-Ballet--Eclectic-10-15-2026'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Friday','10/16/2026','7:30 PM','7947402','New-York-City-Ballet--Eclectic-10-16-2026'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Saturday','10/17/2026','2:00 PM','7947407','New-York-City-Ballet--All-Balanchine-10-17-2026'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Saturday','10/17/2026','7:30 PM','7947406','New-York-City-Ballet--All-Balanchine-10-17-2026']],'october new york city ballet','http://www.ticketnetwork.com/en/search/?text=october%20new%20york%20city%20ballet');