// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, 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,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-04A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['PPA Challenger Series - Houston','Life Time Tennis of Kingwood','Humble, TX','Sunday','2/22/2026','TBD','7643575','PPA-Challenger-Series---Houston-2-22-2026'],['Sam Houston Bearkats vs. Illinois-Chicago Flames','Don Sanders Stadium','Huntsville, TX','Sunday','2/22/2026','11:00 AM','7601062','Sam-Houston-Bearkats-vs--Illinois-Chicago-Flames-2-22-2026'],['Thoroughbred Racing','Sam Houston Race Park','Houston, TX','Sunday','2/22/2026','1:00 PM','7588781','Thoroughbred-Racing-2-22-2026'],['Million Dollar Quartet','Sarofim Hall - Hobby Center','Houston, TX','Sunday','2/22/2026','2:00 PM','7119205','Million-Dollar-Quartet-2-22-2026'],['Los Inmortales','Warehouse Live Midtown','Houston, TX','Sunday','2/22/2026','3:00 PM','7740500','Los-Inmortales-2-22-2026'],['Drunk Romeo & Juliet','Emerald Theatre - Houston','Houston, TX','Sunday','2/22/2026','5:00 PM','7655883','Drunk-Romeo---Juliet-2-22-2026'],['Muertas de la Risa','Cullen Performance Hall','Houston, TX','Sunday','2/22/2026','6:00 PM','7649435','Muertas-de-la-Risa-2-22-2026'],['Matt Kirshen','Punch Line Comedy Club - Houston','Houston, TX','Sunday','2/22/2026','7:00 PM','7561346','Matt-Kirshen-2-22-2026'],['Matte Blvck','Bronze Peacock At The House Of Blues - Houston ','Houston, TX','Sunday','2/22/2026','7:00 PM','7571602','Matte-Blvck-2-22-2026'],['Spiritual Cramp','White Oak Music Hall - Upstairs','Houston, TX','Sunday','2/22/2026','7:00 PM','7354249','Spiritual-Cramp-2-22-2026']],'Houston Tx','https://www.ticketnetwork.com');