//
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([['Zakk Sabbath - Zakk Wylde's Black Sabbath Cover Band','Vinyl Music Hall','Pensacola, FL','Tuesday','12/2/2025','7:00 PM','7194271','Zakk-Sabbath---Zakk-Wylde-s-Black-Sabbath-Cover-Band-12-2-2025'],['Whitechapel','Vinyl Music Hall','Pensacola, FL','Thursday','12/4/2025','7:00 PM','7180348','Whitechapel-12-4-2025'],['Purple Madness - A Tribute To Prince','Vinyl Music Hall','Pensacola, FL','Saturday','12/27/2025','8:00 PM','7588041','Purple-Madness---A-Tribute-To-Prince-12-27-2025'],['Flosstradamus','Vinyl Music Hall','Pensacola, FL','Friday','1/23/2026','8:00 PM','7530723','Flosstradamus-1-23-2026'],['Gary Clark Jr.','Vinyl Music Hall','Pensacola, FL','Wednesday','2/4/2026','7:00 PM','7588027','Gary-Clark-Jr--2-4-2026'],['Gary Clark Jr.','Vinyl Music Hall','Pensacola, FL','Thursday','2/5/2026','7:00 PM','7588026','Gary-Clark-Jr--2-5-2026'],['Capstan','Vinyl Music Hall','Pensacola, FL','Wednesday','2/18/2026','7:00 PM','7571128','Capstan-2-18-2026'],['The Red Jumpsuit Apparatus','Vinyl Music Hall','Pensacola, FL','Friday','3/6/2026','8:00 PM','7387144','The-Red-Jumpsuit-Apparatus-3-6-2026'],['Panchiko','Vinyl Music Hall','Pensacola, FL','Monday','4/20/2026','7:00 PM','7573110','Panchiko-4-20-2026'],['Nirvanna - Tribute to Nirvana','Vinyl Music Hall','Pensacola, FL','Sunday','12/27/2026','8:00 PM','7588050','Nirvanna---Tribute-to-Nirvana-12-27-2026']],'Vinyl Music Hall','http://www.ticketnetwork.com/ticket/Vinyl-Music-Hall-events.aspx');