//
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([['Cincinnati Music Festival: Maxwell, Ne-Yo, New Edition & Kem - 2 Day Pass','Paycor Stadium','Cincinnati, OH','Friday','7/26/2024','TBD','6066890','Cincinnati-Music-Festival--Maxwell--Ne-Yo--New-Edition---Kem---2-Day-Pass-7-26-2024'],['Cincinnati Music Festival: Maxwell, Ne-Yo & Fantasia - Friday','Paycor Stadium','Cincinnati, OH','Friday','7/26/2024','7:30 PM','6066730','Cincinnati-Music-Festival--Maxwell--Ne-Yo---Fantasia---Friday-7-26-2024'],['Maxwell','Hard Rock Live At The Seminole Hard Rock Hotel & Casino - Hollywood','Fort Lauderdale, FL','Saturday','9/14/2024','7:30 PM','6340407','Maxwell-9-14-2024'],['Maxwell','Amalie Arena','Tampa, FL','Sunday','9/15/2024','7:00 PM','6340409','Maxwell-9-15-2024'],['Maxwell','Greensboro Coliseum At Greensboro Coliseum Complex','Greensboro, NC','Tuesday','9/17/2024','7:00 PM','6340411','Maxwell-9-17-2024'],['Maxwell','Hampton Coliseum','Hampton, VA','Friday','9/20/2024','7:30 PM','6340419','Maxwell-9-20-2024'],['Maxwell','CFG Bank Arena','Baltimore, MD','Saturday','9/21/2024','7:30 PM','6340421','Maxwell-9-21-2024'],['Maxwell','Wells Fargo Center - PA','Philadelphia, PA','Tuesday','9/24/2024','7:00 PM','6340425','Maxwell-9-24-2024'],['Maxwell','Barclays Center','Brooklyn, NY','Wednesday','9/25/2024','7:00 PM','6340427','Maxwell-9-25-2024'],['Maxwell','State Farm Arena - GA','Atlanta, GA','Friday','9/27/2024','7:30 PM','6340429','Maxwell-9-27-2024'],['Maxwell','Legacy Arena at The BJCC','Birmingham, AL','Saturday','9/28/2024','7:00 PM','6340432','Maxwell-9-28-2024'],['Maxwell','Bridgestone Arena','Nashville, TN','Sunday','9/29/2024','7:00 PM','6340433','Maxwell-9-29-2024'],['Maxwell','KFC Yum! Center','Louisville, KY','Tuesday','10/1/2024','7:00 PM','6340434','Maxwell-10-1-2024'],['Maxwell','Spectrum Center','Charlotte, NC','Thursday','10/3/2024','7:00 PM','6340435','Maxwell-10-3-2024'],['Maxwell','Capital One Arena','Washington, DC','Friday','10/4/2024','7:30 PM','6340436','Maxwell-10-4-2024'],['Maxwell','Prudential Center','Newark, NJ','Sunday','10/6/2024','7:00 PM','6340438','Maxwell-10-6-2024'],['Maxwell','Gainbridge Fieldhouse','Indianapolis, IN','Wednesday','10/9/2024','7:00 PM','6340440','Maxwell-10-9-2024'],['Maxwell','United Center','Chicago, IL','Thursday','10/10/2024','7:00 PM','6340441','Maxwell-10-10-2024'],['Maxwell','Little Caesars Arena','Detroit, MI','Friday','10/11/2024','7:30 PM','6340442','Maxwell-10-11-2024'],['Maxwell','Enterprise Center','St. Louis, MO','Sunday','10/13/2024','7:00 PM','6340445','Maxwell-10-13-2024'],['Maxwell','FedExForum','Memphis, TN','Wednesday','10/16/2024','7:00 PM','6340451','Maxwell-10-16-2024'],['Maxwell','Toyota Center - TX','Houston, TX','Friday','10/18/2024','8:00 PM','6340453','Maxwell-10-18-2024'],['Maxwell','Smoothie King Center','New Orleans, LA','Saturday','10/19/2024','7:30 PM','6340454','Maxwell-10-19-2024'],['Maxwell','American Airlines Center','Dallas, TX','Sunday','10/20/2024','7:00 PM','6340455','Maxwell-10-20-2024'],['Maxwell','Viejas Arena At Aztec Bowl','San Diego, CA','Wednesday','10/23/2024','7:00 PM','6340457','Maxwell-10-23-2024'],['Maxwell','Oakland Arena','Oakland, CA','Friday','10/25/2024','7:30 PM','6340458','Maxwell-10-25-2024'],['Maxwell','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','10/26/2024','7:30 PM','6340459','Maxwell-10-26-2024'],['Maxwell','The Kia Forum','Inglewood, CA','Sunday','10/27/2024','7:30 PM','6340460','Maxwell-10-27-2024']],'Maxwells','http://www.ticketnetwork.com/ticket/Maxwells-events.aspx');