//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ this.linkText+ " |
";
},
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,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Bingo Loco','The Senate at Tin Roof','Columbia, SC','Saturday','12/19/2026','7:00 PM','8308331','Bingo-Loco-12-19-2026'],['Arnez J','The Senate at Tin Roof','Columbia, SC','Saturday','1/9/2027','8:00 PM','8297839','Arnez-J-1-9-2027'],['North Mississippi Allstars','The Senate at Tin Roof','Columbia, SC','Saturday','1/16/2027','8:00 PM','8370957','North-Mississippi-Allstars-1-16-2027'],['Liquid Stranger','The Senate at Tin Roof','Columbia, SC','Wednesday','1/20/2027','8:00 PM','8355076','Liquid-Stranger-1-20-2027'],['Emo Night Karaoke','The Senate at Tin Roof','Columbia, SC','Friday','1/22/2027','9:00 PM','8270046','Emo-Night-Karaoke-1-22-2027'],['Demola','The Senate at Tin Roof','Columbia, SC','Saturday','1/23/2027','8:00 PM','8273989','Demola-1-23-2027'],['Freedom Junction & Tin Roof Cats','The Barrelhouse Ballroom','Chattanooga, TN','Sunday','1/24/2027','7:00 PM','8361316','Freedom-Junction---Tin-Roof-Cats-1-24-2027'],['Dusty Slay','The Senate at Tin Roof','Columbia, SC','Friday','1/29/2027','7:00 PM','8319774','Dusty-Slay-1-29-2027'],['Shadowgrass','The Senate at Tin Roof','Columbia, SC','Saturday','1/30/2027','8:00 PM','8365995','Shadowgrass-1-30-2027'],['49 Winchester','The Senate at Tin Roof','Columbia, SC','Saturday','2/6/2027','8:00 PM','8332127','49-Winchester-2-6-2027'],['Mersiv','The Senate at Tin Roof','Columbia, SC','Sunday','2/7/2027','8:00 PM','8346811','Mersiv-2-7-2027'],['Kameron Marlowe','The Senate at Tin Roof','Columbia, SC','Thursday','2/18/2027','7:30 PM','8326551','Kameron-Marlowe-2-18-2027'],['Kameron Marlowe','The Senate at Tin Roof','Columbia, SC','Friday','2/19/2027','8:00 PM','8318529','Kameron-Marlowe-2-19-2027'],['Peter Hook and The Light','The Senate at Tin Roof','Columbia, SC','Sunday','2/21/2027','8:00 PM','8244815','Peter-Hook-and-The-Light-2-21-2027'],['Corey Kent','The Senate at Tin Roof','Columbia, SC','Saturday','2/27/2027','8:00 PM','8253129','Corey-Kent-2-27-2027'],['Conor Oberst','The Senate at Tin Roof','Columbia, SC','Thursday','3/4/2027','8:00 PM','8364308','Conor-Oberst-3-4-2027'],['Shuler King','The Senate at Tin Roof','Columbia, SC','Friday','3/5/2027','7:00 PM','8236495','Shuler-King-3-5-2027'],['Scott Bradlee's Postmodern Jukebox','The Senate at Tin Roof','Columbia, SC','Saturday','3/20/2027','8:00 PM','8343846','Scott-Bradlee-s-Postmodern-Jukebox-3-20-2027'],['Cigarettes @ Sunset','The Senate at Tin Roof','Columbia, SC','Friday','3/26/2027','7:30 PM','8343330','Cigarettes---Sunset-3-26-2027'],['Braxton Keith','The Senate at Tin Roof','Columbia, SC','Thursday','4/8/2027','7:00 PM','8277855','Braxton-Keith-4-8-2027'],['Blake Whiten','The Senate at Tin Roof','Columbia, SC','Friday','4/9/2027','8:00 PM','8342362','Blake-Whiten-4-9-2027'],['Lucas Zelnick','The Senate at Tin Roof','Columbia, SC','Friday','4/16/2027','8:00 PM','8217408','Lucas-Zelnick-4-16-2027'],['Bored Teachers Comedy Tour','The Senate at Tin Roof','Columbia, SC','Saturday','4/17/2027','4:00 PM','8363952','Bored-Teachers-Comedy-Tour-4-17-2027'],['Bored Teachers Comedy Tour','The Senate at Tin Roof','Columbia, SC','Saturday','4/17/2027','7:30 PM','8363951','Bored-Teachers-Comedy-Tour-4-17-2027']],'Tin Roof','https://www.ticketnetwork.com/ticket/Tin-Roof-events.aspx');