// var TN_Widget = function() { return { //Options newWindow : true, linkText : "View Tickets", tixUrl : "https://www.ticketliquidator.com/tix/tickets.aspx", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, 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('') + '
'); } }; }(); //A10W050 TN_Widget.AddCss('https://fonts.googleapis.com/css?family=Open+Sans:400,700'); TN_Widget.AddCss('https://tickettransaction2.com/Brokers/01504-011/widget2Css/WidgetStyle28.css'); TN_Widget.CreateTable([['Buffalo Bills vs. Miami Dolphins','New Era Field','Orchard Park, NY','Sunday','Dec 17','1:00 PM','3113848','Buffalo-Bills-vs--Miami-Dolphins-12-17-2017'],['2018 IIHF World Junior Championship Group A: Canada vs. United States','New Era Field','Orchard Park, NY','Friday','Dec 29','TBD','3165436','2018-IIHF-World-Junior-Championship-Group-A--Canada-vs--United-States-12-29-2017'],['AFC Wild Card or Divisional Home Game: Buffalo Bills vs. TBD (Date: TBD - If Necessary)','New Era Field','Orchard Park, NY','Saturday','Jan 6','TBD','3321382','AFC-Wild-Card-or-Divisional-Home-Game--Buffalo-Bills-vs--TBD--Date--TBD---If-Necessary--1-6-2018'],['AFC Championship Game: Buffalo Bills vs. TBD (If Necessary)','New Era Field','Orchard Park, NY','Sunday','Jan 21','TBD','3321381','AFC-Championship-Game--Buffalo-Bills-vs--TBD--If-Necessary--1-21-2018']]);