//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
| " +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
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,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Cole Swindell & Gabby Barrett','Michelob Ultra Summer Stage at Tags','Big Flats, NY','Friday','5/22/2026','6:00 PM','7808047','Cole-Swindell---Gabby-Barrett-5-22-2026'],['Cole Swindell','The Fruit Yard Amphitheater','Modesto, CA','Thursday','6/11/2026','7:00 PM','7804506','Cole-Swindell-6-11-2026'],['Country Summer Festival: Keith Urban & Cole Swindell - 3 Day Pass','Sonoma County Fairgrounds','Santa Rosa, CA','Friday','6/12/2026','TBD','7756896','Country-Summer-Festival--Keith-Urban---Cole-Swindell---3-Day-Pass-6-12-2026'],['Cole Swindell & Sadie Bass','Morgan County Fair Grandstand','Jacksonville, IL','Saturday','7/11/2026','7:30 PM','7777154','Cole-Swindell---Sadie-Bass-7-11-2026'],['Cole Swindell','The Sandbar At Red Rock Casino','Las Vegas, NV','Saturday','7/18/2026','8:00 PM','7704443','Cole-Swindell-7-18-2026'],['Cole Swindell','Pacific Amphitheatre','Costa Mesa, CA','Sunday','7/19/2026','7:30 PM','7708353','Cole-Swindell-7-19-2026'],['Night in the Country Music Festival: Shenandoah, Cole Swindell, & Jordan Davis - 3 Day Pass','Night in the Country Music Festival','Yerington, NV','Thursday','7/23/2026','TBD','7408860','Night-in-the-Country-Music-Festival--Shenandoah--Cole-Swindell----Jordan-Davis---3-Day-Pass-7-23-2026'],['Cole Swindell','Fantasy Springs Resort & Casino','Indio, CA','Saturday','7/25/2026','8:00 PM','7612988','Cole-Swindell-7-25-2026'],['Cole Swindell','Artpark Amphitheatre','Lewiston, NY','Thursday','7/30/2026','7:00 PM','7791622','Cole-Swindell-7-30-2026'],['Cole Swindell','Red Rocks Amphitheatre','Morrison, CO','Wednesday','9/9/2026','6:30 PM','7752483','Cole-Swindell-9-9-2026'],['Cole Swindell','Gerald R. Ford Amphitheater','Vail, CO','Thursday','9/10/2026','7:00 PM','7757277','Cole-Swindell-9-10-2026']],'Cole Swindell','http://www.ticketnetwork.com/ticket/Cole-Swindell-events.aspx');