//
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-02A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Hurricane Diane','Harold Miossi Hall at Christopher Cohan Performing Arts Center','San Luis Obispo, CA','Thursday','5/7/2026','8:00 PM','7812064','Hurricane-Diane-5-7-2026'],['Pacific Symphony: Mozart, Say & Tchaikovsky','Segerstrom Center For The Arts - Renee and Henry Segerstrom Concert Hall','Costa Mesa, CA','Thursday','5/7/2026','8:00 PM','7114301','Pacific-Symphony--Mozart--Say---Tchaikovsky-5-7-2026'],['North Carolina Symphony: Carlos Miguel Prieto - Appalachian Spring','Meymandi Concert Hall At Martin Marietta Center for the Performing Arts','Raleigh, NC','Friday','5/8/2026','12:00 PM','7338018','North-Carolina-Symphony--Carlos-Miguel-Prieto---Appalachian-Spring-5-8-2026'],['The Book Of Mormon','Whitney Hall at The Kentucky Center','Louisville, KY','Friday','5/8/2026','7:00 PM','7010171','The-Book-Of-Mormon-5-8-2026'],['Charlie Berens','Overture Hall At Overture Center for the Arts','Madison, WI','Friday','5/8/2026','7:00 PM','7414873','Charlie-Berens-5-8-2026'],['Legally Blonde Jr. - The Musical','White Hall At Vashon Center For The Arts','Vashon, WA','Friday','5/8/2026','7:00 PM','7636144','Legally-Blonde-Jr----The-Musical-5-8-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Friday','5/8/2026','7:30 PM','7388453','Witness-For-The-Prosecution-5-8-2026'],['The Charleston Ballet: Swan Lake','Clay Center','Charleston, WV','Friday','5/8/2026','7:30 PM','7531055','The-Charleston-Ballet--Swan-Lake-5-8-2026'],['Virginia Symphony Orchestra: Thomas Wilkins - Elgars Enigma Variations & Barber's Violin Concerto','Diamonstein Concert Hall - CNU Ferguson Center for the Arts','Newport News, VA','Friday','5/8/2026','7:30 PM','7436595','Virginia-Symphony-Orchestra--Thomas-Wilkins---Elgars-Enigma-Variations---Barber-s-Violin-Concerto-5-8-2026'],['& Juliet','Mortensen Hall at Bushnell Theatre','Hartford, CT','Friday','5/8/2026','7:30 PM','7111726','--Juliet-5-8-2026']],'"All For The Hall"','https://www.ticketnetwork.com');