//
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([['San Diego Gulls vs. Toronto Marlies','Pechanga Arena - San Diego','San Diego, CA','Friday','1/31/2025','7:00 PM','6561571','San-Diego-Gulls-vs--Toronto-Marlies-1-31-2025'],['Bakersfield Condors vs. Toronto Marlies','Mechanics Bank Arena','Bakersfield, CA','Saturday','2/1/2025','7:00 PM','6561843','Bakersfield-Condors-vs--Toronto-Marlies-2-1-2025'],['Toronto Marlies vs. Laval Rocket','Coca-Cola Coliseum','Toronto, Canada','Friday','2/7/2025','7:00 PM','6562210','Toronto-Marlies-vs--Laval-Rocket-2-7-2025'],['Toronto Marlies vs. Laval Rocket','Coca-Cola Coliseum','Toronto, Canada','Saturday','2/8/2025','4:00 PM','6562213','Toronto-Marlies-vs--Laval-Rocket-2-8-2025'],['Toronto Marlies vs. Syracuse Crunch','Coca-Cola Coliseum','Toronto, Canada','Wednesday','2/12/2025','11:00 AM','6562220','Toronto-Marlies-vs--Syracuse-Crunch-2-12-2025'],['Belleville Senators vs. Toronto Marlies','CAA Arena','Belleville, Canada','Friday','2/14/2025','7:00 PM','6561977','Belleville-Senators-vs--Toronto-Marlies-2-14-2025'],['Toronto Marlies vs. Belleville Senators','Coca-Cola Coliseum','Toronto, Canada','Saturday','2/15/2025','4:00 PM','6562225','Toronto-Marlies-vs--Belleville-Senators-2-15-2025'],['Toronto Marlies vs. Laval Rocket','Scotiabank Arena','Toronto, Canada','Monday','2/17/2025','2:00 PM','6562232','Toronto-Marlies-vs--Laval-Rocket-2-17-2025'],['Syracuse Crunch vs. Toronto Marlies','Upstate Medical University Arena at Onondaga County War Memorial','Syracuse, NY','Friday','2/21/2025','7:00 PM','6562405','Syracuse-Crunch-vs--Toronto-Marlies-2-21-2025'],['Rochester Americans vs. Toronto Marlies','Blue Cross Arena','Rochester, NY','Saturday','2/22/2025','5:05 PM','6561895','Rochester-Americans-vs--Toronto-Marlies-2-22-2025'],['Toronto Marlies vs. Manitoba Moose','Coca-Cola Coliseum','Toronto, Canada','Sunday','2/23/2025','4:00 PM','6562237','Toronto-Marlies-vs--Manitoba-Moose-2-23-2025'],['Toronto Marlies vs. Laval Rocket','Coca-Cola Coliseum','Toronto, Canada','Wednesday','2/26/2025','11:00 AM','6562241','Toronto-Marlies-vs--Laval-Rocket-2-26-2025'],['Toronto Marlies vs. Manitoba Moose','Coca-Cola Coliseum','Toronto, Canada','Saturday','3/1/2025','4:00 PM','6562247','Toronto-Marlies-vs--Manitoba-Moose-3-1-2025'],['Toronto Marlies vs. Cleveland Monsters','Coca-Cola Coliseum','Toronto, Canada','Wednesday','3/5/2025','7:00 PM','6562249','Toronto-Marlies-vs--Cleveland-Monsters-3-5-2025'],['Providence Bruins vs. Toronto Marlies','Amica Mutual Pavilion','Providence, RI','Friday','3/7/2025','7:05 PM','6561538','Providence-Bruins-vs--Toronto-Marlies-3-7-2025'],['Bridgeport Islanders vs. Toronto Marlies','Total Mortgage Arena','Bridgeport, CT','Saturday','3/8/2025','7:00 PM','6562096','Bridgeport-Islanders-vs--Toronto-Marlies-3-8-2025'],['Toronto Marlies vs. Providence Bruins','Coca-Cola Coliseum','Toronto, Canada','Wednesday','3/12/2025','7:00 PM','6562250','Toronto-Marlies-vs--Providence-Bruins-3-12-2025'],['Toronto Marlies vs. Charlotte Checkers','Coca-Cola Coliseum','Toronto, Canada','Saturday','3/15/2025','1:30 PM','6562253','Toronto-Marlies-vs--Charlotte-Checkers-3-15-2025'],['Toronto Marlies vs. Charlotte Checkers','Coca-Cola Coliseum','Toronto, Canada','Sunday','3/16/2025','4:00 PM','6562254','Toronto-Marlies-vs--Charlotte-Checkers-3-16-2025'],['Laval Rocket vs. Toronto Marlies','Place Bell','Laval, Canada','Wednesday','3/19/2025','7:00 PM','6563000','Laval-Rocket-vs--Toronto-Marlies-3-19-2025'],['Belleville Senators vs. Toronto Marlies','CAA Arena','Belleville, Canada','Friday','3/21/2025','7:00 PM','6561988','Belleville-Senators-vs--Toronto-Marlies-3-21-2025'],['Toronto Marlies vs. Belleville Senators','Coca-Cola Coliseum','Toronto, Canada','Saturday','3/22/2025','4:00 PM','6562256','Toronto-Marlies-vs--Belleville-Senators-3-22-2025'],['Laval Rocket vs. Toronto Marlies','Place Bell','Laval, Canada','Friday','3/28/2025','7:00 PM','6563003','Laval-Rocket-vs--Toronto-Marlies-3-28-2025'],['Belleville Senators vs. Toronto Marlies','CAA Arena','Belleville, Canada','Saturday','3/29/2025','7:00 PM','6561994','Belleville-Senators-vs--Toronto-Marlies-3-29-2025'],['Toronto Marlies vs. Bridgeport Islanders','Coca-Cola Coliseum','Toronto, Canada','Sunday','3/30/2025','4:00 PM','6562258','Toronto-Marlies-vs--Bridgeport-Islanders-3-30-2025'],['Toronto Marlies vs. Utica Comets','Coca-Cola Coliseum','Toronto, Canada','Wednesday','4/2/2025','10:45 AM','6562261','Toronto-Marlies-vs--Utica-Comets-4-2-2025'],['Syracuse Crunch vs. Toronto Marlies','Upstate Medical University Arena at Onondaga County War Memorial','Syracuse, NY','Friday','4/4/2025','7:00 PM','6562506','Syracuse-Crunch-vs--Toronto-Marlies-4-4-2025'],['Toronto Marlies vs. Syracuse Crunch','Coca-Cola Coliseum','Toronto, Canada','Saturday','4/5/2025','4:00 PM','6562262','Toronto-Marlies-vs--Syracuse-Crunch-4-5-2025'],['Cleveland Monsters vs. Toronto Marlies','Rocket Mortgage FieldHouse','Cleveland, OH','Saturday','4/12/2025','12:00 PM','6562400','Cleveland-Monsters-vs--Toronto-Marlies-4-12-2025'],['Toronto Marlies vs. Cleveland Monsters','Coca-Cola Coliseum','Toronto, Canada','Sunday','4/13/2025','4:00 PM','6562264','Toronto-Marlies-vs--Cleveland-Monsters-4-13-2025'],['Utica Comets vs. Toronto Marlies','Adirondack Bank Center at Utica Memorial Auditorium','Utica, NY','Wednesday','4/16/2025','7:00 PM','6561810','Utica-Comets-vs--Toronto-Marlies-4-16-2025'],['Rochester Americans vs. Toronto Marlies','Blue Cross Arena','Rochester, NY','Friday','4/18/2025','7:05 PM','6561957','Rochester-Americans-vs--Toronto-Marlies-4-18-2025'],['Toronto Marlies vs. Rochester Americans','Coca-Cola Coliseum','Toronto, Canada','Saturday','4/19/2025','4:00 PM','6562266','Toronto-Marlies-vs--Rochester-Americans-4-19-2025']],'Toronto Marlies','https://www.ticketnetwork.com/ticket/Toronto-Marlies-events.aspx');