//
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 = "";
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([['Welcome to Rockville: Guns N' Roses, Foo Fighters, My Chemical Romance & Bring Me The Horizon - 4 Day Pass','Daytona International Speedway','Daytona Beach, FL','Thursday','5/7/2026','TBD','7235838','Welcome-to-Rockville--Guns-N--Roses--Foo-Fighters--My-Chemical-Romance---Bring-Me-The-Horizon---4-Day-Pass-5-7-2026'],['Gridlife Special Stage & Formula Drift - Thursday','Michelin Raceway Road Atlanta','Braselton, GA','Thursday','5/7/2026','TBD','7642258','Gridlife-Special-Stage---Formula-Drift---Thursday-5-7-2026'],['Malpass Brothers Country and Bluegrass Music Festival - 3 Day Pass','Denton FarmPark','Denton, NC','Thursday','5/7/2026','TBD','7699023','Malpass-Brothers-Country-and-Bluegrass-Music-Festival---3-Day-Pass-5-7-2026'],['Malpass Brothers Country and Bluegrass Music Festival - Thursday','Denton FarmPark','Denton, NC','Thursday','5/7/2026','12:00 PM','7699024','Malpass-Brothers-Country-and-Bluegrass-Music-Festival---Thursday-5-7-2026'],['The Flaming Lips','White Oak Music Hall - Downstairs','Houston, TX','Thursday','5/7/2026','6:00 PM','7723631','The-Flaming-Lips-5-7-2026'],['Departure Festival: Departure Honours','Koerner Hall','Toronto, Canada','Thursday','5/7/2026','7:00 PM','7768072','Departure-Festival--Departure-Honours-5-7-2026'],['Netflix Is A Joke Festival: Dave Chappelle','Hollywood Palladium','Los Angeles, CA','Thursday','5/7/2026','7:00 PM','7916833','Netflix-Is-A-Joke-Festival--Dave-Chappelle-5-7-2026'],['Netflix Is A Joke Festival: Girls Gotta Eat','The Downtown Palace Theatre','Los Angeles, CA','Thursday','5/7/2026','7:00 PM','7754357','Netflix-Is-A-Joke-Festival--Girls-Gotta-Eat-5-7-2026'],['Netflix Is A Joke Festival: Brett Gelman','The Three Clubs','Los Angeles, CA','Thursday','5/7/2026','7:00 PM','7768411','Netflix-Is-A-Joke-Festival--Brett-Gelman-5-7-2026'],['Netflix Is A Joke Festival: Dwayne Wade & Chris Spencer','The Peppermint Club','Los Angeles, CA','Thursday','5/7/2026','7:00 PM','7768521','Netflix-Is-A-Joke-Festival--Dwayne-Wade---Chris-Spencer-5-7-2026']],'"Festival"','https://www.ticketnetwork.com');