// 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([['The Very Hungry Caterpillar','Dr2 Theatre','New York, NY','Wednesday','11/11/2026','10:00 AM','8313186','The-Very-Hungry-Caterpillar-11-11-2026'],['The Gazillion Bubble Show','New World Stages: Stage 2','New York, NY','Wednesday','11/11/2026','11:00 AM','8225649','The-Gazillion-Bubble-Show-11-11-2026'],['The Very Hungry Caterpillar','Dr2 Theatre','New York, NY','Wednesday','11/11/2026','12:00 PM','8313187','The-Very-Hungry-Caterpillar-11-11-2026'],['Hamilton','Richard Rodgers Theatre','New York, NY','Wednesday','11/11/2026','1:00 PM','7840706','Hamilton-11-11-2026'],['MJ - The Musical','Neil Simon Theatre','New York, NY','Wednesday','11/11/2026','1:00 PM','7690044','MJ---The-Musical-11-11-2026'],['Other Desert Cities','Millennium Hudson Theatre','New York, NY','Wednesday','11/11/2026','1:00 PM','8048270','Other-Desert-Cities-11-11-2026'],['Maybe Happy Ending - A New Musical','Belasco Theatre - NY','New York, NY','Wednesday','11/11/2026','2:00 PM','7766850','Maybe-Happy-Ending---A-New-Musical-11-11-2026'],['Two Strangers (Carry A Cake Across New York)','Longacre Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','7766966','Two-Strangers--Carry-A-Cake-Across-New-York--11-11-2026'],['The Lost Boys','Palace Theatre New York City','New York, NY','Wednesday','11/11/2026','2:00 PM','7484008','The-Lost-Boys-11-11-2026'],['Buena Vista Social Club - Musical','Gerald Schoenfeld Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','7919762','Buena-Vista-Social-Club---Musical-11-11-2026'],['Hadestown','Walter Kerr Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','7894682','Hadestown-11-11-2026'],['Operation Mincemeat','John Golden Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','7840853','Operation-Mincemeat-11-11-2026'],['The Outsiders','Bernard B. Jacobs Theater','New York, NY','Wednesday','11/11/2026','2:00 PM','7841004','The-Outsiders-11-11-2026'],['Schmigadoon!','Nederlander Theatre - NY','New York, NY','Wednesday','11/11/2026','2:00 PM','7945337','Schmigadoon--11-11-2026'],['Much Ado About Nothing','Winter Garden Theatre - New York','New York, NY','Wednesday','11/11/2026','2:00 PM','7965728','Much-Ado-About-Nothing-11-11-2026'],['The Imaginary Invalid','Todd Haimes Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','8168200','The-Imaginary-Invalid-11-11-2026'],['The Fantasticks','Helen Hayes Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','8121167','The-Fantasticks-11-11-2026'],['A Few Good Men','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','11/11/2026','2:00 PM','8121945','A-Few-Good-Men-11-11-2026'],['Billy Crystal: 860','Imperial Theatre - NY','New York, NY','Wednesday','11/11/2026','2:00 PM','8053767','Billy-Crystal--860-11-11-2026'],['Wanted - The Musical','James Earl Jones Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','8075210','Wanted---The-Musical-11-11-2026'],['& Juliet','Stephen Sondheim Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','8034244','--Juliet-11-11-2026'],['The Play That Goes Wrong ','New World Stages: Stage 4','New York, NY','Wednesday','11/11/2026','2:00 PM','8236560','The-Play-That-Goes-Wrong--11-11-2026'],['Jamie Allan's Amaze','New World Stages: Stage 5','New York, NY','Wednesday','11/11/2026','2:00 PM','8236563','Jamie-Allan-s-Amaze-11-11-2026'],['Just in Time','Circle In The Square Theatre','New York, NY','Wednesday','11/11/2026','2:00 PM','8203786','Just-in-Time-11-11-2026'],['The Gazillion Bubble Show','New World Stages: Stage 2','New York, NY','Wednesday','11/11/2026','2:00 PM','8225650','The-Gazillion-Bubble-Show-11-11-2026']],'broadway','http://www.ticketnetwork.com/en/search/?text=broadway');