//
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-03A
TN_Widget.CreateTable([['Alt Bloom','DC9 Nightclub','Washington, DC','Friday','2/28/2025','8:00 PM','6802283','Alt-Bloom-2-28-2025'],['Pertinence','DC9 Nightclub','Washington, DC','Thursday','3/13/2025','8:00 PM','6825413','Pertinence-3-13-2025'],['Orions Belte','DC9 Nightclub','Washington, DC','Friday','3/21/2025','7:30 PM','6734875','Orions-Belte-3-21-2025'],['Wheatus','DC9 Nightclub','Washington, DC','Monday','3/24/2025','8:00 PM','6855948','Wheatus-3-24-2025'],['Improvement Movement','DC9 Nightclub','Washington, DC','Monday','3/31/2025','8:00 PM','6980859','Improvement-Movement-3-31-2025'],['The Ghost Club & The Burkharts','DC9 Nightclub','Washington, DC','Saturday','4/5/2025','7:30 PM','6961575','The-Ghost-Club---The-Burkharts-4-5-2025'],['Chase Petra','DC9 Nightclub','Washington, DC','Wednesday','4/9/2025','8:00 PM','6864263','Chase-Petra-4-9-2025'],['Naked Giants','DC9 Nightclub','Washington, DC','Friday','4/11/2025','7:30 PM','6825333','Naked-Giants-4-11-2025'],['Gruff Rhys','DC9 Nightclub','Washington, DC','Saturday','4/12/2025','7:30 PM','6963207','Gruff-Rhys-4-12-2025'],['Teenage Dads','DC9 Nightclub','Washington, DC','Monday','4/14/2025','8:00 PM','6833897','Teenage-Dads-4-14-2025'],['Ider - Band','DC9 Nightclub','Washington, DC','Tuesday','4/22/2025','8:00 PM','6783187','Ider---Band-4-22-2025'],['Sofia Isella','DC9 Nightclub','Washington, DC','Saturday','4/26/2025','7:30 PM','6958036','Sofia-Isella-4-26-2025'],['Sir Woman','DC9 Nightclub','Washington, DC','Saturday','5/3/2025','7:00 PM','6839816','Sir-Woman-5-3-2025'],['Sir Woman','DC9 Nightclub','Washington, DC','Sunday','5/4/2025','7:00 PM','6839817','Sir-Woman-5-4-2025'],['Audrey Nuna','DC9 Nightclub','Washington, DC','Thursday','5/8/2025','8:00 PM','7008221','Audrey-Nuna-5-8-2025'],['L.A. Witch','DC9 Nightclub','Washington, DC','Monday','5/12/2025','8:00 PM','6987111','L-A--Witch-5-12-2025'],['Matthew Logan Vasquez','DC9 Nightclub','Washington, DC','Sunday','5/25/2025','8:00 PM','6774317','Matthew-Logan-Vasquez-5-25-2025'],['Winona Fighter','DC9 Nightclub','Washington, DC','Wednesday','7/9/2025','8:00 PM','6991478','Winona-Fighter-7-9-2025']],'DC9 Nightclub','https://www.ticketnetwork.com/ticket/DC9-Nightclub-events.aspx');