// 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-03B 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','Aug 9','7:10 PM','5814126','Boston-Red-Sox-vs--Houston-Astros-8-9-2024'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Saturday','Aug 10','4:10 PM','5814127','Boston-Red-Sox-vs--Houston-Astros-8-10-2024'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Sunday','Aug 11','1:35 PM','5814128','Boston-Red-Sox-vs--Houston-Astros-8-11-2024'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Monday','Aug 12','7:10 PM','5814129','Boston-Red-Sox-vs--Texas-Rangers-8-12-2024'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Tuesday','Aug 13','7:10 PM','5814130','Boston-Red-Sox-vs--Texas-Rangers-8-13-2024'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Wednesday','Aug 14','6:10 PM','5814131','Boston-Red-Sox-vs--Texas-Rangers-8-14-2024'],['Boston Red Sox vs. Arizona Diamondbacks','Fenway Park','Boston, MA','Friday','Aug 23','7:10 PM','5814132','Boston-Red-Sox-vs--Arizona-Diamondbacks-8-23-2024'],['Boston Red Sox vs. Arizona Diamondbacks','Fenway Park','Boston, MA','Saturday','Aug 24','4:10 PM','5814133','Boston-Red-Sox-vs--Arizona-Diamondbacks-8-24-2024'],['Boston Red Sox vs. Arizona Diamondbacks','Fenway Park','Boston, MA','Sunday','Aug 25','1:35 PM','5814134','Boston-Red-Sox-vs--Arizona-Diamondbacks-8-25-2024'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Monday','Aug 26','7:10 PM','5814135','Boston-Red-Sox-vs--Toronto-Blue-Jays-8-26-2024'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Tuesday','Aug 27','7:10 PM','5814136','Boston-Red-Sox-vs--Toronto-Blue-Jays-8-27-2024'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Wednesday','Aug 28','7:10 PM','5814137','Boston-Red-Sox-vs--Toronto-Blue-Jays-8-28-2024'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Thursday','Aug 29','7:10 PM','5814138','Boston-Red-Sox-vs--Toronto-Blue-Jays-8-29-2024']]);