//
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-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Hermanos Gutierrez','ACL Live At The Moody Theater','Austin, TX','Friday','5/9/2025','8:00 PM','6959823','Hermanos-Gutierrez-5-9-2025'],['Alton Brown: Last Bite','ACL Live At The Moody Theater','Austin, TX','Sunday','5/11/2025','7:30 PM','6752901','Alton-Brown--Last-Bite-5-11-2025'],['Nikki Glaser','ACL Live At The Moody Theater','Austin, TX','Thursday','5/15/2025','7:00 PM','6415675','Nikki-Glaser-5-15-2025'],['Nikki Glaser','ACL Live At The Moody Theater','Austin, TX','Thursday','5/15/2025','9:30 PM','6888951','Nikki-Glaser-5-15-2025'],['Ha*Ash','ACL Live At The Moody Theater','Austin, TX','Saturday','5/17/2025','8:00 PM','6530076','Ha-Ash-5-17-2025'],['Trisha Paytas','ACL Live At The Moody Theater','Austin, TX','Sunday','5/18/2025','7:30 PM','6937059','Trisha-Paytas-5-18-2025'],['2025 PBR New Rider Draft: Shane Smith and The Saints','ACL Live At The Moody Theater','Austin, TX','Tuesday','5/20/2025','7:00 PM','7118879','2025-PBR-New-Rider-Draft--Shane-Smith-and-The-Saints-5-20-2025'],['Hippo Campus & Hotline TNT','ACL Live At The Moody Theater','Austin, TX','Wednesday','5/21/2025','8:00 PM','6689722','Hippo-Campus---Hotline-TNT-5-21-2025'],['Ryan Adams','ACL Live At The Moody Theater','Austin, TX','Friday','5/23/2025','8:00 PM','6825939','Ryan-Adams-5-23-2025'],['Samara Joy','ACL Live At The Moody Theater','Austin, TX','Thursday','5/29/2025','7:30 PM','6879417','Samara-Joy-5-29-2025']],'Austin City Limits','https://www.ticketnetwork.com');