// 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 = "" + this.footerText + ""; 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([['Kacey Musgraves & Paul Stamets','Ryman Auditorium','Nashville, TN','Thursday','9/18/2025','7:30 PM','7012009','Kacey-Musgraves---Paul-Stamets-9-18-2025'],['All Things Go Music Festival: Renee Rapp, Remi Wolf, Kacey Muscgraves & Role Model - 2 Day Pass','Budweiser Stage - Toronto','Toronto, Canada','Saturday','10/4/2025','TBD','7216542','All-Things-Go-Music-Festival--Renee-Rapp--Remi-Wolf--Kacey-Muscgraves---Role-Model---2-Day-Pass-10-4-2025'],['All Things Go Music Festival: Kacey Musgraves, Role Model & Charlotte Cardin - Sunday','Budweiser Stage - Toronto','Toronto, Canada','Sunday','10/5/2025','12:30 PM','7216538','All-Things-Go-Music-Festival--Kacey-Musgraves--Role-Model---Charlotte-Cardin---Sunday-10-5-2025'],['Redwest Country Music Festival: Kacey Musgraves, Post Malone & Noah Kahan - 3 Day Pass','Utah State Fairpark','Salt Lake City, UT','Friday','10/10/2025','TBD','7214908','Redwest-Country-Music-Festival--Kacey-Musgraves--Post-Malone---Noah-Kahan---3-Day-Pass-10-10-2025'],['Redwest Country Music Festival: Kacey Musgraves, Ella Langley & Ian Munsick - Friday','Utah State Fairpark','Salt Lake City, UT','Friday','10/10/2025','11:30 AM','7214909','Redwest-Country-Music-Festival--Kacey-Musgraves--Ella-Langley---Ian-Munsick---Friday-10-10-2025']],'Kacey Musgraves','https://www.ticketnetwork.com');