//
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 + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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-03B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Boots & Brews Country Music Festival: Lee Brice, Michael Ray, Eddie Montgomery & Dasha','Morgan Hill Outdoor Sports Center','Morgan Hill, CA','Saturday','6/29/2024','1:00 PM','6368020','Boots---Brews-Country-Music-Festival--Lee-Brice--Michael-Ray--Eddie-Montgomery---Dasha-6-29-2024'],['Cowboys Music Festival: Bailey Zimmerman, Nate Smith & Dasha - Wednesday','Cowboys Music Festival','Calgary, Canada','Wednesday','7/10/2024','5:00 PM','6161114','Cowboys-Music-Festival--Bailey-Zimmerman--Nate-Smith---Dasha---Wednesday-7-10-2024'],['Sturgis Buffalo Chip's Motorcycle and Music Festival: Jelly Roll & Dasha - Campground Admission','Buffalo Chip Campground','Sturgis, SD','Tuesday','8/6/2024','TBD','6164899','Sturgis-Buffalo-Chip-s-Motorcycle-and-Music-Festival--Jelly-Roll---Dasha---Campground-Admission-8-6-2024'],['Country in the Park: Dierks Bentley, Parmalee, Dasha & Kelsey Hart','Heart Health Park','Sacramento, CA','Saturday','9/28/2024','3:00 PM','6459152','Country-in-the-Park--Dierks-Bentley--Parmalee--Dasha---Kelsey-Hart-9-28-2024'],['Dasha','Bowery Ballroom','New York, NY','Tuesday','10/8/2024','7:00 PM','6518859','Dasha-10-8-2024'],['Dasha','Brighton Music Hall - MA','Allston, MA','Wednesday','10/9/2024','7:00 PM','6518863','Dasha-10-9-2024'],['Dasha','Bluebird Theater','Denver, CO','Monday','10/14/2024','8:00 PM','6518867','Dasha-10-14-2024'],['Dasha','Soundwell','Salt Lake City, UT','Tuesday','10/15/2024','8:00 PM','6519105','Dasha-10-15-2024'],['Dasha','SLO Brew Rock','San Luis Obispo, CA','Friday','10/18/2024','8:00 PM','6519151','Dasha-10-18-2024'],['Dasha','Roxy Theatre - CA','West Hollywood, CA','Saturday','10/19/2024','8:00 PM','6518861','Dasha-10-19-2024']],'"Dasha"','https://www.ticketnetwork.com');