// 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-03A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Christmas Oratorio with Winchendon Players','Mechanics Hall - Worcester','Worcester, MA','Saturday','1/24/2026','8:00 PM','7270372','Christmas-Oratorio-with-Winchendon-Players-1-24-2026'],['New York Philharmonic','Radio City Music Hall','New York, NY','Sunday','1/25/2026','7:00 PM','7617503','New-York-Philharmonic-1-25-2026'],['Gregory Alan Isakov & The Colorado Symphony','Radio City Music Hall','New York, NY','Friday','1/30/2026','8:00 PM','7308191','Gregory-Alan-Isakov---The-Colorado-Symphony-1-30-2026'],['Gregory Alan Isakov & The Colorado Symphony','Radio City Music Hall','New York, NY','Saturday','1/31/2026','8:00 PM','7353152','Gregory-Alan-Isakov---The-Colorado-Symphony-1-31-2026'],['Jimmy O. Yang','Radio City Music Hall','New York, NY','Saturday','2/7/2026','7:00 PM','7552954','Jimmy-O--Yang-2-7-2026'],['A Motown Christmas','Center Stage Theatre','Atlanta, GA','Friday','2/13/2026','8:00 PM','7564024','A-Motown-Christmas-2-13-2026'],['A Boogie Wit Da Hoodie','Radio City Music Hall','New York, NY','Friday','2/13/2026','8:00 PM','7609453','A-Boogie-Wit-Da-Hoodie-2-13-2026'],['Yandel','Radio City Music Hall','New York, NY','Saturday','2/14/2026','8:00 PM','7556207','Yandel-2-14-2026'],['Dancing with the Stars Live','Radio City Music Hall','New York, NY','Sunday','2/15/2026','2:00 PM','7493163','Dancing-with-the-Stars-Live-2-15-2026'],['Dancing with the Stars Live','Radio City Music Hall','New York, NY','Sunday','2/15/2026','8:00 PM','7477375','Dancing-with-the-Stars-Live-2-15-2026']],'Christmas','https://www.ticketnetwork.com');