// 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-01B 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. Oakland Athletics','Fenway Park','Boston, MA','Tuesday','Jul 9','7:10 PM','5814114','Boston-Red-Sox-vs--Oakland-Athletics-7-9-2024'],['Boston Red Sox vs. Oakland Athletics','Fenway Park','Boston, MA','Wednesday','Jul 10','7:10 PM','5814115','Boston-Red-Sox-vs--Oakland-Athletics-7-10-2024'],['Boston Red Sox vs. Oakland Athletics','Fenway Park','Boston, MA','Thursday','Jul 11','7:10 PM','5814116','Boston-Red-Sox-vs--Oakland-Athletics-7-11-2024'],['Boston Red Sox vs. Kansas City Royals','Fenway Park','Boston, MA','Friday','Jul 12','7:10 PM','5814117','Boston-Red-Sox-vs--Kansas-City-Royals-7-12-2024'],['Boston Red Sox vs. Kansas City Royals','Fenway Park','Boston, MA','Saturday','Jul 13','4:10 PM','5814118','Boston-Red-Sox-vs--Kansas-City-Royals-7-13-2024'],['Boston Red Sox vs. Kansas City Royals','Fenway Park','Boston, MA','Sunday','Jul 14','1:35 PM','5814119','Boston-Red-Sox-vs--Kansas-City-Royals-7-14-2024'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Friday','Jul 26','7:10 PM','5814120','Boston-Red-Sox-vs--New-York-Yankees-7-26-2024'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Saturday','Jul 27','7:15 PM','5814121','Boston-Red-Sox-vs--New-York-Yankees-7-27-2024'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Sunday','Jul 28','1:35 PM','5814122','Boston-Red-Sox-vs--New-York-Yankees-7-28-2024'],['Boston Red Sox vs. Seattle Mariners','Fenway Park','Boston, MA','Monday','Jul 29','7:10 PM','5814123','Boston-Red-Sox-vs--Seattle-Mariners-7-29-2024'],['Boston Red Sox vs. Seattle Mariners','Fenway Park','Boston, MA','Tuesday','Jul 30','7:10 PM','5814124','Boston-Red-Sox-vs--Seattle-Mariners-7-30-2024'],['Boston Red Sox vs. Seattle Mariners','Fenway Park','Boston, MA','Wednesday','Jul 31','4:10 PM','5814125','Boston-Red-Sox-vs--Seattle-Mariners-7-31-2024']]);