// 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-02A 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. Colorado Rockies','Fenway Park','Boston, MA','Monday','Jul 7','7:10 PM','6574329','Boston-Red-Sox-vs--Colorado-Rockies-7-7-2025'],['Boston Red Sox vs. Colorado Rockies','Fenway Park','Boston, MA','Tuesday','Jul 8','7:10 PM','6574330','Boston-Red-Sox-vs--Colorado-Rockies-7-8-2025'],['Boston Red Sox vs. Colorado Rockies','Fenway Park','Boston, MA','Wednesday','Jul 9','7:10 PM','6574331','Boston-Red-Sox-vs--Colorado-Rockies-7-9-2025'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Thursday','Jul 10','7:10 PM','6574335','Boston-Red-Sox-vs--Tampa-Bay-Rays-7-10-2025'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Friday','Jul 11','7:10 PM','6574338','Boston-Red-Sox-vs--Tampa-Bay-Rays-7-11-2025'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Saturday','Jul 12','4:10 PM','6574339','Boston-Red-Sox-vs--Tampa-Bay-Rays-7-12-2025'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Sunday','Jul 13','1:35 PM','6574342','Boston-Red-Sox-vs--Tampa-Bay-Rays-7-13-2025'],['The Rose','MGM Music Hall at Fenway Park','Boston, MA','Monday','Jul 14','8:00 PM','7074000','The-Rose-7-14-2025'],['The Lumineers, St. Vincent & Hippo Campus','Fenway Park','Boston, MA','Thursday','Jul 17','6:00 PM','7003813','The-Lumineers--St--Vincent---Hippo-Campus-7-17-2025'],['The Lumineers, St. Vincent & Hippo Campus','Fenway Park','Boston, MA','Friday','Jul 18','6:00 PM','6987676','The-Lumineers--St--Vincent---Hippo-Campus-7-18-2025'],['Pixies','MGM Music Hall at Fenway Park','Boston, MA','Friday','Jul 18','8:00 PM','6789552','Pixies-7-18-2025'],['Thomas Rhett, Teddy Swims & Tucker Wetmore','Fenway Park','Boston, MA','Saturday','Jul 19','5:30 PM','6927529','Thomas-Rhett--Teddy-Swims---Tucker-Wetmore-7-19-2025'],['Pixies','MGM Music Hall at Fenway Park','Boston, MA','Saturday','Jul 19','8:00 PM','6789553','Pixies-7-19-2025'],['Trombone Shorty and Orleans Avenue','MGM Music Hall at Fenway Park','Boston, MA','Sunday','Jul 20','6:30 PM','6873448','Trombone-Shorty-and-Orleans-Avenue-7-20-2025'],['The Saw Doctors','MGM Music Hall at Fenway Park','Boston, MA','Thursday','Jul 24','8:00 PM','7045104','The-Saw-Doctors-7-24-2025']]);