//
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([['Pitbull','O2 Arena - London','London, United Kingdom','Friday','2/21/2025','6:30 PM','6825316','Pitbull-2-21-2025'],['Pitbull','Lanxess Arena','Köln, Germany','Tuesday','2/25/2025','8:00 PM','6827333','Pitbull-2-25-2025'],['Pitbull','BleauLive Theater At Fontainebleau Las Vegas','Las Vegas, NV','Friday','3/7/2025','8:00 PM','6721154','Pitbull-3-7-2025'],['Miami FC vs. Detroit City FC','Pitbull Stadium','Miami, FL','Saturday','3/8/2025','TBD','6894620','Miami-FC-vs--Detroit-City-FC-3-8-2025'],['Pitbull','BleauLive Theater At Fontainebleau Las Vegas','Las Vegas, NV','Saturday','3/8/2025','8:00 PM','6721155','Pitbull-3-8-2025'],['Pitbull','BleauLive Theater At Fontainebleau Las Vegas','Las Vegas, NV','Wednesday','3/12/2025','8:00 PM','6874839','Pitbull-3-12-2025'],['Pitbull','BleauLive Theater At Fontainebleau Las Vegas','Las Vegas, NV','Friday','3/14/2025','8:00 PM','6721156','Pitbull-3-14-2025'],['Miami FC vs. Indy Eleven','Pitbull Stadium','Miami, FL','Saturday','3/15/2025','TBD','6894621','Miami-FC-vs--Indy-Eleven-3-15-2025'],['Pitbull','BleauLive Theater At Fontainebleau Las Vegas','Las Vegas, NV','Saturday','3/15/2025','8:00 PM','6721157','Pitbull-3-15-2025'],['Miami FC vs. Tampa Bay Rowdies','Pitbull Stadium','Miami, FL','Saturday','3/22/2025','TBD','6894622','Miami-FC-vs--Tampa-Bay-Rowdies-3-22-2025'],['Miami FC vs. New Mexico United','Pitbull Stadium','Miami, FL','Saturday','3/29/2025','TBD','6894623','Miami-FC-vs--New-Mexico-United-3-29-2025'],['Miami FC vs. North Carolina FC','Pitbull Stadium','Miami, FL','Saturday','4/19/2025','TBD','6894624','Miami-FC-vs--North-Carolina-FC-4-19-2025'],['Miami FC vs. Loudoun United FC','Pitbull Stadium','Miami, FL','Saturday','5/17/2025','TBD','6894625','Miami-FC-vs--Loudoun-United-FC-5-17-2025'],['Mr. Worldwide - Pitbull Tribute','Dallas Arboretum','Dallas, TX','Thursday','5/22/2025','7:30 PM','6914098','Mr--Worldwide---Pitbull-Tribute-5-22-2025'],['Miami FC vs. Birmingham Legion FC','Pitbull Stadium','Miami, FL','Saturday','5/24/2025','TBD','6894626','Miami-FC-vs--Birmingham-Legion-FC-5-24-2025'],['Miami FC vs. FC Naples','Pitbull Stadium','Miami, FL','Saturday','5/31/2025','TBD','6894627','Miami-FC-vs--FC-Naples-5-31-2025'],['Miami FC vs. Charleston Battery','Pitbull Stadium','Miami, FL','Wednesday','6/18/2025','TBD','6894629','Miami-FC-vs--Charleston-Battery-6-18-2025'],['Miami FC vs. FC Tulsa','Pitbull Stadium','Miami, FL','Saturday','7/5/2025','TBD','6894630','Miami-FC-vs--FC-Tulsa-7-5-2025'],['Miami FC vs. Lexington Sporting Club','Pitbull Stadium','Miami, FL','Saturday','7/12/2025','TBD','6894631','Miami-FC-vs--Lexington-Sporting-Club-7-12-2025'],['Miami FC vs. South Georgia Tormenta FC','Pitbull Stadium','Miami, FL','Saturday','7/26/2025','TBD','6894632','Miami-FC-vs--South-Georgia-Tormenta-FC-7-26-2025'],['Miami FC vs. El Paso Locomotive FC','Pitbull Stadium','Miami, FL','Saturday','8/9/2025','TBD','6894634','Miami-FC-vs--El-Paso-Locomotive-FC-8-9-2025'],['Miami FC vs. Louisville City FC','Pitbull Stadium','Miami, FL','Saturday','8/16/2025','TBD','6894636','Miami-FC-vs--Louisville-City-FC-8-16-2025'],['Miami FC vs. Hartford Athletic FC','Pitbull Stadium','Miami, FL','Saturday','9/6/2025','TBD','6894639','Miami-FC-vs--Hartford-Athletic-FC-9-6-2025'],['Florida International Panthers vs. Florida Atlantic Owls','Pitbull Stadium','Miami, FL','Saturday','9/13/2025','TBD','6886873','Florida-International-Panthers-vs--Florida-Atlantic-Owls-9-13-2025'],['Miami FC vs. Rhode Island FC','Pitbull Stadium','Miami, FL','Saturday','9/20/2025','TBD','6894643','Miami-FC-vs--Rhode-Island-FC-9-20-2025'],['Miami FC vs. Pittsburgh Riverhounds SC','Pitbull Stadium','Miami, FL','Saturday','10/4/2025','TBD','6894648','Miami-FC-vs--Pittsburgh-Riverhounds-SC-10-4-2025']],'Pitbull','http://www.ticketnetwork.com/ticket/Pitbull-events.aspx');