//
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-01A
TN_Widget.CreateTable([['Boston Calling Music Festival: Dave Matthews Band, Luke Combs, Fall Out Boy & Avril Lavigne - 3 Day Pass','Harvard Athletic Complex','Cambridge, MA','Friday','5/23/2025','TBD','6820475','Boston-Calling-Music-Festival--Dave-Matthews-Band--Luke-Combs--Fall-Out-Boy---Avril-Lavigne---3-Day-Pass-5-23-2025'],['Boston Calling Music Festival: Fall Out Boy, Avril lavigne, Cage The Elephant & The Black Crowes - Saturday','Harvard Athletic Complex','Cambridge, MA','Saturday','5/24/2025','1:00 PM','6820478','Boston-Calling-Music-Festival--Fall-Out-Boy--Avril-lavigne--Cage-The-Elephant---The-Black-Crowes---Saturday-5-24-2025'],['BottleRock Festival: Noah Kahan, Khruangbin & Cage The Elephant - Sunday','Napa Valley Expo','Napa, CA','Sunday','5/25/2025','11:30 AM','6549041','BottleRock-Festival--Noah-Kahan--Khruangbin---Cage-The-Elephant---Sunday-5-25-2025'],['Oasis & Cage The Elephant','Rogers Stadium At Downsview Airport','Toronto, Canada','Sunday','8/24/2025','7:30 PM','6736200','Oasis---Cage-The-Elephant-8-24-2025'],['Oasis & Cage The Elephant','Rogers Stadium At Downsview Airport','Toronto, Canada','Monday','8/25/2025','7:30 PM','6742133','Oasis---Cage-The-Elephant-8-25-2025'],['Oasis & Cage The Elephant','Soldier Field','Chicago, IL','Thursday','8/28/2025','7:30 PM','6736183','Oasis---Cage-The-Elephant-8-28-2025'],['Oasis & Cage The Elephant','MetLife Stadium','East Rutherford, NJ','Sunday','8/31/2025','7:30 PM','6736184','Oasis---Cage-The-Elephant-8-31-2025'],['Oasis & Cage The Elephant','MetLife Stadium','East Rutherford, NJ','Monday','9/1/2025','7:30 PM','6742132','Oasis---Cage-The-Elephant-9-1-2025'],['Oasis & Cage The Elephant','Rose Bowl Stadium - Pasadena','Pasadena, CA','Saturday','9/6/2025','7:30 PM','6736186','Oasis---Cage-The-Elephant-9-6-2025'],['Oasis & Cage The Elephant','Rose Bowl Stadium - Pasadena','Pasadena, CA','Sunday','9/7/2025','7:30 PM','6742131','Oasis---Cage-The-Elephant-9-7-2025'],['Bourbon & Beyond Festival: The Lumineers, Benson Boone, Alabama Shakes & Cage The Elephant - Thursday','Highland Festival Grounds at Kentucky Expo Center','Louisville, KY','Thursday','9/11/2025','12:00 PM','6842777','Bourbon---Beyond-Festival--The-Lumineers--Benson-Boone--Alabama-Shakes---Cage-The-Elephant---Thursday-9-11-2025'],['Oasis & Cage The Elephant','Estadio GNP Seguros - Mexico City','Mexico City, Mexico','Friday','9/12/2025','7:00 PM','6736188','Oasis---Cage-The-Elephant-9-12-2025'],['Oasis & Cage The Elephant','Estadio GNP Seguros - Mexico City','Mexico City, Mexico','Saturday','9/13/2025','7:00 PM','6742142','Oasis---Cage-The-Elephant-9-13-2025'],['Cage The Elephant','The BayCare Sound','Clearwater, FL','Wednesday','9/17/2025','5:30 PM','7122954','Cage-The-Elephant-9-17-2025'],['Shaky Knees Music Festival: Deftones, My Chemical Romance & Blink 182 - 3 Day Pass','Piedmont Park','Atlanta, GA','Friday','9/19/2025','TBD','6849683','Shaky-Knees-Music-Festival--Deftones--My-Chemical-Romance---Blink-182---3-Day-Pass-9-19-2025'],['Shaky Knees Music Festival: My Chemical Romance, Cage The Elephant & The Black Keys - Saturday (Time: TBD)','Piedmont Park','Atlanta, GA','Saturday','9/20/2025','12:00 PM','6852989','Shaky-Knees-Music-Festival--My-Chemical-Romance--Cage-The-Elephant---The-Black-Keys---Saturday--Time--TBD--9-20-2025'],['Ohana Music Festival: Green Day & Cage the Elephant - Sunday Pass','Doheny State Beach','Dana Point, CA','Sunday','9/28/2025','12:00 PM','7122507','Ohana-Music-Festival--Green-Day---Cage-the-Elephant---Sunday-Pass-9-28-2025']],'Cage The Elephant','http://www.ticketnetwork.com/ticket/Cage-The-Elephant-events.aspx');