//
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-02A
TN_Widget.CreateTable([['Louder Than Life: Slayer, Deftones, & Avenged Sevenfold - 4 Day Pass','Highland Festival Grounds at Kentucky Expo Center','Louisville, KY','Thursday','9/18/2025','TBD','6856193','Louder-Than-Life--Slayer--Deftones----Avenged-Sevenfold---4-Day-Pass-9-18-2025'],['Louder Than Life: Slayer, Rob Zombie, & Marilyn Mansion - Thursday','Highland Festival Grounds at Kentucky Expo Center','Louisville, KY','Thursday','9/18/2025','12:00 PM','6856693','Louder-Than-Life--Slayer--Rob-Zombie----Marilyn-Mansion---Thursday-9-18-2025'],['Slayer','Hersheypark Stadium','Hershey, PA','Saturday','9/20/2025','4:00 PM','7081171','Slayer-9-20-2025'],['Halloween At The Bronze - Buffy The Vampire Slayer Tribute','Holocene','Portland, OR','Saturday','10/25/2025','8:00 PM','7366262','Halloween-At-The-Bronze---Buffy-The-Vampire-Slayer-Tribute-10-25-2025'],['Oregon Symphony: Demon Slayer In Concert','Arlene Schnitzer Concert Hall','Portland, OR','Saturday','4/4/2026','7:30 PM','7290660','Oregon-Symphony--Demon-Slayer-In-Concert-4-4-2026']],'Slayer','https://www.ticketnetwork.com/ticket/Slayer-events.aspx');