// 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-04A TN_Widget.AddCss('https://fonts.googleapis.com/css?family=Open+Sans:400,700'); TN_Widget.AddCss('https://tickettransaction.com/BrokerSites/01504-011/widget2Css/WidgetStyle24.css'); TN_Widget.CreateTable([['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Friday','May 1','TBD','7367327','Boston-Red-Sox-vs--Houston-Astros-5-1-2026'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Saturday','May 2','TBD','7367328','Boston-Red-Sox-vs--Houston-Astros-5-2-2026'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Sunday','May 3','TBD','7367329','Boston-Red-Sox-vs--Houston-Astros-5-3-2026'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Thursday','May 7','TBD','7367334','Boston-Red-Sox-vs--Tampa-Bay-Rays-5-7-2026'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Friday','May 8','TBD','7367335','Boston-Red-Sox-vs--Tampa-Bay-Rays-5-8-2026'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Saturday','May 9','TBD','7367336','Boston-Red-Sox-vs--Tampa-Bay-Rays-5-9-2026'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Sunday','May 10','TBD','7367337','Boston-Red-Sox-vs--Tampa-Bay-Rays-5-10-2026'],['Boston Red Sox vs. Philadelphia Phillies','Fenway Park','Boston, MA','Tuesday','May 12','TBD','7367341','Boston-Red-Sox-vs--Philadelphia-Phillies-5-12-2026'],['Boston Red Sox vs. Philadelphia Phillies','Fenway Park','Boston, MA','Wednesday','May 13','TBD','7367342','Boston-Red-Sox-vs--Philadelphia-Phillies-5-13-2026'],['Boston Red Sox vs. Philadelphia Phillies','Fenway Park','Boston, MA','Thursday','May 14','TBD','7367343','Boston-Red-Sox-vs--Philadelphia-Phillies-5-14-2026'],['Boston Red Sox vs. Minnesota Twins','Fenway Park','Boston, MA','Friday','May 22','TBD','7367344','Boston-Red-Sox-vs--Minnesota-Twins-5-22-2026'],['Boston Red Sox vs. Minnesota Twins','Fenway Park','Boston, MA','Saturday','May 23','TBD','7367345','Boston-Red-Sox-vs--Minnesota-Twins-5-23-2026'],['Boston Red Sox vs. Minnesota Twins','Fenway Park','Boston, MA','Sunday','May 24','TBD','7367346','Boston-Red-Sox-vs--Minnesota-Twins-5-24-2026'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Tuesday','May 26','TBD','7367350','Boston-Red-Sox-vs--Atlanta-Braves-5-26-2026'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Wednesday','May 27','TBD','7367351','Boston-Red-Sox-vs--Atlanta-Braves-5-27-2026'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Thursday','May 28','TBD','7367352','Boston-Red-Sox-vs--Atlanta-Braves-5-28-2026']]);