// 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([['Under the Big Sky Music Festival: Mumford & Sons, Brent Cobb, Dylan Gossett & Hailey Whitters- Saturday','The Barns at Big Mountain Ranch','Whitefish, MT','Saturday','7/19/2025','12:00 PM','6842587','Under-the-Big-Sky-Music-Festival--Mumford---Sons--Brent-Cobb--Dylan-Gossett---Hailey-Whitters--Saturday-7-19-2025'],['Under the Big Sky Music Festival: Tyler Childers, Angel White, Jonah Kagen & Kelsey Waldon - Sunday','The Barns at Big Mountain Ranch','Whitefish, MT','Sunday','7/20/2025','12:00 PM','6842588','Under-the-Big-Sky-Music-Festival--Tyler-Childers--Angel-White--Jonah-Kagen---Kelsey-Waldon---Sunday-7-20-2025'],['The Red Clay Strays','Greek Theatre - Los Angeles CA','Los Angeles, CA','Sunday','7/20/2025','8:00 PM','7020639','The-Red-Clay-Strays-7-20-2025'],['The Red Clay Strays','California Mid-state Fair Grounds','Paso Robles, CA','Monday','7/21/2025','7:30 PM','7166431','The-Red-Clay-Strays-7-21-2025'],['The Red Clay Strays','Warfield','San Francisco, CA','Wednesday','7/23/2025','8:00 PM','7025267','The-Red-Clay-Strays-7-23-2025'],['The Red Clay Strays','Warfield','San Francisco, CA','Thursday','7/24/2025','8:00 PM','7020119','The-Red-Clay-Strays-7-24-2025'],['The Red Clay Strays','Hayden Homes Amphitheater','Bend, OR','Saturday','7/26/2025','7:00 PM','7020115','The-Red-Clay-Strays-7-26-2025'],['The Red Clay Strays','Outdoor Amphitheater At Ford Idaho Center ','Nampa, ID','Sunday','7/27/2025','8:00 PM','7021766','The-Red-Clay-Strays-7-27-2025'],['The Red Clay Strays','The Armory - Minneapolis','Minneapolis, MN','Thursday','7/31/2025','7:30 PM','7020116','The-Red-Clay-Strays-7-31-2025'],['The Red Clay Strays','BMO Pavilion','Milwaukee, WI','Saturday','8/2/2025','7:00 PM','7020124','The-Red-Clay-Strays-8-2-2025']],'"Red Clay Strays"','https://www.ticketnetwork.com');