//
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([['Father John Misty','The Signal - TN','Chattanooga, TN','Wednesday','2/12/2025','8:00 PM','6764380','Father-John-Misty-2-12-2025'],['Father John Misty','The Eastern - GA','Atlanta, GA','Thursday','2/13/2025','8:00 PM','6766497','Father-John-Misty-2-13-2025'],['Father John Misty','Ryman Auditorium','Nashville, TN','Friday','2/14/2025','8:00 PM','6764572','Father-John-Misty-2-14-2025'],['Father John Misty','Old Forester's Paristown Hall','Louisville, KY','Saturday','2/15/2025','8:00 PM','6764639','Father-John-Misty-2-15-2025'],['Father John Misty','KEMBA Live!','Columbus, OH','Monday','2/17/2025','8:00 PM','6766496','Father-John-Misty-2-17-2025'],['Father John Misty','The Fillmore - Detroit','Detroit, MI','Tuesday','2/18/2025','8:00 PM','6764638','Father-John-Misty-2-18-2025'],['Father John Misty','Stage AE','Pittsburgh, PA','Wednesday','2/19/2025','8:00 PM','6766498','Father-John-Misty-2-19-2025'],['Father John Misty','MGM Music Hall at Fenway Park','Boston, MA','Saturday','2/22/2025','8:00 PM','6764381','Father-John-Misty-2-22-2025'],['Father John Misty','Ulster Performing Arts Center','Kingston, NY','Sunday','2/23/2025','8:00 PM','6766574','Father-John-Misty-2-23-2025'],['Father John Misty','Kings Theatre - NY','Brooklyn, NY','Tuesday','2/25/2025','8:00 PM','6766499','Father-John-Misty-2-25-2025'],['Father John Misty','Beacon Theatre - NY','New York, NY','Wednesday','2/26/2025','8:00 PM','6790503','Father-John-Misty-2-26-2025'],['Father John Misty','The Fillmore - Philadelphia','Philadelphia, PA','Friday','2/28/2025','8:00 PM','6764378','Father-John-Misty-2-28-2025'],['Father John Misty','The Anthem - D.C.','Washington, DC','Saturday','3/1/2025','8:00 PM','6764379','Father-John-Misty-3-1-2025']],'','https://www.ticketnetwork.com');