// 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-03B TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Windy City Smokeout: Thomas Rhett, Parker McCollum, Cody Johnson & Carrie Underwood - 4 Day Pass','Windy City Smokeout','Chicago, IL','Thursday','7/11/2024','TBD','5884783','Windy-City-Smokeout--Thomas-Rhett--Parker-McCollum--Cody-Johnson---Carrie-Underwood---4-Day-Pass-7-11-2024'],['Windy City Smokeout: Carrie Underwood, Nate Smith & Muscadine Bloodline - Sunday','Windy City Smokeout','Chicago, IL','Sunday','7/14/2024','1:00 PM','5884787','Windy-City-Smokeout--Carrie-Underwood--Nate-Smith---Muscadine-Bloodline---Sunday-7-14-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Empower Federal Credit Union Amphitheater at Lakeview','Syracuse, NY','Thursday','7/18/2024','7:00 PM','5995731','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-7-18-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Hartford HealthCare Amphitheater','Bridgeport, CT','Friday','7/19/2024','7:00 PM','5995732','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-7-19-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Knoxville Civic Coliseum','Knoxville, TN','Thursday','7/25/2024','7:00 PM','5995733','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-7-25-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Charleston Coliseum & Convention Center - Charleston','Charleston, WV','Friday','7/26/2024','7:00 PM','5995734','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-7-26-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Everwise Amphitheater at White River State Park','Indianapolis, IN','Wednesday','7/31/2024','7:00 PM','5995735','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-7-31-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Van Andel Arena','Grand Rapids, MI','Thursday','8/1/2024','7:00 PM','5995736','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-8-1-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Huntington Center','Toledo, OH','Friday','8/2/2024','7:00 PM','5995737','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-8-2-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','The Pavilion at Toyota Music Factory','Irving, TX','Friday','8/9/2024','7:00 PM','5995739','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-8-9-2024']],'"Ashley Cooke"','https://www.ticketnetwork.com');