//
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-04A
TN_Widget.CreateTable([['Porter Robinson','Echostage','Washington, DC','Saturday','12/27/2025','10:00 PM','7484145','Porter-Robinson-12-27-2025'],['Wooli','Echostage','Washington, DC','Sunday','12/28/2025','10:00 PM','7545660','Wooli-12-28-2025'],['Fisher - Artist','Echostage','Washington, DC','Monday','12/29/2025','9:00 PM','7480426','Fisher---Artist-12-29-2025'],['DJ Snake','Echostage','Washington, DC','Tuesday','12/30/2025','9:00 PM','7489981','DJ-Snake-12-30-2025'],['Mau P','Echostage','Washington, DC','Wednesday','12/31/2025','9:00 PM','7437373','Mau-P-12-31-2025'],['Zeds Dead','Echostage','Washington, DC','Friday','1/2/2026','10:00 PM','7570464','Zeds-Dead-1-2-2026'],['Zeds Dead','Echostage','Washington, DC','Saturday','1/3/2026','10:00 PM','7570453','Zeds-Dead-1-3-2026'],['Nora En Pure','Echostage','Washington, DC','Friday','1/9/2026','10:00 PM','7563288','Nora-En-Pure-1-9-2026'],['Reggaeton Rave','Echostage','Washington, DC','Saturday','1/10/2026','10:00 PM','7613767','Reggaeton-Rave-1-10-2026'],['Two Friends','Echostage','Washington, DC','Friday','1/30/2026','10:00 PM','7605808','Two-Friends-1-30-2026'],['Deadmau5','Echostage','Washington, DC','Saturday','2/7/2026','10:00 PM','7636088','Deadmau5-2-7-2026'],['Gryffin','Echostage','Washington, DC','Friday','2/13/2026','10:00 PM','7631130','Gryffin-2-13-2026'],['Alan Walker','Echostage','Washington, DC','Saturday','2/14/2026','10:00 PM','7629530','Alan-Walker-2-14-2026'],['Subtronics','Echostage','Washington, DC','Thursday','2/19/2026','9:00 PM','7493622','Subtronics-2-19-2026'],['Subtronics','Echostage','Washington, DC','Friday','2/20/2026','9:00 PM','7493623','Subtronics-2-20-2026'],['A Night of Amapiano','Echostage','Washington, DC','Saturday','2/21/2026','10:00 PM','7562430','A-Night-of-Amapiano-2-21-2026'],['INZO','Echostage','Washington, DC','Friday','2/27/2026','10:00 PM','7425488','INZO-2-27-2026'],['Sidepiece','Echostage','Washington, DC','Friday','3/6/2026','10:00 PM','7623300','Sidepiece-3-6-2026'],['Azyr & Fantasm','Echostage','Washington, DC','Saturday','3/14/2026','10:00 PM','7556778','Azyr---Fantasm-3-14-2026'],['Carl Cox','Echostage','Washington, DC','Friday','3/20/2026','10:00 PM','7620578','Carl-Cox-3-20-2026'],['Level Up & Zingara','Echostage','Washington, DC','Saturday','4/4/2026','10:00 PM','7431103','Level-Up---Zingara-4-4-2026'],['The Martinez Brothers','Echostage','Washington, DC','Friday','4/17/2026','10:00 PM','7570441','The-Martinez-Brothers-4-17-2026'],['Echo and the Bunnymen','House Of Blues - Cleveland','Cleveland, OH','Monday','6/15/2026','7:00 PM','7503531','Echo-and-the-Bunnymen-6-15-2026'],['Ship Wrek','Echostage','Washington, DC','Friday','2/7/2076','10:00 PM','7572726','Ship-Wrek-2-7-2076']],'Echo Stage','https://www.ticketnetwork.com/ticket/Echo-Stage-events.aspx');