// 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([['Harry Potter and The Cursed Child','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Tuesday','7/21/2026','7:30 PM','7047367','Harry-Potter-and-The-Cursed-Child-7-21-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Wednesday','7/22/2026','7:30 PM','7388534','Witness-For-The-Prosecution-7-22-2026'],['Harry Connick Jr.','Heinz Hall','Pittsburgh, PA','Wednesday','7/22/2026','7:30 PM','7866463','Harry-Connick-Jr--7-22-2026'],['Harry Potter and The Cursed Child','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Wednesday','7/22/2026','7:30 PM','7047368','Harry-Potter-and-The-Cursed-Child-7-22-2026'],['Elmiene','Charleston Music Hall','Charleston, SC','Wednesday','7/22/2026','8:00 PM','7856322','Elmiene-7-22-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Thursday','7/23/2026','2:30 PM','7388535','Witness-For-The-Prosecution-7-23-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Thursday','7/23/2026','7:30 PM','7388536','Witness-For-The-Prosecution-7-23-2026'],['Vince Gill','Clay Center','Charleston, WV','Thursday','7/23/2026','7:30 PM','7675094','Vince-Gill-7-23-2026'],['Harry Potter and The Cursed Child','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Thursday','7/23/2026','7:30 PM','7047369','Harry-Potter-and-The-Cursed-Child-7-23-2026'],['Harry Potter and The Cursed Child','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Friday','7/24/2026','1:00 PM','7047372','Harry-Potter-and-The-Cursed-Child-7-24-2026']],'"All For The Hall"','https://www.ticketnetwork.com');