// 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. Washington Nationals','Fenway Park','Boston, MA','Wednesday','Jul 1','TBD','7367525','Boston-Red-Sox-vs--Washington-Nationals-7-1-2026'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Friday','Jul 17','TBD','7367535','Boston-Red-Sox-vs--Tampa-Bay-Rays-7-17-2026'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Saturday','Jul 18','TBD','7367538','Boston-Red-Sox-vs--Tampa-Bay-Rays-7-18-2026'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Sunday','Jul 19','TBD','7367539','Boston-Red-Sox-vs--Tampa-Bay-Rays-7-19-2026'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Monday','Jul 20','TBD','7367544','Boston-Red-Sox-vs--Baltimore-Orioles-7-20-2026'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Tuesday','Jul 21','TBD','7367545','Boston-Red-Sox-vs--Baltimore-Orioles-7-21-2026'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Wednesday','Jul 22','TBD','7367547','Boston-Red-Sox-vs--Baltimore-Orioles-7-22-2026'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Friday','Jul 24','TBD','7367553','Boston-Red-Sox-vs--Toronto-Blue-Jays-7-24-2026'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Saturday','Jul 25','TBD','7367557','Boston-Red-Sox-vs--Toronto-Blue-Jays-7-25-2026'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Sunday','Jul 26','TBD','7367558','Boston-Red-Sox-vs--Toronto-Blue-Jays-7-26-2026']]);