//
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([['Ron White','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','8/23/2025','8:00 PM','7153288','Ron-White-8-23-2025'],['Ron White','Prairie Band Casino & Resort','Mayetta, KS','Thursday','9/18/2025','7:00 PM','7230775','Ron-White-9-18-2025'],['Ron White','Clearwater River Casino','Lewiston, ID','Friday','9/19/2025','8:00 PM','7053751','Ron-White-9-19-2025'],['Ron White','Bellco Theatre','Denver, CO','Saturday','9/20/2025','8:00 PM','6959169','Ron-White-9-20-2025'],['Ron White','Hard Rock Live Northern Indiana','Gary, IN','Friday','9/26/2025','7:00 PM','7058057','Ron-White-9-26-2025'],['Ron White','Hard Rock Live - Rockford','Rockford, IL','Saturday','9/27/2025','5:00 PM','7057955','Ron-White-9-27-2025'],['Ron White','Hard Rock Live - Rockford','Rockford, IL','Saturday','9/27/2025','9:00 PM','7057956','Ron-White-9-27-2025'],['Ron White','Hard Rock Hotel & Casino Bristol','Bristol, VA','Friday','10/3/2025','8:00 PM','7058068','Ron-White-10-3-2025'],['Ron White','Hard Rock Cincinnati - Ballroom','Cincinnati, OH','Saturday','10/4/2025','7:00 PM','7057965','Ron-White-10-4-2025'],['Ron White','Hard Rock Cincinnati - Ballroom','Cincinnati, OH','Saturday','10/4/2025','10:00 PM','7057967','Ron-White-10-4-2025'],['Ron White','Seneca Allegany Events Center At Seneca Allegany Resort & Casino','Salamanca, NY','Friday','11/7/2025','8:00 PM','7057963','Ron-White-11-7-2025'],['Ron White','Borgata Event Center','Atlantic City, NJ','Friday','11/21/2025','8:00 PM','7058061','Ron-White-11-21-2025'],['Ron White','The Pantheon at Caesars Virginia','Danville, VA','Saturday','11/22/2025','8:00 PM','7057966','Ron-White-11-22-2025'],['Ron White','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','12/6/2025','9:00 PM','7153289','Ron-White-12-6-2025']],'Ron White','https://www.ticketnetwork.com/ticket/Ron-White-events.aspx');