//
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-02A
TN_Widget.CreateTable([['Knotfest: Slipknot, Till Lindemann, Knocked Loose & Hatebreed','Waterworks Park','Des Moines, IA','Saturday','9/21/2024','12:00 PM','6412395','Knotfest--Slipknot--Till-Lindemann--Knocked-Loose---Hatebreed-9-21-2024'],['Hatebreed','State Theatre - ME','Portland, ME','Thursday','9/26/2024','7:00 PM','6329607','Hatebreed-9-26-2024'],['Hatebreed','Citizens House Of Blues - Boston','Boston, MA','Friday','9/27/2024','7:00 PM','6329608','Hatebreed-9-27-2024'],['Hatebreed','Terminal 5','New York, NY','Saturday','9/28/2024','7:00 PM','6329644','Hatebreed-9-28-2024'],['Hatebreed','MTelus','Montreal, Canada','Sunday','9/29/2024','6:30 PM','6329639','Hatebreed-9-29-2024'],['Hatebreed','Rebel - Toronto','Toronto, Canada','Monday','9/30/2024','7:00 PM','6329641','Hatebreed-9-30-2024'],['Hatebreed','Agora Theatre','Cleveland, OH','Wednesday','10/2/2024','7:00 PM','6329646','Hatebreed-10-2-2024'],['Hatebreed','Royal Oak Music Theatre','Royal Oak, MI','Thursday','10/3/2024','6:00 PM','6329649','Hatebreed-10-3-2024'],['Hatebreed','EPIC Event Center','Green Bay, WI','Friday','10/4/2024','7:00 PM','6498215','Hatebreed-10-4-2024'],['Hatebreed','Skyway Theatre','Minneapolis, MN','Saturday','10/5/2024','6:00 PM','6580903','Hatebreed-10-5-2024'],['Hatebreed','Concord Music Hall','Chicago, IL','Sunday','10/6/2024','6:00 PM','6458609','Hatebreed-10-6-2024'],['Hatebreed','Bogarts','Cincinnati, OH','Monday','10/7/2024','7:00 PM','6329609','Hatebreed-10-7-2024'],['Hatebreed','Roxian Theatre','McKees Rocks, PA','Tuesday','10/8/2024','7:00 PM','6329610','Hatebreed-10-8-2024'],['Hatebreed','Pop's Nightclub and Concert Venue','East St. Louis, IL','Thursday','10/10/2024','7:00 PM','6329612','Hatebreed-10-10-2024'],['Hatebreed','Diamond Ballroom','Oklahoma City, OK','Friday','10/11/2024','7:00 PM','6329659','Hatebreed-10-11-2024'],['Hatebreed','Vibes Event Center','San Antonio, TX','Saturday','10/12/2024','7:00 PM','6329658','Hatebreed-10-12-2024'],['Hatebreed','The Van Buren','Phoenix, AZ','Monday','10/14/2024','8:00 PM','6329618','Hatebreed-10-14-2024'],['Hatebreed','The Wiltern','Los Angeles, CA','Tuesday','10/15/2024','7:00 PM','6329624','Hatebreed-10-15-2024'],['Hatebreed','Riverside Municipal Auditorium','Riverside, CA','Wednesday','10/16/2024','7:00 PM','6329625','Hatebreed-10-16-2024'],['Hatebreed','Roseland Theater','Portland, OR','Friday','10/18/2024','7:00 PM','6329660','Hatebreed-10-18-2024'],['Hatebreed','Vogue Theatre - BC','Vancouver, Canada','Saturday','10/19/2024','8:00 PM','6329661','Hatebreed-10-19-2024'],['Hatebreed','Showbox SoDo','Seattle, WA','Sunday','10/20/2024','7:00 PM','6329651','Hatebreed-10-20-2024'],['Hatebreed','Rockwell At The Complex','Salt Lake City, UT','Tuesday','10/22/2024','6:00 PM','6329631','Hatebreed-10-22-2024'],['Hatebreed','Fillmore Auditorium - Colorado','Denver, CO','Wednesday','10/23/2024','7:00 PM','6329632','Hatebreed-10-23-2024'],['Hatebreed','Uptown Theater - KC','Kansas City, MO','Thursday','10/24/2024','7:00 PM','6329665','Hatebreed-10-24-2024'],['Hatebreed','Marathon Music Works','Nashville, TN','Friday','10/25/2024','7:00 PM','6329634','Hatebreed-10-25-2024'],['Hatebreed','Piedmont Hall','Greensboro, NC','Saturday','10/26/2024','7:30 PM','6329635','Hatebreed-10-26-2024'],['Hatebreed','The Norva','Norfolk, VA','Sunday','10/27/2024','7:00 PM','6329652','Hatebreed-10-27-2024']],'Hatebreed','http://www.ticketnetwork.com/ticket/Hatebreed-events.aspx');