//
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([['Windy City Smokeout Festival: Bailey Zimmerman, Old Dominion, Kane Brown & Jon Pardi - 4 Day Pass','Windy City Smokeout','Chicago, IL','Thursday','7/10/2025','TBD','6698339','Windy-City-Smokeout-Festival--Bailey-Zimmerman--Old-Dominion--Kane-Brown---Jon-Pardi---4-Day-Pass-7-10-2025'],['Country Thunder Winnipeg: Riley Green, Tyler Hubbard & Nate Smith','Princess Auto Stadium','Winnipeg, Canada','Thursday','7/10/2025','5:00 PM','6970573','Country-Thunder-Winnipeg--Riley-Green--Tyler-Hubbard---Nate-Smith-7-10-2025'],['Windy City Smokeout Festival: Jon Pardi & Riley Green - Sunday','Windy City Smokeout','Chicago, IL','Sunday','7/13/2025','1:00 PM','6698344','Windy-City-Smokeout-Festival--Jon-Pardi---Riley-Green---Sunday-7-13-2025'],['Riley Green','Fraze Pavilion','Kettering, OH','Friday','7/18/2025','8:00 PM','6938193','Riley-Green-7-18-2025'],['Riley Green','Delaware State Fairgrounds','Harrington, DE','Saturday','7/19/2025','7:30 PM','7016457','Riley-Green-7-19-2025'],['Riley Green','The York Fairgrounds - PA','York, PA','Sunday','7/20/2025','8:00 PM','7039437','Riley-Green-7-20-2025'],['Riley Green, Ella Langley, Vincent Mason & Wyatt McCubbin','The Rooftop at Pier 17','New York, NY','Thursday','7/24/2025','6:00 PM','6728373','Riley-Green--Ella-Langley--Vincent-Mason---Wyatt-McCubbin-7-24-2025'],['Riley Green & Vincent Mason','MGM Music Hall at Fenway Park','Boston, MA','Friday','7/25/2025','7:00 PM','6728330','Riley-Green---Vincent-Mason-7-25-2025'],['Riley Green & Vincent Mason','Bank of New Hampshire Pavilion','Gilford, NH','Saturday','7/26/2025','7:00 PM','6728360','Riley-Green---Vincent-Mason-7-26-2025'],['Riley Green','Bethlehem Musikfest - Wind Creek Steel Stage','Bethlehem, PA','Friday','8/1/2025','7:00 PM','6818652','Riley-Green-8-1-2025']],'Riley Green','https://www.ticketnetwork.com');