//
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 = "";
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([['Hamilton','Whitney Hall at The Kentucky Center','Louisville, KY','Sunday','7/12/2026','1:00 PM','7010190','Hamilton-7-12-2026'],['Harry Potter and The Cursed Child','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Sunday','7/12/2026','1:00 PM','7047358','Harry-Potter-and-The-Cursed-Child-7-12-2026'],['Romeo and Juliet: The Symphonic Experience','Concert Hall At Tilles Center for the Performing Arts','Brookville, NY','Sunday','7/12/2026','3:00 PM','7395958','Romeo-and-Juliet--The-Symphonic-Experience-7-12-2026'],['Armor For Sleep','Amityville Music Hall','Amityville, NY','Sunday','7/12/2026','6:30 PM','7881991','Armor-For-Sleep-7-12-2026'],['Clue - Live On Stage','Silva Concert Hall at Hult Center For The Performing Arts','Eugene, OR','Sunday','7/12/2026','6:30 PM','7119131','Clue---Live-On-Stage-7-12-2026'],['Hamilton','Whitney Hall at The Kentucky Center','Louisville, KY','Sunday','7/12/2026','7:00 PM','7010191','Hamilton-7-12-2026'],['Harry Potter and The Cursed Child','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Sunday','7/12/2026','7:00 PM','7047356','Harry-Potter-and-The-Cursed-Child-7-12-2026'],['Blackberry Smoke','Charleston Music Hall','Charleston, SC','Sunday','7/12/2026','8:00 PM','7756710','Blackberry-Smoke-7-12-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Tuesday','7/14/2026','7:30 PM','7388525','Witness-For-The-Prosecution-7-14-2026'],['Monty Python's Spamalot','Uihlein Hall At Marcus Center','Milwaukee, WI','Tuesday','7/14/2026','7:30 PM','7050495','Monty-Python-s-Spamalot-7-14-2026']],'"All For The Hall"','https://www.ticketnetwork.com');