// 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','Thursday','9/18/2025','2:30 PM','6685990','Witness-For-The-Prosecution-9-18-2025'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Thursday','9/18/2025','7:30 PM','6685991','Witness-For-The-Prosecution-9-18-2025'],['Back To The Future - Theatrical Production','Procter & Gamble Hall at Aronoff Center','Cincinnati, OH','Thursday','9/18/2025','7:30 PM','6963266','Back-To-The-Future---Theatrical-Production-9-18-2025'],['Edmonton Symphony Orchestra: From Paganini to John Williams','Francis Winspear Centre','Edmonton, Canada','Thursday','9/18/2025','7:30 PM','7318653','Edmonton-Symphony-Orchestra--From-Paganini-to-John-Williams-9-18-2025'],['& Juliet','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Thursday','9/18/2025','7:30 PM','6357070','--Juliet-9-18-2025'],['Inhaler - Band','Charleston Music Hall','Charleston, SC','Thursday','9/18/2025','8:00 PM','7111291','Inhaler---Band-9-18-2025'],['Madison Symphony Orchestra: Pure Joy Opening Night','Overture Hall At Overture Center for the Arts','Madison, WI','Friday','9/19/2025','6:00 PM','7378799','Madison-Symphony-Orchestra--Pure-Joy-Opening-Night-9-19-2025'],['Sarah Millican','Meridian Hall','Toronto, Canada','Friday','9/19/2025','7:00 PM','6739138','Sarah-Millican-9-19-2025'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Friday','9/19/2025','7:30 PM','6685992','Witness-For-The-Prosecution-9-19-2025'],['Rodney Atkins','Newlin Hall at Norton Center For The Arts','Danville, KY','Friday','9/19/2025','7:30 PM','7314332','Rodney-Atkins-9-19-2025']],'"All For The Hall"','https://www.ticketnetwork.com');