// 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-01A 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 1','7:10 PM','6574366','Boston-Red-Sox-vs--Houston-Astros-8-1-2025'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Saturday','Aug 2','4:10 PM','6574367','Boston-Red-Sox-vs--Houston-Astros-8-2-2025'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Sunday','Aug 3','1:35 PM','6574368','Boston-Red-Sox-vs--Houston-Astros-8-3-2025'],['Boston Red Sox vs. Kansas City Royals','Fenway Park','Boston, MA','Monday','Aug 4','7:10 PM','6574380','Boston-Red-Sox-vs--Kansas-City-Royals-8-4-2025'],['Boston Red Sox vs. Kansas City Royals','Fenway Park','Boston, MA','Tuesday','Aug 5','7:10 PM','6574381','Boston-Red-Sox-vs--Kansas-City-Royals-8-5-2025'],['Boston Red Sox vs. Kansas City Royals','Fenway Park','Boston, MA','Wednesday','Aug 6','7:10 PM','6574382','Boston-Red-Sox-vs--Kansas-City-Royals-8-6-2025'],['Boston Red Sox vs. Miami Marlins','Fenway Park','Boston, MA','Friday','Aug 15','7:10 PM','6574389','Boston-Red-Sox-vs--Miami-Marlins-8-15-2025'],['Boston Red Sox vs. Miami Marlins','Fenway Park','Boston, MA','Saturday','Aug 16','4:10 PM','6574390','Boston-Red-Sox-vs--Miami-Marlins-8-16-2025'],['Boston Red Sox vs. Miami Marlins','Fenway Park','Boston, MA','Sunday','Aug 17','1:35 PM','6574391','Boston-Red-Sox-vs--Miami-Marlins-8-17-2025'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Monday','Aug 18','7:10 PM','6574398','Boston-Red-Sox-vs--Baltimore-Orioles-8-18-2025'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Tuesday','Aug 19','7:10 PM','6574399','Boston-Red-Sox-vs--Baltimore-Orioles-8-19-2025'],['Boston Red Sox vs. Pittsburgh Pirates','Fenway Park','Boston, MA','Friday','Aug 29','7:10 PM','6574410','Boston-Red-Sox-vs--Pittsburgh-Pirates-8-29-2025'],['Boston Red Sox vs. Pittsburgh Pirates','Fenway Park','Boston, MA','Saturday','Aug 30','4:10 PM','6574411','Boston-Red-Sox-vs--Pittsburgh-Pirates-8-30-2025'],['Boston Red Sox vs. Pittsburgh Pirates','Fenway Park','Boston, MA','Sunday','Aug 31','1:35 PM','6574412','Boston-Red-Sox-vs--Pittsburgh-Pirates-8-31-2025']]);