//
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([['Falling In Reverse','Leader Bank Pavilion','Boston, MA','Monday','9/9/2024','5:45 PM','6426970','Falling-In-Reverse-9-9-2024'],['Falling In Reverse','Darien Lake Amphitheater','Darien Center, NY','Tuesday','9/10/2024','5:45 PM','6426971','Falling-In-Reverse-9-10-2024'],['Falling In Reverse','The Pavilion At Star Lake','Burgettstown, PA','Thursday','9/12/2024','5:45 PM','6426972','Falling-In-Reverse-9-12-2024'],['Falling In Reverse','PNC Bank Arts Center','Holmdel, NJ','Friday','9/13/2024','5:45 PM','6426973','Falling-In-Reverse-9-13-2024'],['Falling In Reverse','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Sunday','9/15/2024','5:45 PM','6426974','Falling-In-Reverse-9-15-2024'],['Falling In Reverse','Everwise Amphitheater at White River State Park','Indianapolis, IN','Monday','9/16/2024','5:45 PM','6426976','Falling-In-Reverse-9-16-2024'],['Falling In Reverse','Huntington Bank Pavilion at Northerly Island','Chicago, IL','Tuesday','9/17/2024','5:45 PM','6426977','Falling-In-Reverse-9-17-2024'],['Falling In Reverse','FirstBank Amphitheater','Franklin, TN','Friday','9/20/2024','5:45 PM','6426979','Falling-In-Reverse-9-20-2024'],['Falling In Reverse','Hollywood Casino Amphitheatre - MO','Maryland Heights, MO','Saturday','9/21/2024','5:45 PM','6426981','Falling-In-Reverse-9-21-2024'],['Falling In Reverse','The Junk Yard','Denver, CO','Monday','9/23/2024','5:45 PM','6426983','Falling-In-Reverse-9-23-2024'],['Falling In Reverse','Talking Stick Resort Amphitheatre','Phoenix, AZ','Wednesday','9/25/2024','5:45 PM','6426985','Falling-In-Reverse-9-25-2024'],['Falling In Reverse','The Kia Forum','Inglewood, CA','Thursday','9/26/2024','5:45 PM','6426987','Falling-In-Reverse-9-26-2024'],['Aftershock Festival: Iron Maiden, Slayer, Motley Crue & Slipknot - 4 Day Pass','Discovery Park','Sacramento, CA','Thursday','10/10/2024','TBD','6006842','Aftershock-Festival--Iron-Maiden--Slayer--Motley-Crue---Slipknot---4-Day-Pass-10-10-2024'],['Aftershock Festival: Motley Crue, Disturbed, Falling In Reverse & Seether - Sunday','Discovery Park','Sacramento, CA','Sunday','10/13/2024','11:00 AM','6006846','Aftershock-Festival--Motley-Crue--Disturbed--Falling-In-Reverse---Seether---Sunday-10-13-2024'],['Falling In Reverse','O2 Arena - London','London, United Kingdom','Monday','12/16/2024','5:30 PM','6667821','Falling-In-Reverse-12-16-2024']],'Falling in Reverse','http://www.ticketnetwork.com/ticket/Falling-in-Reverse-events.aspx');