//
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([['Club 90s: Justin Bieber Night','Vinyl Music Hall','Pensacola, FL','Friday','2/28/2025','9:00 PM','6899963','Club-90s--Justin-Bieber-Night-2-28-2025'],['Dirtwire','Vinyl Music Hall','Pensacola, FL','Saturday','3/1/2025','8:00 PM','6844664','Dirtwire-3-1-2025'],['The Amity Affliction','Vinyl Music Hall','Pensacola, FL','Saturday','3/8/2025','7:00 PM','6844726','The-Amity-Affliction-3-8-2025'],['The Elovaters','Vinyl Music Hall','Pensacola, FL','Wednesday','3/12/2025','7:00 PM','6821160','The-Elovaters-3-12-2025'],['The Movement','Vinyl Music Hall','Pensacola, FL','Friday','3/14/2025','7:30 PM','6963992','The-Movement-3-14-2025'],['The Four Horsemen - Tribute to Metallica','Vinyl Music Hall','Pensacola, FL','Saturday','3/15/2025','8:00 PM','6865319','The-Four-Horsemen---Tribute-to-Metallica-3-15-2025'],['The Emo Night Tour','Vinyl Music Hall','Pensacola, FL','Saturday','3/22/2025','8:00 PM','6899957','The-Emo-Night-Tour-3-22-2025'],['The Steeldrivers','Vinyl Music Hall','Pensacola, FL','Thursday','3/27/2025','8:00 PM','6899956','The-Steeldrivers-3-27-2025'],['Lily Rose','Vinyl Music Hall','Pensacola, FL','Wednesday','4/2/2025','7:00 PM','6886045','Lily-Rose-4-2-2025'],['Larry Fleet','Vinyl Music Hall','Pensacola, FL','Thursday','4/3/2025','8:00 PM','6695993','Larry-Fleet-4-3-2025'],['Big Something','Vinyl Music Hall','Pensacola, FL','Friday','4/11/2025','8:00 PM','6958531','Big-Something-4-11-2025'],['Grateful Shred','Vinyl Music Hall','Pensacola, FL','Sunday','4/13/2025','7:30 PM','6961145','Grateful-Shred-4-13-2025'],['Underoath','Vinyl Music Hall','Pensacola, FL','Wednesday','4/16/2025','7:00 PM','6982711','Underoath-4-16-2025'],['STRFKR','Vinyl Music Hall','Pensacola, FL','Wednesday','4/23/2025','8:00 PM','6802998','STRFKR-4-23-2025'],['Cold, September Mourning & University Drive','Vinyl Music Hall','Pensacola, FL','Sunday','4/27/2025','7:00 PM','6916644','Cold--September-Mourning---University-Drive-4-27-2025'],['Shakey Graves','Vinyl Music Hall','Pensacola, FL','Wednesday','4/30/2025','7:00 PM','6882321','Shakey-Graves-4-30-2025'],['Soulja Boy','Vinyl Music Hall','Pensacola, FL','Wednesday','5/7/2025','7:00 PM','6974276','Soulja-Boy-5-7-2025'],['The Crane Wives','Vinyl Music Hall','Pensacola, FL','Friday','5/23/2025','8:00 PM','6820275','The-Crane-Wives-5-23-2025'],['Umphrey's McGee','Vinyl Music Hall','Pensacola, FL','Thursday','5/29/2025','7:30 PM','6986590','Umphrey-s-McGee-5-29-2025'],['GWAR','Vinyl Music Hall','Pensacola, FL','Friday','6/20/2025','7:00 PM','6998232','GWAR-6-20-2025']],'Vinyl Music Hall','https://www.ticketnetwork.com/ticket/Vinyl-Music-Hall-events.aspx');