// 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-01A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Grateful Dub - Grateful Dead Tribute','Charleston Pour House','Charleston, SC','Monday','3/9/2026','7:30 PM','7636208','Grateful-Dub---Grateful-Dead-Tribute-3-9-2026'],['Hidden City Music Festival: Zeds Dead, Of The Trees, & Malaa's Alter Ego - 2 Day Pass','Columbia Motor Speedway','Cayce, SC','Friday','4/17/2026','TBD','7752010','Hidden-City-Music-Festival--Zeds-Dead--Of-The-Trees----Malaa-s-Alter-Ego---2-Day-Pass-4-17-2026'],['Dance With The Dead & Magic Sword','Higher Ground','South Burlington, VT','Saturday','4/25/2026','8:00 PM','7600101','Dance-With-The-Dead---Magic-Sword-4-25-2026'],['All That Remains, Born of Osiris & Dead Eyes','Music Farm - Charleston','Charleston, SC','Friday','5/8/2026','8:00 PM','7630027','All-That-Remains--Born-of-Osiris---Dead-Eyes-5-8-2026'],['All That Remains, Born of Osiris & Dead Eyes','The Radio Room Greenville','Greenville, SC','Saturday','5/9/2026','6:30 PM','7630030','All-That-Remains--Born-of-Osiris---Dead-Eyes-5-9-2026'],['Live Dead & Brothers','Charleston Pour House','Charleston, SC','Sunday','5/10/2026','8:00 PM','7737240','Live-Dead---Brothers-5-10-2026'],['Dead as a Dodo','Memminger Auditorium at Festival Hall','Charleston, SC','Friday','5/29/2026','6:00 PM','7725276','Dead-as-a-Dodo-5-29-2026'],['Dead as a Dodo','Memminger Auditorium at Festival Hall','Charleston, SC','Saturday','5/30/2026','11:00 AM','7725277','Dead-as-a-Dodo-5-30-2026'],['Dead as a Dodo','Memminger Auditorium at Festival Hall','Charleston, SC','Saturday','5/30/2026','3:00 PM','7725278','Dead-as-a-Dodo-5-30-2026'],['Dead as a Dodo','Memminger Auditorium at Festival Hall','Charleston, SC','Sunday','5/31/2026','3:00 PM','7725280','Dead-as-a-Dodo-5-31-2026']],'"The Dead South"','https://www.ticketnetwork.com');