//
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([['Zeppelin Nation & ACDUCEC','Polk Theatre','Lakeland, FL','Friday','5/9/2025','7:00 PM','7075281','Zeppelin-Nation---ACDUCEC-5-9-2025'],['Hair Nation - 80s Rock Hits','Beach Rock Music & Sports Lounge','Suquamish, WA','Friday','5/9/2025','8:30 PM','7042779','Hair-Nation---80s-Rock-Hits-5-9-2025'],['The Halluci Nation (A Tribe Called Red)','The Get Down At The Melody Event Center','Portland, OR','Friday','5/9/2025','9:00 PM','7051004','The-Halluci-Nation--A-Tribe-Called-Red--5-9-2025'],['Wilco & Waxahatchee','Synovus Bank Amphitheater at Chastain Park','Atlanta, GA','Saturday','5/10/2025','7:30 PM','6931445','Wilco---Waxahatchee-5-10-2025'],['Billy Idol & Joan Jett and The Blackhearts','MidFlorida Credit Union Amphitheatre At The Florida State Fairgrounds','Tampa, FL','Saturday','5/10/2025','7:30 PM','6944278','Billy-Idol---Joan-Jett-and-The-Blackhearts-5-10-2025'],['The Halluci Nation (A Tribe Called Red)','Wild Buffalo - Bellingham','Bellingham, WA','Saturday','5/10/2025','9:00 PM','7070831','The-Halluci-Nation--A-Tribe-Called-Red--5-10-2025'],['Breaking Benjamin & Staind','MidFlorida Credit Union Amphitheatre At The Florida State Fairgrounds','Tampa, FL','Tuesday','5/13/2025','5:30 PM','6408988','Breaking-Benjamin---Staind-5-13-2025'],['Pierce The Veil, Sleeping with Sirens & Daisy Grenade','MidFlorida Credit Union Amphitheatre At The Florida State Fairgrounds','Tampa, FL','Thursday','5/15/2025','7:00 PM','6861095','Pierce-The-Veil--Sleeping-with-Sirens---Daisy-Grenade-5-15-2025'],['Carden Super Spectacular Circus','Oshkosh Arena','Oshkosh, WI','Thursday','5/15/2025','7:00 PM','7065592','Carden-Super-Spectacular-Circus-5-15-2025'],['Cruel World Festival: New Order, Nick Cave and The Bad Seeds & The Go-Go's','Brookside At The Rose Bowl','Pasadena, CA','Saturday','5/17/2025','12:00 PM','6782350','Cruel-World-Festival--New-Order--Nick-Cave-and-The-Bad-Seeds---The-Go-Go-s-5-17-2025']],'Live Nation','https://www.ticketnetwork.com');