//
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-01A
TN_Widget.CreateTable([['Wale','Iron City - Birmingham','Birmingham, AL','Thursday','11/7/2024','8:00 PM','6624351','Wale-11-7-2024'],['Cavetown','Iron City - Birmingham','Birmingham, AL','Friday','11/8/2024','8:00 PM','6591348','Cavetown-11-8-2024'],['Morgan Wade','Iron City - Birmingham','Birmingham, AL','Sunday','11/17/2024','8:00 PM','6378866','Morgan-Wade-11-17-2024'],['Iron Maiden','Estadio GNP Seguros - Mexico City','Mexico City, Mexico','Wednesday','11/20/2024','TBD','6131622','Iron-Maiden-11-20-2024'],['Zingara','Iron City - Birmingham','Birmingham, AL','Friday','11/29/2024','8:00 PM','6701495','Zingara-11-29-2024'],['Who's Bad - Michael Jackson Tribute Band','Iron City - Birmingham','Birmingham, AL','Thursday','12/5/2024','8:00 PM','6693379','Who-s-Bad---Michael-Jackson-Tribute-Band-12-5-2024'],['The Wood Brothers','Iron City - Birmingham','Birmingham, AL','Sunday','12/8/2024','7:30 PM','6536526','The-Wood-Brothers-12-8-2024'],['BabyTron & BLP Kosher','Iron City - Birmingham','Birmingham, AL','Wednesday','12/11/2024','8:00 PM','6629084','BabyTron---BLP-Kosher-12-11-2024'],['Futurebirds','Iron City - Birmingham','Birmingham, AL','Friday','12/13/2024','8:00 PM','6495429','Futurebirds-12-13-2024'],['The Molly Ringwalds','Iron City - Birmingham','Birmingham, AL','Friday','12/20/2024','8:00 PM','6523946','The-Molly-Ringwalds-12-20-2024'],['The Mountain Grass Unit','Iron City - Birmingham','Birmingham, AL','Friday','12/27/2024','8:00 PM','6702339','The-Mountain-Grass-Unit-12-27-2024'],['Bone Thugs N Harmony','Iron City - Birmingham','Birmingham, AL','Friday','1/3/2025','8:00 PM','6684696','Bone-Thugs-N-Harmony-1-3-2025'],['Rumours ATL - A Fleetwood Mac Tribute','Iron City - Birmingham','Birmingham, AL','Friday','1/17/2025','8:00 PM','6717773','Rumours-ATL---A-Fleetwood-Mac-Tribute-1-17-2025'],['Trampled by Turtles','Iron City - Birmingham','Birmingham, AL','Thursday','1/23/2025','7:30 PM','6766392','Trampled-by-Turtles-1-23-2025'],['Two Friends','Iron City - Birmingham','Birmingham, AL','Wednesday','2/19/2025','7:30 PM','6715722','Two-Friends-2-19-2025'],['Palace - Band','Iron City - Birmingham','Birmingham, AL','Wednesday','2/26/2025','8:00 PM','6479059','Palace---Band-2-26-2025'],['Umphrey's McGee','Iron City - Birmingham','Birmingham, AL','Thursday','2/27/2025','8:00 PM','6724097','Umphrey-s-McGee-2-27-2025'],['Big Head Todd and The Monsters','Iron City - Birmingham','Birmingham, AL','Sunday','3/16/2025','7:30 PM','6698923','Big-Head-Todd-and-The-Monsters-3-16-2025'],['Wilder Woods - Band','Iron City - Birmingham','Birmingham, AL','Friday','3/28/2025','7:30 PM','6770907','Wilder-Woods---Band-3-28-2025'],['Explosions In the Sky','Iron City - Birmingham','Birmingham, AL','Saturday','3/29/2025','7:00 PM','6741644','Explosions-In-the-Sky-3-29-2025'],['Penny and Sparrow','Iron City - Birmingham','Birmingham, AL','Thursday','4/10/2025','7:00 PM','6752760','Penny-and-Sparrow-4-10-2025'],['Stephen Marley','Iron City - Birmingham','Birmingham, AL','Saturday','10/11/2070','7:00 PM','4371950','Stephen-Marley-10-11-2070'],['Toad The Wet Sprocket','Iron City - Birmingham','Birmingham, AL','Tuesday','10/28/2070','8:00 PM','4390022','Toad-The-Wet-Sprocket-10-28-2070'],['Gin Blossoms','Iron City - Birmingham','Birmingham, AL','Monday','4/13/2071','7:30 PM','4435227','Gin-Blossoms-4-13-2071'],['Cosmic Charlie','Iron City - Birmingham','Birmingham, AL','Friday','8/28/2071','8:00 PM','4503771','Cosmic-Charlie-8-28-2071'],['Toadies & Reverend Horton Heat','Iron City - Birmingham','Birmingham, AL','Monday','11/2/2071','8:00 PM','4706919','Toadies---Reverend-Horton-Heat-11-2-2071'],['Rumours - A Fleetwood Mac Tribute','Iron City - Birmingham','Birmingham, AL','Thursday','11/26/2071','8:00 PM','4868448','Rumours---A-Fleetwood-Mac-Tribute-11-26-2071'],['STRFKR','Iron City - Birmingham','Birmingham, AL','Monday','10/1/2074','8:00 PM','6477688','STRFKR-10-1-2074']],'Iron City','https://www.ticketnetwork.com/ticket/Iron-City-events.aspx');