// 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([['San Francisco 49ers vs. Tennessee Titans','Levi's Stadium','Santa Clara, CA','Sunday','Dec 17','1:25 PM','3114207','San-Francisco-49ers-vs--Tennessee-Titans-12-17-2017'],['San Francisco 49ers vs. Jacksonville Jaguars','Levi's Stadium','Santa Clara, CA','Sunday','Dec 24','1:05 PM','3114206','San-Francisco-49ers-vs--Jacksonville-Jaguars-12-24-2017'],['Foster Farms Bowl: Arizona Wildcats vs. Purdue Boilermakers','Levi's Stadium','Santa Clara, CA','Wednesday','Dec 27','5:30 PM','3164448','Foster-Farms-Bowl--Arizona-Wildcats-vs--Purdue-Boilermakers-12-27-2017'],['Friendly: Mexico vs. TBD','Levi's Stadium','Santa Clara, CA','Friday','Mar 23','TBD','3355869','Friendly--Mexico-vs--TBD-3-23-2018'],['Monster Jam','Levi's Stadium','Santa Clara, CA','Saturday','Apr 28','7:00 PM','3253774','Monster-Jam-4-28-2018'],['Taylor Swift','Levi's Stadium','Santa Clara, CA','Saturday','May 12','7:00 PM','3320095','Taylor-Swift-5-12-2018']]);