//
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-04A
TN_Widget.CreateTable([['Monster Jam','Camping World Stadium','Orlando, FL','Saturday','3/1/2025','7:00 PM','6689421','Monster-Jam-3-1-2025'],['Shakira','Camping World Stadium','Orlando, FL','Wednesday','6/4/2025','7:30 PM','6774795','Shakira-6-4-2025'],['Post Malone & Jelly Roll','Camping World Stadium','Orlando, FL','Tuesday','6/10/2025','7:30 PM','6836592','Post-Malone---Jelly-Roll-6-10-2025'],['Stray Kids','Camping World Stadium','Orlando, FL','Saturday','6/14/2025','8:00 PM','6833913','Stray-Kids-6-14-2025'],['Club World Cup 2025: Group D: Club Leon FC vs. CR Flamengo - Match 39','Camping World Stadium','Orlando, FL','Tuesday','6/24/2025','9:00 PM','6872651','Club-World-Cup-2025--Group-D--Club-Leon-FC-vs--CR-Flamengo---Match-39-6-24-2025'],['Club World Cup 2025: Group G: Juventus FC vs. Manchester City FC - Match 45','Camping World Stadium','Orlando, FL','Thursday','6/26/2025','3:00 PM','6872834','Club-World-Cup-2025--Group-G--Juventus-FC-vs--Manchester-City-FC---Match-45-6-26-2025'],['Club World Cup 2025: Round of 16 - Match 54','Camping World Stadium','Orlando, FL','Monday','6/30/2025','9:00 PM','6871687','Club-World-Cup-2025--Round-of-16---Match-54-6-30-2025'],['Club World Cup 2025: Quarterfinal - Match 57','Camping World Stadium','Orlando, FL','Friday','7/4/2025','3:00 PM','6871668','Club-World-Cup-2025--Quarterfinal---Match-57-7-4-2025'],['The Weeknd, Playboi Carti & Mike Dean','Camping World Stadium','Orlando, FL','Sunday','8/24/2025','7:00 PM','6965202','The-Weeknd--Playboi-Carti---Mike-Dean-8-24-2025']],'Florida Citrus Bowl','https://www.ticketnetwork.com/ticket/Florida-Citrus-Bowl-events.aspx');