//
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-03A
TN_Widget.CreateTable([['Dustin Lynch','Red Rocks Amphitheatre','Morrison, CO','Wednesday','4/16/2025','7:00 PM','6612492','Dustin-Lynch-4-16-2025'],['Winstock Country Music Festival: Jordan Davis, Thomas Rhett, Scotty McCreery & Dustin Lynch - 2 Day Pass','Winstock Music Festival Grounds','Winsted, MN','Friday','6/20/2025','TBD','6722148','Winstock-Country-Music-Festival--Jordan-Davis--Thomas-Rhett--Scotty-McCreery---Dustin-Lynch---2-Day-Pass-6-20-2025'],['Dustin Lynch','Preservation Plaza at Arnolds Park Amusement Park','Arnolds Park, IA','Friday','6/20/2025','7:30 PM','6874399','Dustin-Lynch-6-20-2025'],['Country Summer Music Festival: Sam Hunt, Kane Brown & Dustin Lynch - 3 Day Pass','Sonoma County Fairgrounds','Santa Rosa, CA','Friday','6/27/2025','TBD','6845899','Country-Summer-Music-Festival--Sam-Hunt--Kane-Brown---Dustin-Lynch---3-Day-Pass-6-27-2025'],['Country Summer Music Festival: Dustin Lynch - Sunday','Sonoma County Fairgrounds','Santa Rosa, CA','Sunday','6/29/2025','12:00 PM','6845898','Country-Summer-Music-Festival--Dustin-Lynch---Sunday-6-29-2025'],['The Madison Regatta and Roostertail Music Festival: Dustin Lynch - Saturday','Madison Regatta','Madison, IN','Saturday','7/5/2025','TBD','6904257','The-Madison-Regatta-and-Roostertail-Music-Festival--Dustin-Lynch---Saturday-7-5-2025'],['Dustin Lynch','Morgan County Fair Grandstand','Jacksonville, IL','Friday','7/11/2025','7:30 PM','6944244','Dustin-Lynch-7-11-2025'],['County Line Country Fest: Dustin Lynch, Russell Dickerson & Craig Morgan - 3 Day Pass','Country on the River Festival Grounds','Prairie Du Chien, WI','Thursday','7/31/2025','TBD','6824673','County-Line-Country-Fest--Dustin-Lynch--Russell-Dickerson---Craig-Morgan---3-Day-Pass-7-31-2025'],['XRoads41: Cody Johnson, Kane Brown & Parker McCollum - 3 Day Pass','XRoads41 Festival Grounds','Oshkosh, WI','Thursday','8/7/2025','TBD','6852739','XRoads41--Cody-Johnson--Kane-Brown---Parker-McCollum---3-Day-Pass-8-7-2025'],['Dustin Lynch','Brown County Fairgrounds - SD','Aberdeen, SD','Saturday','8/16/2025','TBD','6887509','Dustin-Lynch-8-16-2025'],['Dustin Lynch','Champlain Valley Expo','Essex Junction, VT','Saturday','8/30/2025','7:00 PM','6927414','Dustin-Lynch-8-30-2025']],'Dustin Lynch','http://www.ticketnetwork.com/ticket/Dustin-Lynch-events.aspx');