// var TN_Widget = function() { return { //Options newWindow : true, linkText : "View Tickets", tixUrl : "https://www.ticketliquidator.com/tickets/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions CreateCustomUrl : function(row) { var customUrl = row[6] + '/' + row[0].replace(/\//g, '') + '-tickets-' + row[3].substring(0,3) + '-' + row[4] + '-' + row[7].substring(row[7].length - 4) + '-' + row[1] return customUrl.replace(/\s+/g, '-').replace(/&/g, '').replace(/[.,#!$%^&*;:{}=_`~()]/g, '').toLowerCase(); }, CreateEventRow : function(row, isAlt) { return "" + "
" + row[3].substring(0,3) + "" + row[4] + "" + row[5] + "
" + "" + row[0] +"" + "" + "" + row[1] + "" + "" + row[2] + "" + "Tickets"; }, 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) { 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'; else document.write('
' + newTable.join('') + '
'); } }; }(); //BPW-TNSERV-01A TN_Widget.AddCss('https://fonts.googleapis.com/css?family=Open+Sans:400,700'); TN_Widget.AddCss('https://tickettransaction.com/BrokerSites/01504-011/widget2Css/WidgetStyle25.css'); TN_Widget.CreateTable([['Erie Seawolves vs. Harrisburg Senators','UPMC Park','Erie, PA','Sunday','Apr 28','1:35 PM','5959110','Erie-Seawolves-vs--Harrisburg-Senators-4-28-2024'],['Godsmack','Warner Theatre - PA','Erie, PA','Tuesday','Apr 30','8:00 PM','6117456','Godsmack-4-30-2024'],['Erie Seawolves vs. Richmond Flying Squirrels','UPMC Park','Erie, PA','Tuesday','May 7','6:05 PM','5959118','Erie-Seawolves-vs--Richmond-Flying-Squirrels-5-7-2024'],['Erie Seawolves vs. Richmond Flying Squirrels','UPMC Park','Erie, PA','Wednesday','May 8','11:05 AM','5959119','Erie-Seawolves-vs--Richmond-Flying-Squirrels-5-8-2024'],['Erie Seawolves vs. Richmond Flying Squirrels','UPMC Park','Erie, PA','Thursday','May 9','6:05 PM','5959120','Erie-Seawolves-vs--Richmond-Flying-Squirrels-5-9-2024']]);