// 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 t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, 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 newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-01A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Monday','12/1/2025','8:00 PM','7466319','Perfect-Crime-12-1-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Tuesday','12/2/2025','8:00 PM','7466320','Perfect-Crime-12-2-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Thursday','12/4/2025','8:00 PM','7466321','Perfect-Crime-12-4-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Friday','12/5/2025','8:00 PM','7466322','Perfect-Crime-12-5-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/6/2025','2:00 PM','7466351','Perfect-Crime-12-6-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/6/2025','8:00 PM','7466323','Perfect-Crime-12-6-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/7/2025','3:00 PM','7466364','Perfect-Crime-12-7-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/7/2025','7:30 PM','7466377','Perfect-Crime-12-7-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Monday','12/8/2025','8:00 PM','7466324','Perfect-Crime-12-8-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Tuesday','12/9/2025','8:00 PM','7466325','Perfect-Crime-12-9-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Thursday','12/11/2025','8:00 PM','7466326','Perfect-Crime-12-11-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Friday','12/12/2025','8:00 PM','7466327','Perfect-Crime-12-12-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/13/2025','2:00 PM','7466352','Perfect-Crime-12-13-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/13/2025','8:00 PM','7466328','Perfect-Crime-12-13-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/14/2025','3:00 PM','7466365','Perfect-Crime-12-14-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/14/2025','7:30 PM','7466378','Perfect-Crime-12-14-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Monday','12/15/2025','8:00 PM','7466329','Perfect-Crime-12-15-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Tuesday','12/16/2025','8:00 PM','7466330','Perfect-Crime-12-16-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Thursday','12/18/2025','8:00 PM','7466331','Perfect-Crime-12-18-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Friday','12/19/2025','8:00 PM','7466332','Perfect-Crime-12-19-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/20/2025','2:00 PM','7466353','Perfect-Crime-12-20-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/20/2025','8:00 PM','7466333','Perfect-Crime-12-20-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/21/2025','3:00 PM','7466366','Perfect-Crime-12-21-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/21/2025','7:30 PM','7466379','Perfect-Crime-12-21-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Monday','12/22/2025','8:00 PM','7466334','Perfect-Crime-12-22-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Tuesday','12/23/2025','8:00 PM','7466335','Perfect-Crime-12-23-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Wednesday','12/24/2025','8:00 PM','7466381','Perfect-Crime-12-24-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Friday','12/26/2025','8:00 PM','7466337','Perfect-Crime-12-26-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/27/2025','2:00 PM','7466354','Perfect-Crime-12-27-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Saturday','12/27/2025','8:00 PM','7466338','Perfect-Crime-12-27-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/28/2025','3:00 PM','7466367','Perfect-Crime-12-28-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Sunday','12/28/2025','7:30 PM','7466380','Perfect-Crime-12-28-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Monday','12/29/2025','8:00 PM','7466339','Perfect-Crime-12-29-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Tuesday','12/30/2025','8:00 PM','7466340','Perfect-Crime-12-30-2025'],['Perfect Crime','Anne L. Bernstein Theater at The Theater Center','New York, NY','Thursday','1/1/2026','8:00 PM','7466341','Perfect-Crime-1-1-2026']],'perfect crime','https://www.ticketnetwork.com');