//
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-03A
TN_Widget.CreateTable([['Trans-Siberian Orchestra','Erie Insurance Arena','Erie, PA','Sunday','11/17/2024','2:30 PM','6684104','Trans-Siberian-Orchestra-11-17-2024'],['Trans-Siberian Orchestra','Erie Insurance Arena','Erie, PA','Sunday','11/17/2024','7:00 PM','6684105','Trans-Siberian-Orchestra-11-17-2024'],['Erie Otters vs. Brampton Steelheads','Erie Insurance Arena','Erie, PA','Wednesday','11/20/2024','7:00 PM','6547264','Erie-Otters-vs--Brampton-Steelheads-11-20-2024'],['Erie Otters vs. Soo Greyhounds','Erie Insurance Arena','Erie, PA','Friday','11/22/2024','7:00 PM','6547268','Erie-Otters-vs--Soo-Greyhounds-11-22-2024'],['Erie Otters vs. Kitchener Rangers','Erie Insurance Arena','Erie, PA','Saturday','11/23/2024','7:00 PM','6547269','Erie-Otters-vs--Kitchener-Rangers-11-23-2024'],['Erie Otters vs. Owen Sound Attack','Erie Insurance Arena','Erie, PA','Wednesday','11/27/2024','7:00 PM','6547270','Erie-Otters-vs--Owen-Sound-Attack-11-27-2024'],['Erie Otters vs. Flint Firebirds','Erie Insurance Arena','Erie, PA','Saturday','11/30/2024','7:00 PM','6547271','Erie-Otters-vs--Flint-Firebirds-11-30-2024'],['Erie Otters vs. Saginaw Spirit','Erie Insurance Arena','Erie, PA','Saturday','12/14/2024','7:00 PM','6547272','Erie-Otters-vs--Saginaw-Spirit-12-14-2024'],['Erie Otters vs. London Knights','Erie Insurance Arena','Erie, PA','Wednesday','12/18/2024','7:00 PM','6547273','Erie-Otters-vs--London-Knights-12-18-2024'],['Erie Otters vs. Guelph Storm','Erie Insurance Arena','Erie, PA','Saturday','12/28/2024','7:00 PM','6547274','Erie-Otters-vs--Guelph-Storm-12-28-2024'],['Erie Otters vs. Brantford Bulldogs','Erie Insurance Arena','Erie, PA','Tuesday','12/31/2024','6:00 PM','6547275','Erie-Otters-vs--Brantford-Bulldogs-12-31-2024'],['Erie Otters vs. Windsor Spitfires','Erie Insurance Arena','Erie, PA','Saturday','1/4/2025','7:00 PM','6547276','Erie-Otters-vs--Windsor-Spitfires-1-4-2025'],['Erie Otters vs. Saginaw Spirit','Erie Insurance Arena','Erie, PA','Friday','1/10/2025','7:00 PM','6547277','Erie-Otters-vs--Saginaw-Spirit-1-10-2025'],['Erie Otters vs. Sarnia Sting','Erie Insurance Arena','Erie, PA','Saturday','1/11/2025','7:00 PM','6547278','Erie-Otters-vs--Sarnia-Sting-1-11-2025'],['Disney On Ice: Into the Magic','Erie Insurance Arena','Erie, PA','Thursday','1/16/2025','7:00 PM','6543073','Disney-On-Ice--Into-the-Magic-1-16-2025'],['Disney On Ice: Into the Magic','Erie Insurance Arena','Erie, PA','Friday','1/17/2025','7:00 PM','6543074','Disney-On-Ice--Into-the-Magic-1-17-2025'],['Disney On Ice: Into the Magic','Erie Insurance Arena','Erie, PA','Saturday','1/18/2025','11:00 AM','6543076','Disney-On-Ice--Into-the-Magic-1-18-2025'],['Disney On Ice: Into the Magic','Erie Insurance Arena','Erie, PA','Saturday','1/18/2025','3:00 PM','6543075','Disney-On-Ice--Into-the-Magic-1-18-2025'],['Disney On Ice: Into the Magic','Erie Insurance Arena','Erie, PA','Sunday','1/19/2025','11:00 AM','6543077','Disney-On-Ice--Into-the-Magic-1-19-2025'],['Disney On Ice: Into the Magic','Erie Insurance Arena','Erie, PA','Sunday','1/19/2025','3:00 PM','6543078','Disney-On-Ice--Into-the-Magic-1-19-2025'],['Disney On Ice: Into the Magic','Erie Insurance Arena','Erie, PA','Monday','1/20/2025','12:00 PM','6543079','Disney-On-Ice--Into-the-Magic-1-20-2025'],['Erie Otters vs. Niagara IceDogs','Erie Insurance Arena','Erie, PA','Friday','1/24/2025','7:00 PM','6547279','Erie-Otters-vs--Niagara-IceDogs-1-24-2025'],['Erie Otters vs. Kitchener Rangers','Erie Insurance Arena','Erie, PA','Saturday','1/25/2025','7:00 PM','6547280','Erie-Otters-vs--Kitchener-Rangers-1-25-2025'],['Erie Otters vs. Guelph Storm','Erie Insurance Arena','Erie, PA','Tuesday','2/4/2025','11:00 AM','6547281','Erie-Otters-vs--Guelph-Storm-2-4-2025'],['Erie Otters vs. Sudbury Wolves','Erie Insurance Arena','Erie, PA','Saturday','2/8/2025','7:00 PM','6547282','Erie-Otters-vs--Sudbury-Wolves-2-8-2025'],['Erie Otters vs. Niagara IceDogs','Erie Insurance Arena','Erie, PA','Wednesday','2/12/2025','7:00 PM','6547283','Erie-Otters-vs--Niagara-IceDogs-2-12-2025'],['Erie Otters vs. Oshawa Generals','Erie Insurance Arena','Erie, PA','Friday','2/21/2025','7:00 PM','6547284','Erie-Otters-vs--Oshawa-Generals-2-21-2025'],['Erie Otters vs. London Knights','Erie Insurance Arena','Erie, PA','Saturday','2/22/2025','7:00 PM','6547285','Erie-Otters-vs--London-Knights-2-22-2025'],['Erie Otters vs. Flint Firebirds','Erie Insurance Arena','Erie, PA','Saturday','3/1/2025','7:00 PM','6547286','Erie-Otters-vs--Flint-Firebirds-3-1-2025'],['Erie Otters vs. Peterborough Petes','Erie Insurance Arena','Erie, PA','Sunday','3/2/2025','4:00 PM','6547287','Erie-Otters-vs--Peterborough-Petes-3-2-2025'],['Erie Otters vs. Owen Sound Attack','Erie Insurance Arena','Erie, PA','Friday','3/7/2025','7:00 PM','6547288','Erie-Otters-vs--Owen-Sound-Attack-3-7-2025'],['Erie Otters vs. Owen Sound Attack','Erie Insurance Arena','Erie, PA','Saturday','3/8/2025','7:00 PM','6547289','Erie-Otters-vs--Owen-Sound-Attack-3-8-2025'],['Erie Otters vs. Niagara IceDogs','Erie Insurance Arena','Erie, PA','Saturday','3/15/2025','7:00 PM','6547290','Erie-Otters-vs--Niagara-IceDogs-3-15-2025'],['Erie Otters vs. Guelph Storm','Erie Insurance Arena','Erie, PA','Sunday','3/16/2025','4:00 PM','6547291','Erie-Otters-vs--Guelph-Storm-3-16-2025'],['Erie Otters vs. Ottawa 67s','Erie Insurance Arena','Erie, PA','Saturday','3/22/2025','7:00 PM','6547293','Erie-Otters-vs--Ottawa-67s-3-22-2025'],['Erie Otters vs. London Knights','Erie Insurance Arena','Erie, PA','Sunday','3/23/2025','4:00 PM','6547294','Erie-Otters-vs--London-Knights-3-23-2025'],['The Harlem Globetrotters','Erie Insurance Arena','Erie, PA','Monday','4/14/2025','7:00 PM','6711070','The-Harlem-Globetrotters-4-14-2025']],'Erie Insurance Arena','https://www.ticketnetwork.com/ticket/Erie-Insurance-Arena-events.aspx');