//
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([['Andy Grammer','Vogue Theatre - BC','Vancouver, Canada','Friday','8/1/2025','8:00 PM','7049664','Andy-Grammer-8-1-2025'],['Andy Grammer','Spokane Live At Spokane Tribe Casino','Airway Heights, WA','Saturday','8/2/2025','8:00 PM','7049665','Andy-Grammer-8-2-2025'],['Andy Grammer','Chateau Ste Michelle Winery','Woodinville, WA','Sunday','8/3/2025','7:00 PM','7006952','Andy-Grammer-8-3-2025'],['Andy Grammer','Knitting Factory Concert House - Boise','Boise, ID','Tuesday','8/5/2025','8:00 PM','7049024','Andy-Grammer-8-5-2025'],['Andy Grammer','Britt Festival Pavilion & Gardens','Jacksonville, OR','Wednesday','8/6/2025','7:30 PM','6992541','Andy-Grammer-8-6-2025'],['Andy Grammer','Mountain Winery','Saratoga, CA','Friday','8/8/2025','7:30 PM','7053848','Andy-Grammer-8-8-2025'],['Andy Grammer','Denver Botanic Gardens','Denver, CO','Wednesday','8/13/2025','TBD','7024090','Andy-Grammer-8-13-2025'],['Andy Grammer','The Admiral - Omaha','Omaha, NE','Thursday','8/14/2025','7:00 PM','7048135','Andy-Grammer-8-14-2025'],['Andy Grammer','Vetter Stone Amphitheatre','Mankato, MN','Friday','8/15/2025','7:00 PM','7049153','Andy-Grammer-8-15-2025'],['Andy Grammer','New Lenox Performing Arts Pavilion','New Lenox, IL','Saturday','8/16/2025','5:30 PM','7049670','Andy-Grammer-8-16-2025'],['Andy Grammer','Evans Amphitheatre At Cain Park','Cleveland, OH','Tuesday','8/19/2025','7:30 PM','7049672','Andy-Grammer-8-19-2025'],['Andy Grammer','Xcite Center At Parx Casino and Racing','Bensalem, PA','Friday','8/22/2025','8:00 PM','7049675','Andy-Grammer-8-22-2025'],['Andy Grammer','The Rooftop at Pier 17','New York, NY','Saturday','8/23/2025','7:00 PM','7049496','Andy-Grammer-8-23-2025'],['Andy Grammer','South Shore Music Circus','Cohasset, MA','Sunday','8/24/2025','8:00 PM','6983334','Andy-Grammer-8-24-2025'],['Andy Grammer','Summer Stage at Tree House Brewing Company - Deerfield','South Deerfield, MA','Tuesday','8/26/2025','7:00 PM','7049676','Andy-Grammer-8-26-2025'],['Andy Grammer','Hampton Beach Casino Ballroom','Hampton, NH','Wednesday','8/27/2025','8:00 PM','7049152','Andy-Grammer-8-27-2025'],['Andy Grammer','Freeman Arts Pavilion','Selbyville, DE','Thursday','8/28/2025','7:00 PM','6981286','Andy-Grammer-8-28-2025'],['Andy Grammer','Brown Theatre at The Kentucky Center','Louisville, KY','Sunday','3/17/2075','8:00 PM','6746553','Andy-Grammer-3-17-2075']],'','https://www.ticketnetwork.com');