//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
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,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Cleveland Cavaliers vs. Atlanta Hawks','Rocket Mortgage FieldHouse','Cleveland, OH','Thursday','1/30/2025','7:00 PM','6633867','Cleveland-Cavaliers-vs--Atlanta-Hawks-1-30-2025'],['Cleveland Cavaliers vs. Dallas Mavericks','Rocket Mortgage FieldHouse','Cleveland, OH','Sunday','2/2/2025','3:30 PM','6633870','Cleveland-Cavaliers-vs--Dallas-Mavericks-2-2-2025'],['Cleveland Cavaliers vs. Boston Celtics','Rocket Mortgage FieldHouse','Cleveland, OH','Tuesday','2/4/2025','7:00 PM','6633874','Cleveland-Cavaliers-vs--Boston-Celtics-2-4-2025'],['Detroit Pistons vs. Cleveland Cavaliers','Little Caesars Arena','Detroit, MI','Wednesday','2/5/2025','7:00 PM','6633746','Detroit-Pistons-vs--Cleveland-Cavaliers-2-5-2025'],['Washington Wizards vs. Cleveland Cavaliers','Capital One Arena','Washington, DC','Friday','2/7/2025','7:00 PM','6634491','Washington-Wizards-vs--Cleveland-Cavaliers-2-7-2025'],['Cleveland Cavaliers vs. Minnesota Timberwolves','Rocket Mortgage FieldHouse','Cleveland, OH','Monday','2/10/2025','7:00 PM','6633877','Cleveland-Cavaliers-vs--Minnesota-Timberwolves-2-10-2025'],['Toronto Raptors vs. Cleveland Cavaliers','Scotiabank Arena','Toronto, Canada','Wednesday','2/12/2025','7:30 PM','6634056','Toronto-Raptors-vs--Cleveland-Cavaliers-2-12-2025'],['Brooklyn Nets vs. Cleveland Cavaliers','Barclays Center','Brooklyn, NY','Thursday','2/20/2025','7:30 PM','6634255','Brooklyn-Nets-vs--Cleveland-Cavaliers-2-20-2025'],['Cleveland Cavaliers vs. New York Knicks','Rocket Mortgage FieldHouse','Cleveland, OH','Friday','2/21/2025','7:00 PM','6633880','Cleveland-Cavaliers-vs--New-York-Knicks-2-21-2025'],['Cleveland Cavaliers vs. Memphis Grizzlies','Rocket Mortgage FieldHouse','Cleveland, OH','Sunday','2/23/2025','7:30 PM','6633884','Cleveland-Cavaliers-vs--Memphis-Grizzlies-2-23-2025'],['Orlando Magic vs. Cleveland Cavaliers','Kia Center','Orlando, FL','Tuesday','2/25/2025','7:30 PM','6634705','Orlando-Magic-vs--Cleveland-Cavaliers-2-25-2025'],['Boston Celtics vs. Cleveland Cavaliers','TD Garden','Boston, MA','Friday','2/28/2025','7:30 PM','6633547','Boston-Celtics-vs--Cleveland-Cavaliers-2-28-2025'],['Cleveland Cavaliers vs. Portland Trail Blazers','Rocket Mortgage FieldHouse','Cleveland, OH','Sunday','3/2/2025','3:30 PM','6633887','Cleveland-Cavaliers-vs--Portland-Trail-Blazers-3-2-2025'],['Chicago Bulls vs. Cleveland Cavaliers','United Center','Chicago, IL','Tuesday','3/4/2025','7:00 PM','6634430','Chicago-Bulls-vs--Cleveland-Cavaliers-3-4-2025'],['Cleveland Cavaliers vs. Miami Heat','Rocket Mortgage FieldHouse','Cleveland, OH','Wednesday','3/5/2025','7:00 PM','6633891','Cleveland-Cavaliers-vs--Miami-Heat-3-5-2025'],['Charlotte Hornets vs. Cleveland Cavaliers','Spectrum Center','Charlotte, NC','Friday','3/7/2025','7:00 PM','6634094','Charlotte-Hornets-vs--Cleveland-Cavaliers-3-7-2025'],['Milwaukee Bucks vs. Cleveland Cavaliers','Fiserv Forum','Milwaukee, WI','Sunday','3/9/2025','6:00 PM','6633862','Milwaukee-Bucks-vs--Cleveland-Cavaliers-3-9-2025'],['Cleveland Cavaliers vs. Brooklyn Nets','Rocket Mortgage FieldHouse','Cleveland, OH','Tuesday','3/11/2025','7:00 PM','6633893','Cleveland-Cavaliers-vs--Brooklyn-Nets-3-11-2025'],['Memphis Grizzlies vs. Cleveland Cavaliers','FedExForum','Memphis, TN','Friday','3/14/2025','7:00 PM','6634201','Memphis-Grizzlies-vs--Cleveland-Cavaliers-3-14-2025'],['Cleveland Cavaliers vs. Orlando Magic','Rocket Mortgage FieldHouse','Cleveland, OH','Sunday','3/16/2025','6:00 PM','6633896','Cleveland-Cavaliers-vs--Orlando-Magic-3-16-2025'],['Los Angeles Clippers vs. Cleveland Cavaliers','Intuit Dome','Inglewood, CA','Tuesday','3/18/2025','7:30 PM','6634350','Los-Angeles-Clippers-vs--Cleveland-Cavaliers-3-18-2025'],['Sacramento Kings vs. Cleveland Cavaliers','Golden 1 Center','Sacramento, CA','Wednesday','3/19/2025','7:00 PM','6634692','Sacramento-Kings-vs--Cleveland-Cavaliers-3-19-2025'],['Phoenix Suns vs. Cleveland Cavaliers','Footprint Center','Phoenix, AZ','Friday','3/21/2025','7:00 PM','6634486','Phoenix-Suns-vs--Cleveland-Cavaliers-3-21-2025'],['Utah Jazz vs. Cleveland Cavaliers','Delta Center','Salt Lake City, UT','Sunday','3/23/2025','1:30 PM','6634751','Utah-Jazz-vs--Cleveland-Cavaliers-3-23-2025'],['Portland Trail Blazers vs. Cleveland Cavaliers','Moda Center at the Rose Quarter','Portland, OR','Tuesday','3/25/2025','7:00 PM','6634182','Portland-Trail-Blazers-vs--Cleveland-Cavaliers-3-25-2025'],['Cleveland Cavaliers vs. San Antonio Spurs','Rocket Mortgage FieldHouse','Cleveland, OH','Thursday','3/27/2025','7:00 PM','6633899','Cleveland-Cavaliers-vs--San-Antonio-Spurs-3-27-2025'],['Detroit Pistons vs. Cleveland Cavaliers','Little Caesars Arena','Detroit, MI','Friday','3/28/2025','7:00 PM','6633781','Detroit-Pistons-vs--Cleveland-Cavaliers-3-28-2025'],['Cleveland Cavaliers vs. Los Angeles Clippers','Rocket Mortgage FieldHouse','Cleveland, OH','Sunday','3/30/2025','3:30 PM','6633902','Cleveland-Cavaliers-vs--Los-Angeles-Clippers-3-30-2025'],['Cleveland Cavaliers vs. New York Knicks','Rocket Mortgage FieldHouse','Cleveland, OH','Wednesday','4/2/2025','7:00 PM','6633904','Cleveland-Cavaliers-vs--New-York-Knicks-4-2-2025'],['San Antonio Spurs vs. Cleveland Cavaliers','Frost Bank Center','San Antonio, TX','Friday','4/4/2025','7:00 PM','6633838','San-Antonio-Spurs-vs--Cleveland-Cavaliers-4-4-2025'],['Cleveland Cavaliers vs. Sacramento Kings','Rocket Mortgage FieldHouse','Cleveland, OH','Sunday','4/6/2025','6:00 PM','6633906','Cleveland-Cavaliers-vs--Sacramento-Kings-4-6-2025'],['Cleveland Cavaliers vs. Chicago Bulls','Rocket Mortgage FieldHouse','Cleveland, OH','Tuesday','4/8/2025','7:00 PM','6633909','Cleveland-Cavaliers-vs--Chicago-Bulls-4-8-2025'],['Indiana Pacers vs. Cleveland Cavaliers','Gainbridge Fieldhouse','Indianapolis, IN','Thursday','4/10/2025','7:00 PM','6633672','Indiana-Pacers-vs--Cleveland-Cavaliers-4-10-2025'],['New York Knicks vs. Cleveland Cavaliers','Madison Square Garden','New York, NY','Friday','4/11/2025','7:30 PM','6633883','New-York-Knicks-vs--Cleveland-Cavaliers-4-11-2025'],['Cleveland Cavaliers vs. Indiana Pacers','Rocket Mortgage FieldHouse','Cleveland, OH','Sunday','4/13/2025','1:00 PM','6633910','Cleveland-Cavaliers-vs--Indiana-Pacers-4-13-2025']],'','https://www.ticketnetwork.com');