// 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-04A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Witness For The Prosecution','London County Hall','London, United Kingdom','Saturday','9/5/2026','2:30 PM','7388583','Witness-For-The-Prosecution-9-5-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Saturday','9/5/2026','7:30 PM','7388584','Witness-For-The-Prosecution-9-5-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Sunday','9/6/2026','3:00 PM','7388585','Witness-For-The-Prosecution-9-6-2026'],['Outcast Jazz Band's Big Band Dance Party','Epiphany Hall at Epiphany Center for the Arts','Chicago, IL','Sunday','9/6/2026','6:00 PM','8233866','Outcast-Jazz-Band-s-Big-Band-Dance-Party-9-6-2026'],['October London','Heinz Hall','Pittsburgh, PA','Sunday','9/6/2026','8:00 PM','8142796','October-London-9-6-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Tuesday','9/8/2026','7:30 PM','7388586','Witness-For-The-Prosecution-9-8-2026'],['Vancouver Symphony Orchestra: James Ehnes 50th Birthday Tour','Chan Shun Concert Hall at Chan Performing Arts Centre','Vancouver, Canada','Tuesday','9/8/2026','7:30 PM','7978578','Vancouver-Symphony-Orchestra--James-Ehnes-50th-Birthday-Tour-9-8-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Wednesday','9/9/2026','7:30 PM','7388587','Witness-For-The-Prosecution-9-9-2026'],['Kansas City Symphony: Matthias Pintscher - Prometheus','Helzberg Hall - Kauffman Center for the Performing Arts','Kansas City, MO','Wednesday','9/9/2026','8:00 PM','8185194','Kansas-City-Symphony--Matthias-Pintscher---Prometheus-9-9-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Thursday','9/10/2026','2:30 PM','7388588','Witness-For-The-Prosecution-9-10-2026']],'"All For The Hall"','https://www.ticketnetwork.com');