// 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-03A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Wynonna Judd & Melissa Etheridge','Mountain Winery','Saratoga, CA','Tuesday','7/21/2026','7:00 PM','7851539','Wynonna-Judd---Melissa-Etheridge-7-21-2026'],['Midland - Country Band','California Exposition & State Fair','Sacramento, CA','Tuesday','7/21/2026','8:00 PM','7807211','Midland---Country-Band-7-21-2026'],['James McMurtry and the Martial Law Review','The Siren','Morro Bay, CA','Wednesday','7/22/2026','7:00 PM','7946861','James-McMurtry-and-the-Martial-Law-Review-7-22-2026'],['Willie Nelson and Family','California Mid-state Fair Grounds','Paso Robles, CA','Wednesday','7/22/2026','7:30 PM','7980791','Willie-Nelson-and-Family-7-22-2026'],['Louie TheSinger','The Observatory - Santa Ana','Santa Ana, CA','Thursday','7/23/2026','7:00 PM','7977947','Louie-TheSinger-7-23-2026'],['Lauren Daigle','Pacific Amphitheatre','Costa Mesa, CA','Thursday','7/23/2026','7:30 PM','7760132','Lauren-Daigle-7-23-2026'],['Treaty Oak Revival','California Mid-state Fair Grounds','Paso Robles, CA','Thursday','7/23/2026','7:30 PM','7826427','Treaty-Oak-Revival-7-23-2026'],['Lee Brice','California Exposition & State Fair','Sacramento, CA','Thursday','7/23/2026','8:00 PM','7825110','Lee-Brice-7-23-2026'],['James McMurtry and the Martial Law Review','Rio Theatre - Santa Cruz','Santa Cruz, CA','Thursday','7/23/2026','8:00 PM','8014169','James-McMurtry-and-the-Martial-Law-Review-7-23-2026'],['Shenandoah','Dos Lagos Lakeside Amphitheater','Corona, CA','Friday','7/24/2026','6:00 PM','7726168','Shenandoah-7-24-2026']],'California Country Show','https://www.ticketnetwork.com');