//
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([['Cowboys Music Festival: Tucker Wetmore, Charles Wesley Godwin & Avery Anna','Cowboys Park','Calgary, Canada','Thursday','7/2/2026','5:00 PM','7630414','Cowboys-Music-Festival--Tucker-Wetmore--Charles-Wesley-Godwin---Avery-Anna-7-2-2026'],['Charles Wesley Godwin','UP District at Festival Field','Fargo, ND','Saturday','7/11/2026','6:30 PM','7826459','Charles-Wesley-Godwin-7-11-2026'],['Charles Wesley Godwin','The District - Sioux Falls','Sioux Falls, SD','Tuesday','7/14/2026','7:00 PM','7784506','Charles-Wesley-Godwin-7-14-2026'],['Charles Wesley Godwin','Old Saloon','Emigrant, MT','Friday','7/17/2026','6:00 PM','7735507','Charles-Wesley-Godwin-7-17-2026'],['Charles Wesley Godwin & Coleman Jennings','Majestic Valley Arena','Kalispell, MT','Saturday','7/18/2026','8:00 PM','7797050','Charles-Wesley-Godwin---Coleman-Jennings-7-18-2026'],['Charles Wesley Godwin','Teton County Fairgrounds - WY','Jackson, WY','Wednesday','7/22/2026','7:00 PM','7908453','Charles-Wesley-Godwin-7-22-2026'],['Dylan Gossett & Charles Wesley Godwin','Cooks Garage','Lubbock, TX','Friday','8/28/2026','7:00 PM','7938799','Dylan-Gossett---Charles-Wesley-Godwin-8-28-2026'],['Dylan Gossett & Charles Wesley Godwin','WhiteWater Amphitheater','New Braunfels, TX','Saturday','8/29/2026','7:30 PM','7941063','Dylan-Gossett---Charles-Wesley-Godwin-8-29-2026'],['Dylan Gossett & Charles Wesley Godwin','The Pinnacle At Nashville Yards','Nashville, TN','Saturday','9/26/2026','8:00 PM','7942285','Dylan-Gossett---Charles-Wesley-Godwin-9-26-2026'],['Dylan Gossett & Charles Wesley Godwin','The Rooftop at Pier 17','New York, NY','Tuesday','9/29/2026','6:30 PM','7939400','Dylan-Gossett---Charles-Wesley-Godwin-9-29-2026']],'"Charles Wesley Godwin"','https://www.ticketnetwork.com');