// 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 dateArray = row[4].split('/'); var date = months[dateArray[0]] + " " + dateArray[1]; var parking = row[0].split(':')[0] if (parking !== "PARKING") { return "
" + row[3].substring(0,3) + "
" + date + "" + row[5] + "
" + row[0] + "" + row[1] + ", " + row[2] + "
"; } }, 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 newResults = []; for(var cntr = 0; cntr < eventData.length; cntr++) newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '
' + newResults.join('') + '
'; } else document.write('
' + newResults.join('') + '
'); if(eventData.length >= 101 && kwds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kwds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kwds + " on TicketNetwork.com
"); } } } }; }(); //BPW-TNSERV-02A TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css'); TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css'); TN_Widget.CreateTable([['Field of Dreamz Country Classic Music Festival: Cole Swindell & Brantley Gilbert - 2 Day Pass','Charlotte County Fairgrounds','Port Charlotte, FL','Friday','11/15/2024','TBD','6456673','Field-of-Dreamz-Country-Classic-Music-Festival--Cole-Swindell---Brantley-Gilbert---2-Day-Pass-11-15-2024'],['The Big 98's Friendsgiving: Cole Swindell, Bailey Zimmerman, & Tucker Wetmore','Grand Ole Opry House','Nashville, TN','Monday','11/25/2024','7:30 PM','6777119','The-Big-98-s-Friendsgiving--Cole-Swindell--Bailey-Zimmerman----Tucker-Wetmore-11-25-2024'],['Cole Swindell','7 Clans First Council Casino & Hotel','Newkirk, OK','Friday','12/6/2024','8:00 PM','6706416','Cole-Swindell-12-6-2024'],['Cole Swindell','Choctaw Casino & Resort - Durant','Durant, OK','Saturday','12/7/2024','8:00 PM','6670553','Cole-Swindell-12-7-2024'],['Country Stampede: Cole Swindell - Saturday','Azura Amphitheater','Bonner Springs, KS','Saturday','6/28/2025','2:30 PM','6721129','Country-Stampede--Cole-Swindell---Saturday-6-28-2025'],['ND Country Fest: Sam Hunt, Cole Swindell, Gary Allan & Sara Evans - 4 Day Pass','Morton County Fairgrounds','New Salem, ND','Wednesday','7/9/2025','TBD','6710502','ND-Country-Fest--Sam-Hunt--Cole-Swindell--Gary-Allan---Sara-Evans---4-Day-Pass-7-9-2025']],'Cole Swindell','http://www.ticketnetwork.com/en/search/?text=Cole Swindell');