//
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-01A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Kacey Musgraves & Paul Stamets','Ryman Auditorium','Nashville, TN','Sunday','6/22/2025','7:30 PM','7012009','Kacey-Musgraves---Paul-Stamets-6-22-2025'],['Zootown Festival: Hozier, Kacey Musgraves, Jason Isbell and The 400 Unit & Lake Street Dive - 2 Day Pass','Missoula County Fairgrounds','Missoula, MT','Friday','7/4/2025','TBD','6838674','Zootown-Festival--Hozier--Kacey-Musgraves--Jason-Isbell-and-The-400-Unit---Lake-Street-Dive---2-Day-Pass-7-4-2025'],['Zootown Festival: Kacey Musgraves, Mt. Joy & Modest Mouse - Saturday','Missoula County Fairgrounds','Missoula, MT','Saturday','7/5/2025','10:00 AM','6849716','Zootown-Festival--Kacey-Musgraves--Mt--Joy---Modest-Mouse---Saturday-7-5-2025'],['Hinterland Music Festival: Tyler The Creator, Kacey Musgraves, & Lana Del Rey - 3 Day Pass','Avenue of the Saints Amphitheater and Event Center','Saint Charles, IA','Friday','8/1/2025','TBD','6886806','Hinterland-Music-Festival--Tyler-The-Creator--Kacey-Musgraves----Lana-Del-Rey---3-Day-Pass-8-1-2025'],['Hinterland Music Festival: Kacey Musgraves, The Marias, & Still Woozy - Saturday (Time: TBD)','Avenue of the Saints Amphitheater and Event Center','Saint Charles, IA','Saturday','8/2/2025','1:00 PM','6951802','Hinterland-Music-Festival--Kacey-Musgraves--The-Marias----Still-Woozy---Saturday--Time--TBD--8-2-2025'],['Up In The Sky Music Festival: Rufus Du Sol, Kacey Musgraves & Glass Animals - 2 Day Pass','Base of Buttermilk Mountain','Aspen, CO','Friday','8/8/2025','TBD','7009484','Up-In-The-Sky-Music-Festival--Rufus-Du-Sol--Kacey-Musgraves---Glass-Animals---2-Day-Pass-8-8-2025'],['Up In The Sky Music Festival: Kacey Musgraves, Glass Animals & Role Model - Saturday','Base of Buttermilk Mountain','Aspen, CO','Saturday','8/9/2025','2:30 PM','7009488','Up-In-The-Sky-Music-Festival--Kacey-Musgraves--Glass-Animals---Role-Model---Saturday-8-9-2025']],'Kacey Musgraves','https://www.ticketnetwork.com');