//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://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[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ 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-03A
TN_Widget.CreateTable([['Yana','The Loft - Atlanta','Atlanta, GA','Tuesday','11/10/2026','8:00 PM','8152789','Yana-11-10-2026'],['New Constellations','The Loft - Atlanta','Atlanta, GA','Saturday','11/14/2026','8:00 PM','8114588','New-Constellations-11-14-2026'],['Helado Tropical (Helado Negro & Reyna Tropical)','The Loft - Atlanta','Atlanta, GA','Wednesday','11/18/2026','8:00 PM','8045755','Helado-Tropical--Helado-Negro---Reyna-Tropical--11-18-2026'],['Alyssa Grace','The Loft - Atlanta','Atlanta, GA','Friday','11/20/2026','8:00 PM','8253934','Alyssa-Grace-11-20-2026'],['Inayah','The Loft - Atlanta','Atlanta, GA','Saturday','11/21/2026','8:00 PM','8118459','Inayah-11-21-2026'],['Ax and the Hatchetmen','The Loft - Atlanta','Atlanta, GA','Monday','12/7/2026','8:00 PM','7981472','Ax-and-the-Hatchetmen-12-7-2026'],['Playgrnd Series','The Loft - Atlanta','Atlanta, GA','Friday','12/11/2026','9:00 PM','8206844','Playgrnd-Series-12-11-2026'],['Thee Sinseers','The Loft - Atlanta','Atlanta, GA','Sunday','12/13/2026','8:00 PM','8198964','Thee-Sinseers-12-13-2026'],['Wolves In The Throne Room','The Loft - Atlanta','Atlanta, GA','Saturday','1/30/2027','7:00 PM','8309710','Wolves-In-The-Throne-Room-1-30-2027'],['Ibeyi','The Loft - Atlanta','Atlanta, GA','Friday','2/12/2027','8:00 PM','8058094','Ibeyi-2-12-2027'],['Missio','The Loft - Atlanta','Atlanta, GA','Thursday','3/11/2027','8:00 PM','8200559','Missio-3-11-2027'],['Winona Fighter','The Loft - Atlanta','Atlanta, GA','Saturday','3/20/2027','8:00 PM','8324407','Winona-Fighter-3-20-2027'],['Danielle Ponder','The Loft - Atlanta','Atlanta, GA','Thursday','4/1/2027','8:00 PM','8319944','Danielle-Ponder-4-1-2027']],'The Loft Atlanta','http://www.ticketnetwork.com/ticket/The-Loft-Atlanta-events.aspx');