// 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([['In Spite of Ourselves - An Evening of John Prine','Festival Place - Sherwood Park','Sherwood Park, Canada','Monday','10/26/2026','7:30 PM','8151181','In-Spite-of-Ourselves---An-Evening-of-John-Prine-10-26-2026'],['WYRK Stars with Guitars Fall Acoustic Concert','University at Buffalo Center For The Arts','Buffalo, NY','Wednesday','10/28/2026','7:00 PM','8321533','WYRK-Stars-with-Guitars-Fall-Acoustic-Concert-10-28-2026'],['Legends Show','Festival Place - Sherwood Park','Sherwood Park, Canada','Wednesday','10/28/2026','7:00 PM','8151175','Legends-Show-10-28-2026'],['Outdoor Outdoor Film Festival','Irving Oil Auditorium at Imperial Theatre - Saint John','Saint John, Canada','Thursday','10/29/2026','7:00 PM','8170930','Outdoor-Outdoor-Film-Festival-10-29-2026'],['Legends Show','Festival Place - Sherwood Park','Sherwood Park, Canada','Thursday','10/29/2026','7:00 PM','8151176','Legends-Show-10-29-2026'],['Freaky Deaky - 2 Day Pass','Travis County Expo Center','Austin, TX','Friday','10/30/2026','TBD','7881950','Freaky-Deaky---2-Day-Pass-10-30-2026'],['Freaky Deaky: Porter Robinson & Fisher - 2 Day Pass','Mardi Gras World','New Orleans, LA','Friday','10/30/2026','TBD','8219040','Freaky-Deaky--Porter-Robinson---Fisher---2-Day-Pass-10-30-2026'],['BOO Arizona: The Chainsmokers, Deorro, Level Up & Restricted - 2 Day Pass','Westworld Of Scottsdale','Scottsdale, AZ','Friday','10/30/2026','TBD','8197574','BOO-Arizona--The-Chainsmokers--Deorro--Level-Up---Restricted---2-Day-Pass-10-30-2026'],['Escape Halloween Festival - 2 Day Pass','Nos Events Center','San Bernardino, CA','Friday','10/30/2026','TBD','7629572','Escape-Halloween-Festival---2-Day-Pass-10-30-2026'],['Boo Seattle - 2 Day Pass','Wamu Theater At Lumen Field Event Center','Seattle, WA','Friday','10/30/2026','TBD','7939493','Boo-Seattle---2-Day-Pass-10-30-2026']],'Festival','https://www.ticketnetwork.com');