//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://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[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ 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-01A
TN_Widget.CreateTable([['Justin Moore','Joe's Live','Rosemont, IL','Friday','1/31/2025','8:00 PM','6840137','Justin-Moore-1-31-2025'],['Justin Moore & Joe Nichols','The Rave - Milwaukee','Milwaukee, WI','Saturday','2/1/2025','8:00 PM','6274407','Justin-Moore---Joe-Nichols-2-1-2025'],['Country Jam Naples: Justin Moore, Walker Montgomery & Jay Webb','Paradise Coast Sports Complex','Naples, FL','Saturday','3/1/2025','4:00 PM','6904262','Country-Jam-Naples--Justin-Moore--Walker-Montgomery---Jay-Webb-3-1-2025'],['Justin Moore','Hard Rock Live - Hard Rock Hotel & Casino Tulsa','Catoosa, OK','Thursday','3/6/2025','8:00 PM','6782360','Justin-Moore-3-6-2025'],['Justin Moore','Riverdome At Horseshoe Casino','Bossier City, LA','Saturday','3/8/2025','8:00 PM','6861300','Justin-Moore-3-8-2025'],['Justin Moore','Vilar Performing Arts Center','Avon, CO','Thursday','3/13/2025','7:00 PM','6883757','Justin-Moore-3-13-2025'],['Justin Moore','Inn Of The Mountain Gods Resort & Casino','Mescalero, NM','Saturday','3/15/2025','8:00 PM','6917118','Justin-Moore-3-15-2025'],['Justin Moore','Grand Sierra Theatre','Reno, NV','Thursday','3/20/2025','8:00 PM','6836106','Justin-Moore-3-20-2025'],['KSON CountryFest: Justin Moore, Nate Smith & Warren Zeiders','Petco Park','San Diego, CA','Saturday','3/22/2025','4:30 PM','6775364','KSON-CountryFest--Justin-Moore--Nate-Smith---Warren-Zeiders-3-22-2025'],['Country Thunder Arizona: Keith Urban, Justin Moore, Sara Evans & Dillon Carmichael - Friday','Country Thunder USA - AZ','Florence, AZ','Friday','4/11/2025','TBD','6815977','Country-Thunder-Arizona--Keith-Urban--Justin-Moore--Sara-Evans---Dillon-Carmichael---Friday-4-11-2025'],['Justin Moore','Union County Fair - OH','Marysville, OH','Friday','7/18/2025','3:30 PM','6887478','Justin-Moore-7-18-2025'],['Justin Moore','Bottle & Cork','Dewey Beach, DE','Friday','7/25/2025','8:00 PM','6952650','Justin-Moore-7-25-2025'],['Justin Moore','The Central Wisconsin State Fair','Marshfield, WI','Friday','8/22/2025','7:30 PM','6893870','Justin-Moore-8-22-2025']],'Justin Moore','https://www.ticketnetwork.com/ticket/Justin-Moore-events.aspx');