//
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([['Country Drive Music Fest: Bailey Zimmerman, Hudson Westbrook & Koe Wetzel - 3 Day Pass','Country Drive Golf Course','Ashland, NE','Thursday','6/25/2026','TBD','7603353','Country-Drive-Music-Fest--Bailey-Zimmerman--Hudson-Westbrook---Koe-Wetzel---3-Day-Pass-6-25-2026'],['2026 Formula 1: Austrian Grand Prix - 3 Day Pass','Red Bull Ring','Lind, Austria','Friday','6/26/2026','TBD','7205083','2026-Formula-1--Austrian-Grand-Prix---3-Day-Pass-6-26-2026'],['Cotton Fest: Flatland Cavalry, 49 Winchester, William Clark Green & Josh Abbott Band - 2 Day Pass','Cooks Garage','Lubbock, TX','Friday','6/26/2026','TBD','7633745','Cotton-Fest--Flatland-Cavalry--49-Winchester--William-Clark-Green---Josh-Abbott-Band----2-Day-Pass-6-26-2026'],['IMSA WeatherTech SportsCar Championship','Watkins Glen International Speedway','Watkins Glen, NY','Saturday','6/27/2026','TBD','7320428','IMSA-WeatherTech-SportsCar-Championship-6-27-2026'],['Volunteer Valley Comic Con','Morristown Landing','Morristown, TN','Saturday','6/27/2026','TBD','7584104','Volunteer-Valley-Comic-Con-6-27-2026'],['DCI: Drum Corps International','Shelton High School','Shelton, CT','Saturday','6/27/2026','TBD','7577923','DCI--Drum-Corps-International-6-27-2026'],['Major League Pickleball New York - Saturday','Randall's Island Park','New York, NY','Saturday','6/27/2026','TBD','7643343','Major-League-Pickleball-New-York---Saturday-6-27-2026'],['PPA Challenger Series - Portland','The Picklr','Westbrook, ME','Saturday','6/27/2026','TBD','7643599','PPA-Challenger-Series---Portland-6-27-2026'],['Charlotte Bluegrass Festival - Saturday','Eaton County Fairgrounds','Charlotte, MI','Saturday','6/27/2026','TBD','7983658','Charlotte-Bluegrass-Festival---Saturday-6-27-2026'],['Western Fest PRCA Stampede','Lee Mar Ranch','Granite Falls, MN','Saturday','6/27/2026','TBD','7828729','Western-Fest-PRCA-Stampede-6-27-2026']],'','https://www.ticketnetwork.com');