// 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. Minnesota Twins','Fenway Park','Boston, MA','Friday','May 2','7:10 PM','6574233','Boston-Red-Sox-vs--Minnesota-Twins-5-2-2025'],['Boston Red Sox vs. Minnesota Twins','Fenway Park','Boston, MA','Saturday','May 3','4:10 PM','6574234','Boston-Red-Sox-vs--Minnesota-Twins-5-3-2025'],['Boston Red Sox vs. Minnesota Twins','Fenway Park','Boston, MA','Sunday','May 4','1:35 PM','6574235','Boston-Red-Sox-vs--Minnesota-Twins-5-4-2025'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Tuesday','May 6','6:45 PM','6574238','Boston-Red-Sox-vs--Texas-Rangers-5-6-2025'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Wednesday','May 7','6:45 PM','6574239','Boston-Red-Sox-vs--Texas-Rangers-5-7-2025'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Thursday','May 8','1:35 PM','6574240','Boston-Red-Sox-vs--Texas-Rangers-5-8-2025'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Friday','May 16','7:10 PM','6574257','Boston-Red-Sox-vs--Atlanta-Braves-5-16-2025'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Saturday','May 17','7:15 PM','6574260','Boston-Red-Sox-vs--Atlanta-Braves-5-17-2025'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Sunday','May 18','1:35 PM','6574261','Boston-Red-Sox-vs--Atlanta-Braves-5-18-2025'],['Boston Red Sox vs. New York Mets','Fenway Park','Boston, MA','Monday','May 19','6:45 PM','6574268','Boston-Red-Sox-vs--New-York-Mets-5-19-2025'],['Boston Red Sox vs. New York Mets','Fenway Park','Boston, MA','Tuesday','May 20','6:45 PM','6574270','Boston-Red-Sox-vs--New-York-Mets-5-20-2025'],['Boston Red Sox vs. New York Mets','Fenway Park','Boston, MA','Wednesday','May 21','6:45 PM','6574272','Boston-Red-Sox-vs--New-York-Mets-5-21-2025'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Thursday','May 22','6:45 PM','6574276','Boston-Red-Sox-vs--Baltimore-Orioles-5-22-2025'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Friday','May 23','7:10 PM','6574277','Boston-Red-Sox-vs--Baltimore-Orioles-5-23-2025'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Saturday','May 24','4:10 PM','6574278','Boston-Red-Sox-vs--Baltimore-Orioles-5-24-2025'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Sunday','May 25','1:35 PM','6574279','Boston-Red-Sox-vs--Baltimore-Orioles-5-25-2025']]);