// 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([['John Proctor is the Villain','Booth Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','7191610','John-Proctor-is-the-Villain-7-8-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','7191882','Purpose---Play-7-8-2025'],['Wicked','Gershwin Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','6866586','Wicked-7-8-2025'],['Hell's Kitchen - The Musical','Shubert Theatre - NY','New York, NY','Tuesday','7/8/2025','7:00 PM','6865925','Hell-s-Kitchen---The-Musical-7-8-2025'],['Death Becomes Her','Lunt-fontanne Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','6865577','Death-Becomes-Her-7-8-2025'],['Harry Potter and The Cursed Child','Lyric Theatre - New York','New York, NY','Tuesday','7/8/2025','7:00 PM','6879859','Harry-Potter-and-The-Cursed-Child-7-8-2025'],['Maybe Happy Ending - A New Musical','Belasco Theatre - NY','New York, NY','Tuesday','7/8/2025','7:00 PM','6886236','Maybe-Happy-Ending---A-New-Musical-7-8-2025'],['BOOP! The Betty Boop Musical','Broadhurst Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','6810895','BOOP--The-Betty-Boop-Musical-7-8-2025'],['Just in Time','Circle In The Square Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','6811538','Just-in-Time-7-8-2025'],['Hamilton','Richard Rodgers Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','6952544','Hamilton-7-8-2025'],['MJ - The Musical','Neil Simon Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','6900482','MJ---The-Musical-7-8-2025'],['Little Shop Of Horrors','Westside Theatre Upstairs','New York, NY','Tuesday','7/8/2025','7:00 PM','6230721','Little-Shop-Of-Horrors-7-8-2025'],['Buena Vista Social Club - Musical','Gerald Schoenfeld Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','6725503','Buena-Vista-Social-Club---Musical-7-8-2025'],['Stranger Things: The First Shadow','Marquis Theatre - NY','New York, NY','Tuesday','7/8/2025','7:00 PM','6706599','Stranger-Things--The-First-Shadow-7-8-2025'],['Operation Mincemeat','John Golden Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','7036000','Operation-Mincemeat-7-8-2025'],['Call Me Izzy','Studio 54 - NY','New York, NY','Tuesday','7/8/2025','7:00 PM','7051330','Call-Me-Izzy-7-8-2025'],['The Book Of Mormon','Eugene O'Neill Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','7047900','The-Book-Of-Mormon-7-8-2025'],['Duke & Roya','Lucille Lortel','New York, NY','Tuesday','7/8/2025','7:00 PM','7059180','Duke---Roya-7-8-2025'],['The Pirates Of Penzance','Todd Haimes Theatre','New York, NY','Tuesday','7/8/2025','7:00 PM','7068952','The-Pirates-Of-Penzance-7-8-2025'],['Chicago - The Musical','Ambassador Theatre - NY','New York, NY','Tuesday','7/8/2025','7:00 PM','6992000','Chicago---The-Musical-7-8-2025']],'Broadway Shows','http://www.ticketnetwork.com/en/search/?text=Broadway%20Shows');