//
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-01A
TN_Widget.CreateTable([['The Expendables','The Waiting Room Lounge - NE','Omaha, NE','Thursday','9/11/2025','8:00 PM','7194445','The-Expendables-9-11-2025'],['The Expendables','Wooly's','Des Moines, IA','Friday','9/12/2025','7:00 PM','7196056','The-Expendables-9-12-2025'],['Common Kings & The Expendables','Event Lawn at Virgin Hotels - Las Vegas','Las Vegas, NV','Friday','9/19/2025','8:00 PM','7137030','Common-Kings---The-Expendables-9-19-2025'],['The Expendables','The Commons Social Empourium','Chico, CA','Friday','10/3/2025','8:00 PM','7196057','The-Expendables-10-3-2025'],['The Expendables','Terra Fermata Tiki Bar ','Stuart, FL','Wednesday','11/12/2025','6:00 PM','7195469','The-Expendables-11-12-2025'],['The Expendables','The Ranch Concert Hall & Saloon','Fort Myers, FL','Thursday','11/13/2025','7:00 PM','7195470','The-Expendables-11-13-2025'],['The Expendables','Jannus Live','St. Petersburg, FL','Friday','11/14/2025','7:00 PM','7195468','The-Expendables-11-14-2025'],['The Expendables','Ventura Music Hall','Ventura, CA','Thursday','11/20/2025','8:00 PM','7194770','The-Expendables-11-20-2025'],['The Expendables','Music Box - San Diego','San Diego, CA','Friday','11/21/2025','9:00 PM','7262359','The-Expendables-11-21-2025'],['The Expendables','The Observatory - Santa Ana','Santa Ana, CA','Saturday','11/22/2025','8:00 PM','7338485','The-Expendables-11-22-2025'],['The Expendables','Pappy & Harriet's Pioneertown Palace - Indoor Stage','Pioneertown, CA','Sunday','11/23/2025','9:00 PM','7239570','The-Expendables-11-23-2025'],['The Expendables','Virginia Street Brewhouse - Reno','Reno, NV','Sunday','3/22/2026','8:00 PM','7194599','The-Expendables-3-22-2026']],'The Expendables','http://www.ticketnetwork.com/ticket/The-Expendables-events.aspx');