//
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-03A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Pacific Symphony: Alexander Shelley & Nobuyuki Tsujii - Rachmaninoff's Mighty Third','Segerstrom Center For The Arts - Renee and Henry Segerstrom Concert Hall','Costa Mesa, CA','Friday','11/20/2026','8:00 PM','7929062','Pacific-Symphony--Alexander-Shelley---Nobuyuki-Tsujii---Rachmaninoff-s-Mighty-Third-11-20-2026'],['The Lion King','Whitney Hall at The Kentucky Center','Louisville, KY','Saturday','11/21/2026','2:00 PM','7746105','The-Lion-King-11-21-2026'],['Jacksonville Symphony Orchestra: Home Alone in Concert','Jacoby Symphony Hall At Jacksonville Center for the Performing Arts','Jacksonville, FL','Saturday','11/21/2026','2:00 PM','8120544','Jacksonville-Symphony-Orchestra--Home-Alone-in-Concert-11-21-2026'],['4S Dance Academy: The Nutcracker','Concert Hall at California Center For The Arts Escondido','Escondido, CA','Saturday','11/21/2026','2:00 PM','8328695','4S-Dance-Academy--The-Nutcracker-11-21-2026'],['Water for Elephants - The Musical','Segerstrom Center For The Arts - Segerstrom Hall','Costa Mesa, CA','Saturday','11/21/2026','2:00 PM','7753644','Water-for-Elephants---The-Musical-11-21-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Saturday','11/21/2026','2:30 PM','8151929','Witness-For-The-Prosecution-11-21-2026'],['Diavolo: Escape','The Great Hall At Younes and Soraya Nazarian Center for the Performing Arts','Northridge, CA','Saturday','11/21/2026','3:00 PM','7969912','Diavolo--Escape-11-21-2026'],['Cat Kid Comic Club: The Musical','Silva Concert Hall at Hult Center For The Performing Arts','Eugene, OR','Saturday','11/21/2026','4:00 PM','8272369','Cat-Kid-Comic-Club--The-Musical-11-21-2026'],['Candlelight: Tribute to Coldplay & Imagine Dragons','Maryland Hall For The Creative Arts','Annapolis, MD','Saturday','11/21/2026','6:45 PM','8111391','Candlelight--Tribute-to-Coldplay---Imagine-Dragons-11-21-2026'],['Swan Lake - Symphony of Lights','Charleston Music Hall','Charleston, SC','Saturday','11/21/2026','7:00 PM','7833216','Swan-Lake---Symphony-of-Lights-11-21-2026']],'"All For The Hall"','https://www.ticketnetwork.com');