//
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 + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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([['Benjamin Tod & Lost Dog Street Band','Saturn - Birmingham','Birmingham, AL','Tuesday','9/10/2024','8:00 PM','6483184','Benjamin-Tod---Lost-Dog-Street-Band-9-10-2024'],['Benjamin Tod & Lost Dog Street Band','Duling Hall','Jackson, MS','Wednesday','9/11/2024','7:30 PM','6482620','Benjamin-Tod---Lost-Dog-Street-Band-9-11-2024'],['Benjamin Tod & Lost Dog Street Band','The Heights','Houston, TX','Friday','9/13/2024','8:00 PM','6483919','Benjamin-Tod---Lost-Dog-Street-Band-9-13-2024'],['Benjamin Tod & Lost Dog Street Band','The Kessler','Dallas, TX','Saturday','9/14/2024','8:00 PM','6483918','Benjamin-Tod---Lost-Dog-Street-Band-9-14-2024'],['Benjamin Tod & Lost Dog Street Band','Emo's East','Austin, TX','Sunday','9/15/2024','8:00 PM','6482621','Benjamin-Tod---Lost-Dog-Street-Band-9-15-2024'],['Benjamin Tod & Lost Dog Street Band','Cains Ballroom','Tulsa, OK','Tuesday','9/17/2024','7:30 PM','6483917','Benjamin-Tod---Lost-Dog-Street-Band-9-17-2024'],['Benjamin Tod & Lost Dog Street Band','Bluebird Nightclub - Bloomington','Bloomington, IN','Friday','10/11/2024','8:00 PM','6485328','Benjamin-Tod---Lost-Dog-Street-Band-10-11-2024'],['Benjamin Tod & Lost Dog Street Band','Majestic Theatre Madison','Madison, WI','Saturday','10/12/2024','8:00 PM','6482622','Benjamin-Tod---Lost-Dog-Street-Band-10-12-2024'],['Benjamin Tod & Lost Dog Street Band','Thalia Hall','Chicago, IL','Sunday','10/13/2024','8:00 PM','6483195','Benjamin-Tod---Lost-Dog-Street-Band-10-13-2024'],['Benjamin Tod & Lost Dog Street Band','First Avenue','Minneapolis, MN','Tuesday','10/15/2024','8:00 PM','6482638','Benjamin-Tod---Lost-Dog-Street-Band-10-15-2024']],'"Lost Dog Street Band"','https://www.ticketnetwork.com');