//
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-02A
TN_Widget.CreateTable([['Sullivan King','Echostage','Washington, DC','Thursday','1/30/2025','9:00 PM','6798713','Sullivan-King-1-30-2025'],['Alan Walker','Echostage','Washington, DC','Friday','1/31/2025','9:00 PM','6711194','Alan-Walker-1-31-2025'],['Alan Walker','Echostage','Washington, DC','Saturday','2/1/2025','9:00 PM','6712868','Alan-Walker-2-1-2025'],['Two Friends','Echostage','Washington, DC','Friday','2/7/2025','9:00 PM','6715729','Two-Friends-2-7-2025'],['Two Friends','Echostage','Washington, DC','Saturday','2/8/2025','9:00 PM','6715726','Two-Friends-2-8-2025'],['Gryffin','Echostage','Washington, DC','Friday','2/14/2025','10:00 PM','6863113','Gryffin-2-14-2025'],['Deathpact','Echostage','Washington, DC','Saturday','2/15/2025','9:00 PM','6823770','Deathpact-2-15-2025'],['Sultan and Shepard','Echostage','Washington, DC','Friday','2/21/2025','9:00 PM','6655478','Sultan-and-Shepard-2-21-2025'],['Apashe','Echostage','Washington, DC','Saturday','2/22/2025','9:00 PM','6754425','Apashe-2-22-2025'],['Eric Prydz','Echostage','Washington, DC','Friday','2/28/2025','10:00 PM','6863887','Eric-Prydz-2-28-2025'],['Knock2','Echostage','Washington, DC','Tuesday','3/4/2025','9:00 PM','6826893','Knock2-3-4-2025'],['Solomun','Echostage','Washington, DC','Friday','3/7/2025','10:00 PM','6889817','Solomun-3-7-2025'],['MARAUDA','Echostage','Washington, DC','Saturday','3/8/2025','10:00 PM','6935371','MARAUDA-3-8-2025'],['DJ Pauly D','Echostage','Washington, DC','Friday','3/14/2025','10:00 PM','6951938','DJ-Pauly-D-3-14-2025'],['Ben Bohmer','Echostage','Washington, DC','Friday','3/21/2025','9:00 PM','6764702','Ben-Bohmer-3-21-2025'],['Connor Price','Echostage','Washington, DC','Thursday','3/27/2025','8:00 PM','6858887','Connor-Price-3-27-2025'],['LSZEE: LSDREAM & CloZee - 2 Day Pass','Echostage','Washington, DC','Friday','3/28/2025','TBD','6823658','LSZEE--LSDREAM---CloZee---2-Day-Pass-3-28-2025'],['LSZEE: LSDREAM & CloZee','Echostage','Washington, DC','Friday','3/28/2025','9:00 PM','6818837','LSZEE--LSDREAM---CloZee-3-28-2025'],['LSZEE: LSDREAM & CloZee','Echostage','Washington, DC','Saturday','3/29/2025','9:00 PM','6818838','LSZEE--LSDREAM---CloZee-3-29-2025'],['Timmy Trumpet','Echostage','Washington, DC','Friday','4/4/2025','10:00 PM','6919838','Timmy-Trumpet-4-4-2025'],['KSHMR','Echostage','Washington, DC','Saturday','4/12/2025','9:00 PM','6953511','KSHMR-4-12-2025'],['DJ Habibeats','Echostage','Washington, DC','Saturday','4/26/2025','9:00 PM','6865378','DJ-Habibeats-4-26-2025'],['Elderbrook','Echostage','Washington, DC','Saturday','5/3/2025','9:00 PM','6827070','Elderbrook-5-3-2025'],['Kayzo','Echostage','Washington, DC','Saturday','5/10/2025','10:00 PM','6875855','Kayzo-5-10-2025'],['Smino','Echostage','Washington, DC','Wednesday','5/28/2025','8:00 PM','6875247','Smino-5-28-2025'],['Boogie T','Echostage','Washington, DC','Thursday','4/10/2070','TBD','4320168','Boogie-T-4-10-2070']],'Echo Stage','https://www.ticketnetwork.com/ticket/Echo-Stage-events.aspx');